Skip to content

Commit

Permalink
Add fake method to test Travis doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Jul 13, 2018
1 parent dd5ffb5 commit 8d6f3bb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/server/auto_generated/qgsserverrequest.sip.in
Expand Up @@ -68,6 +68,8 @@ Constructor
:return: the request method
%End

bool fake();

QgsServerRequest::Parameters parameters() const;
%Docstring
Returns a map of query parameters with keys converted
Expand Down
2 changes: 2 additions & 0 deletions src/server/qgsserverrequest.h
Expand Up @@ -90,6 +90,8 @@ class SERVER_EXPORT QgsServerRequest
*/
QgsServerRequest::Method method() const;

bool fake() { return true; }

/**
* Returns a map of query parameters with keys converted
* to uppercase
Expand Down
2 changes: 2 additions & 0 deletions src/server/services/wfs/qgswfsparameters.h
Expand Up @@ -117,6 +117,8 @@ namespace QgsWfs
*/
QString version() const;

bool fake() { return true; }

/**
* Returns VERSION parameter if defined or its default value.
* \returns version
Expand Down
2 changes: 2 additions & 0 deletions src/server/services/wms/qgswmsparameters.h
Expand Up @@ -224,6 +224,8 @@ namespace QgsWms
*/
int heightAsInt() const;

bool fake() { return true; }

/**
* Returns VERSION parameter as a string or an empty string if not
* defined.
Expand Down

0 comments on commit 8d6f3bb

Please sign in to comment.