1472 Commits

Author SHA1 Message Date
Nyall Dawson
ce0eb2b69e Cleanup QgsVectorLayer tests 2015-08-08 15:54:15 +10:00
Nyall Dawson
013e1da783 Tests and doxygen for QgsDataDefined 2015-08-07 09:05:47 +10:00
Chris Crook
dc2de774c2 Removing unnecessary restriction on field names 2015-08-07 09:06:31 +12:00
Alessandro Pasotti
c4ea8de5ed Merge pull request #2236 from elpaso/sip-server-filters-bindings
[server] Sip server filters new bindings
2015-08-06 21:05:31 +02:00
elpaso
e930d696fa [server] setFilters implementation, bindings and test
* moved type conversion to conversions.sip (template)
* added setFilters() to QgsServerInterface
* added tests
2015-08-06 17:51:26 +02:00
Nyall Dawson
be411e110b Add some unit tests for color ramps 2015-08-05 14:46:53 +10:00
elpaso
230196071a Added TypeHeaderCode for QgsServerFiltersMap 2015-08-04 20:55:42 +02:00
Matthias Kuhn
cf2f6b17fa Alias without pending prefix for QgsVectorLayer methods
* pendingAllAttributesList -> attributeList
 * pendingPkAttributesList -> pkAttributeList
 * pendingFeatureCount -> featureCount

featureCount will now always return the features on the layer and NOT the
committed features count as before.
This changes its behavior but this way it is coherent with the other methods
which work on the layer.
2015-08-04 15:13:31 +02:00
Matthias Kuhn
e832b2a28a Add QgsVectorLayer::fields() as alias to pendingFields()
pendingFields() is not very intuitive and leads to confusion for new developers.
2015-08-04 15:13:31 +02:00
Nyall Dawson
47e3e20e28 Boost QgsFeature test coverage to 100% 2015-08-03 16:02:40 +10:00
Nyall Dawson
d107603f35 Expand QgsField/QgsFields tests 2015-08-02 06:29:38 +10:00
Nyall Dawson
4774c87d03 Switch doxygen coverage test to check count of undocumented members
The previous check (% of documented members) set the bar too low
(~60%). Now no members/classes can be introduced without full
documentation.
2015-08-01 17:07:39 +10:00
Matthias Kuhn
7573078e2e Add boolean node literal to expressions 2015-07-29 12:09:44 +02:00
Matthias Kuhn
5be0ee734f Remove QgsFeatureRequest::FilterRect from providers/iterators 2015-07-29 12:09:44 +02:00
Juergen E. Fischer
9752c468c1 indentation update 2015-07-29 11:52:14 +02:00
mhugent
76a6b4f1fc Merge pull request #2223 from mhugent/measurement_from_geometry
Measurement from geometry
2015-07-29 11:43:00 +02:00
Marco Hugentobler
86329f0170 Change expected behaviour in test_qgsdistancearea.py to also consider inner rings for perimeter calculation 2015-07-29 11:02:10 +02:00
Matthias Kuhn
e2319fd1f5 Fix alloc-dealloc-mismatch 2015-07-27 15:58:10 +02:00
Matthias Kuhn
d01424ae4b Add QgsRelation::getReferencedFeature to access parent feature 2015-07-24 18:57:24 +02:00
Juergen E. Fischer
460a60556f fix windows build 2015-07-24 02:22:58 +02:00
Radim Blazek
9dcb2a1260 [GRASS] GRASS 7 plugin enabled 2015-07-23 20:58:26 +02:00
Nyall Dawson
a1a8d1b7a3 Fix 'nan'='nan' evaluates to false in expressions
Also fix 'nan' and 'inf' being treated as doubles rather than
strings.
2015-07-22 16:15:48 +10:00
Matthias Kuhn
a37b3e27d5 Remove executable flag on a bunch of files 2015-07-20 15:45:44 +02:00
Nyall Dawson
323fa2ce50 Fix doxygen warnings, bump acceptable doc coverage 2015-07-20 06:24:58 +10:00
Juergen E. Fischer
0f396f3bd4 fix grass test on windows 2015-07-18 20:05:44 +02:00
Juergen E. Fischer
3acabad3a1 fix PyQgsServer test in nightlies 2015-07-18 16:56:26 +02:00
Juergen E. Fischer
789da22478 don't buffer python and grass tests output in variables 2015-07-18 15:32:37 +02:00
Juergen E. Fischer
4d681f03c6 Fix test failures on windows 2015-07-17 12:22:02 +02:00
Nyall Dawson
cc1a34fcea Guard against some crashes in geometry 2015-07-16 16:00:46 +10:00
Nyall Dawson
daa4d6a8fc Add test for handling invalid WKT with z values (refs #13055) 2015-07-16 13:47:26 +10:00
Nyall Dawson
63e18501a5 Try to make raster calc test more reliable 2015-07-13 19:11:04 +10:00
Matthias Kuhn
c6f7873585 Add QgsAttributes::operator== that takes care of NULL variants 2015-07-13 09:48:12 +02:00
Matthias Kuhn
160d1bf7f8 Add test to check if QgsFeature.setAttributes handles 0 vs NULL correctly
Currently failing
2015-07-13 09:48:12 +02:00
Juergen E. Fischer
b4c6023d9b let first test truncate qgistest.html 2015-07-13 00:40:30 +02:00
Nyall Dawson
f9917b55c3 Remove expected failure from shapefile provider unique values test
Failure was caused by GDAL bug #6020, which has now been fixed
in GDAL. It turns out the values are only incorrect if the first
feature in the file has a null value, so I've rearranged the
features in the reference shapefile to avoid this.
2015-07-12 19:55:54 +10:00
Nyall Dawson
8e12578028 Fix two minor Coverity uninitialized member warnings 2015-07-12 19:41:21 +10:00
elpaso
c126592272 Clear the request handler when done
also added some comments and docs strings
2015-07-10 12:03:55 +02:00
Nyall Dawson
368eaa258b Add support to generate_test_mask_image for mismatched sizes,
add masks for legend renderer tests
2015-07-10 18:09:28 +10:00
Nyall Dawson
405688ea49 [tests] Add method for setting size tolerance to render checker,
add some size tolerance to legend renderer test
2015-07-10 16:52:52 +10:00
mhugent
736f1c4fa0 Merge pull request #2200 from mhugent/server_content_disposition
Server content disposition
2015-07-08 09:33:55 +02:00
Juergen E. Fischer
fa464111c8 fix grass tests on windows 2015-07-07 23:26:44 +02:00
Juergen E. Fischer
92af85b7a2 coverity fixes 2015-07-07 20:16:26 +02:00
Marco Hugentobler
f0835ec3e5 Change order of headers in server tests 2015-07-07 17:20:27 +02:00
Nyall Dawson
8e488caa23 Update test mask image for Windows 2015-07-06 20:13:04 +10:00
Nyall Dawson
5d1306b990 Fix encoding warnings on Windows 2015-07-06 20:12:39 +10:00
Nyall Dawson
ee6a924387 More Win test mask updates 2015-07-06 08:29:50 +10:00
Juergen E. Fischer
12b7831175 remove unused iostream header 2015-07-05 16:51:29 +02:00
Juergen E. Fischer
83bb33cad5 cleanup composer test map settings 2015-07-05 11:20:13 +02:00
Juergen E. Fischer
3856ccf2f8 another round of coverity and cppcheck fixes 2015-07-05 04:26:40 +02:00
Juergen E. Fischer
5b54e260d4 various windows test fixes:
* .gitignore sort and remove duplicates
* show more warnings in tests
* add/update masks for rendering checks on windows
* fix delimited text provider tests
* disable QgsLogger and QgsPalLabelingServer on windows
2015-07-05 03:45:01 +02:00