Add fake method to test Travis doc

This commit is contained in:
Blottiere Paul 2018-07-08 11:44:14 +01:00
parent dd5ffb5cbc
commit 8d6f3bb2e3
4 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -117,6 +117,8 @@ namespace QgsWfs
*/
QString version() const;
bool fake() { return true; }
/**
* Returns VERSION parameter if defined or its default value.
* \returns version

View File

@ -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.