22 Commits

Author SHA1 Message Date
Blottiere Paul
414f4fac3a Remove empty MetadataURL tag for unit tests 2018-04-13 14:36:31 +01:00
Alessandro Pasotti
a117b6b9ea [layout][server] Update tests and mask images 2018-01-10 21:25:24 +01:00
Blottiere Paul
4aa97d865d Add a test 2017-11-27 09:15:57 +00:00
Blottiere Paul
9283b26762 Update tests 2017-11-16 08:40:45 +00:00
Blottiere Paul
f52300d361 Update tests 2017-11-16 08:04:03 +00:00
Blottiere Paul
1c9f9df0ea Add test 2017-10-26 14:27:05 +01:00
rldhont
dc6bdc2919 [Server][Tests] Fix WMS tests locally 2017-10-19 14:48:48 +02:00
Stéphane Brunner
9d9e94e6b9 Fix the mandatory OnlineResource 2017-06-09 13:32:47 +02:00
rldhont
27a9053490 [Server] WMS GetCapabilities refactoring - Part 1
Part 1 for removing QgsWMSProjectParser from GetCapabilities
2017-04-25 14:11:36 +02:00
Alessandro Pasotti
d3453063ea [server] Tests housekeeping and improved robustness
* There is now a new common base class for QGIS Server testing
* WMS tests have been moved into their own class
* Added tests for onlineResource URL in query string
2017-04-24 14:28:52 +02:00
Marco Hugentobler
e6d4010eb6 Adapt expected capabilities / project settings response in server test for WMS 1.3.0 compliance 2016-12-01 10:30:04 +01:00
Alessandro Pasotti
49ae0206f4 [Server 3.0] Tests reliability + new auth test
- Local server searches for a free port before binding
- Server tests now ignore attributes order
- Updated reference docs
- Renamed projects ("+" -> "_")
- Added a smoke test for auth manager and WMS/WFS providers
2016-09-29 11:47:32 +02:00
Alessandro Pasotti
76d1e8a8ea [Server 3.0] migrate more tests 2016-09-26 19:32:14 +02:00
Matthias Kuhn
bb79d13e82 Remove deprecated Qgis::WKBType and API cleanup (#3325)
* Remove deprecated Qgis::WKBType and API cleanup

Renames QgsWKBTypes to QgsWkbTypes

Replaces usage of the enums:

* Qgis::WKBType with QgsWkbTypes::Type
* Qgis::GeometryType with QgsWkbTypes::GeometryType

Their values should be forward compatible (a fact that was already
explited up to now by casting between the types)

Renames some SSLxxx to SslXxx and URIxxx to UriXxx

* Fix build warnings and simplify type handling

* Add a fixer to rewrite imports

* The forgotten rebase conflictThe forgotten rebase conflicts

* QgsDataSourcURI > QgsDataSourceUri

* QgsWKBTypes > QgsWkbTypes

* Qgis.WKBGeom > QgsWkbTypes.Geom

* Further python fixes

* Guess what... Qgis::wkbDimensions != QgsWkbTypes::wkbDimensions

* Fix tests

* Python 3 updates

* [travis] pull request caching cannot be disabled

so at least use it in r/w mode

* Fix python3 print in plugins
2016-08-04 09:10:08 +02:00
Nyall Dawson
0780527428 Fix PyQgsServer test on GDAL >= 2.0
Also fix handling of longlong types in wfs_describefeaturetype
2016-03-03 14:06:07 +11:00
rldhont
a32587bcd1 [FEATURE][QGIS Server] Add short name to layers, groups and project
A number of elements have both a <Name> and a <Title>. The Name is a text string used for machine-to-machine
communication while the Title is for the benefit of humans. For example, a dataset might have the descriptive Title
“Maximum Atmospheric Temperature” and be requested using the abbreviated Name “ATMAX”.

User can already set title for layers, groups and project. OWS name is based on the name used in layer tree. This name is more a label for humans than a name for machine-to-machine communication.

To add the capability to users to define Name as a text string for machine-to-machine communication, this pull-request adds:
* short name line edits to layers properties
* WMS data dialog to layer tree group (short name, title, abstract)
* short name line edits to project properties
* add a regexp validator "^[A-Za-z][A-Za-z0-9\._-]*" to short name line edit accessible through a static method
* add a TreeName element in the fullProjectSettings

If a short name has been set for layers, groups and project it is used by QGIS Sever as the layer name.
2015-12-23 10:03:04 +01:00
rldhont
5473c3394f [QGIS-Server] Help editing OWS Server general information
Fees and access constraints have a defined list of value by ISO. To help user editing these parameters, edit lines have been remplaced by editable combo box.

To enhance general information and has more INSPIRE compatibility, contact position is added to general information.
2015-11-28 15:47:40 +01:00
rldhont
a9e567060d [QGIS-Server] Test: more ISO compatibility for WxS capabilities 2015-11-02 22:24:42 +01:00
Juergen E. Fischer
3acabad3a1 fix PyQgsServer test in nightlies 2015-07-18 16:56:26 +02:00
Marco Hugentobler
f0835ec3e5 Change order of headers in server tests 2015-07-07 17:20:27 +02:00
elpaso
11a7522d9f Fixed PyQgsServer tests.
Still disabled in Travis because of random failures
2015-07-03 09:04:47 +02:00
elpaso
00fa63618b [SERVER] Server refactoring and Python bindings/tests
This is a refactoring of the server component, the
server is now wrapped into a new QgsServer class with
python bindings and an examples python test.
2015-06-29 12:49:43 +02:00