Skip to content

Commit 60e9b26

Browse files
committedDec 16, 2017
fix sipify test
1 parent f811d81 commit 60e9b26

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed
 

‎tests/code_layout/sipifyheader.expected.sip

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,10 @@ A multiline method signature
147147
virtual QgsMapLayerRenderer *createMapRenderer( QgsRenderContext &rendererContext ) /Factory/;
148148
%Docstring
149149
Factory annotation
150-
151-
:rtype: QgsMapLayerRenderer
152150
%End
153151

154152
SomeObject *createAnother() /Factory/;
155153
%Docstring
156-
157-
:rtype: SomeObject
158154
%End
159155

160156
virtual SomeObject *createAnother2() /Factory/;
@@ -178,14 +174,10 @@ Here's some comment mentioning another class QgsAutoAwesomemater.makeLessAwesome
178174
I return a pointer. If something bad happens, I return None.
179175

180176
:return: pointer to something cool
181-
:rtype: MyPointer
182-
183177
%End
184178

185179
bool isOKwithErrMesg( QString &ErrMsg /Out/ );
186180
%Docstring
187-
188-
:rtype: bool
189181
%End
190182

191183
void InOutParam( bool &ok = true /In,Out/ );
@@ -203,14 +195,10 @@ complex default value and type (i.e. containing commas) should be given as a str
203195

204196
int inlineKeyWordShouldNotAppear();
205197
%Docstring
206-
207-
:rtype: int
208198
%End
209199

210200
QString labelForRange( double lower, double upper ) const /PyName=labelForLowerUpper/;
211201
%Docstring
212-
213-
:rtype: str
214202
%End
215203

216204
void setComposition( QgsComposition *c /KeepReference/ );
@@ -219,8 +207,6 @@ complex default value and type (i.e. containing commas) should be given as a str
219207

220208
bool removeFunctionBody( const QList<int, QString> &list, QgsVectorLayer *vl, Some::Thing _part = -1 /*default =-1*/ );
221209
%Docstring
222-
223-
:rtype: bool
224210
%End
225211

226212

@@ -232,22 +218,16 @@ complex default value and type (i.e. containing commas) should be given as a str
232218
QgsRaster::RasterBuildPyramids buildPyramidsFlag() const;
233219
%Docstring
234220
Removing function body with namespaced return value
235-
236-
:rtype: QgsRaster.RasterBuildPyramids
237221
%End
238222

239223
virtual const QgsLayerMetadata &metadata() const;
240224
%Docstring
241225
Removing function body with virtual const reference
242-
243-
:rtype: QgsLayerMetadata
244226
%End
245227

246228
bool myMultiLineBody();
247229
%Docstring
248230
Mulitline body
249-
250-
:rtype: bool
251231
%End
252232

253233

@@ -261,46 +241,32 @@ Mulitline body
261241

262242
QString returnTypeString() const;
263243
%Docstring
264-
265-
:rtype: str
266244
%End
267245

268246
double returnTypeDouble() const;
269247
%Docstring
270-
271-
:rtype: float
272248
%End
273249

274250
QList< QgsAnnotation * > returnTypeList();
275251
%Docstring
276-
277-
:rtype: list of QgsAnnotation
278252
%End
279253

280254
QVector< QgsAnnotation > returnTypeVector();
281255
%Docstring
282-
283-
:rtype: list of QgsAnnotation
284256
%End
285257

286258
QStringList returnTypeStringList();
287259
%Docstring
288-
289-
:rtype: list of str
290260
%End
291261

292262
QSet<QgsActionScope> returnTypeSet();
293263
%Docstring
294-
295-
:rtype: set of QgsActionScope
296264
%End
297265

298266
This<Member> shouldBeIncluded;
299267

300268
static QString invokableMethod();
301269
%Docstring
302-
303-
:rtype: str
304270
%End
305271

306272
bool initializedMember;
@@ -311,8 +277,6 @@ Mulitline body
311277

312278
bool isValid( const QgsAbstractGeometry *geom ) const;
313279
%Docstring
314-
315-
:rtype: bool
316280
%End
317281

318282
int part;
@@ -362,8 +326,6 @@ remove argument
362326
protected:
363327
bool thisShouldBeListed();
364328
%Docstring
365-
366-
:rtype: bool
367329
%End
368330

369331

0 commit comments

Comments
 (0)
Please sign in to comment.