1560 Commits

Author SHA1 Message Date
Juergen E. Fischer
5cc5ffc50a fix composer picture test on windows 2015-07-01 18:39:40 +02:00
Juergen E. Fischer
d429f195b6 Some fixes to the tests on windows:
* defer initialization of map settings until after QgsApplication is initialized
* disable local server test
* set ogr encoding in qgsserver testproject.qgs
2015-07-01 18:09:30 +02:00
Juergen E. Fischer
b847a069a4 avoid modifying test data 2015-07-01 11:04:17 +02:00
Juergen E. Fischer
984f03f499 restore points files 2015-07-01 10:57:54 +02:00
Juergen E. Fischer
571752290d fix TestQgsProject 2015-07-01 10:21:38 +02:00
Juergen E. Fischer
e2e7e365e2 fix testqgis 2015-07-01 09:46:33 +02:00
Juergen E. Fischer
ac3d8f5cee fix PyQgsServer test 2015-06-30 22:16:40 +02:00
Nyall Dawson
94a61c7d3c Labeling test mask updates for OSX 2015-06-30 21:30:41 +10:00
Nyall Dawson
96b66ddf97 Make paint effect test pass on OSX by explicitly setting dpi 2015-06-30 20:48:19 +10:00
Nyall Dawson
5b97b7e318 Fixes for composer map grid test 2015-06-30 20:22:55 +10:00
Nyall Dawson
6e6cb6607d Tweak raster calc test 2015-06-30 20:19:19 +10:00
Hugo Mercier
bb6bff0bca Merge pull request #2183 from mhugo/master
Add unit test for QgsLayerTreeModel::setLegendFilterByMap()
2015-06-30 11:27:19 +02:00
Hugo Mercier
a9c63968bf Add unit test for QgsLayerTreeModel::setLegendFilterByMap() 2015-06-30 10:39:36 +02:00
Nyall Dawson
1b6395e082 Test mask updates for OSX 2015-06-30 08:24:18 +10:00
elpaso
df082814e2 Fixed test: added regexp to strip content length 2015-06-29 12:49:43 +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
Martin Dobias
11d1ac9540 Try to do automatic choice of the reference layer in GUI (using smallest cell area) 2015-06-29 10:25:47 +08:00
Martin Dobias
fcc0160755 Fix type of CRS WKT (use just QString instead of both QString and QByteArray) 2015-06-29 10:25:47 +08:00
Martin Dobias
06b4ad8512 Allow for custom setting of cell size / grid offset in GUI 2015-06-29 10:25:47 +08:00
Martin Dobias
b452bc0245 Support reprojection in GUI, added unit tests for reprojection 2015-06-29 10:25:47 +08:00
Martin Dobias
d7a9493445 Add error messages, fix reporting of grid offset 2015-06-29 10:25:46 +08:00
Martin Dobias
1409f08576 [FEATURE] Raster Alignment Tool
This new tool in qgis_analysis library is able to take several rasters
as input and to align them perfectly, that means:
- reproject to the same CRS
- resample to the same cell size and offset in the grid
- clip to a region of interest
- rescale values when required
2015-06-29 10:25:46 +08:00
Nyall Dawson
4ebf0875d0 Update test masks 2015-06-28 16:52:33 +10:00
Nyall Dawson
feb3bee858 Add a bunch of optimised fuzzy string matching algorithms.
A new QgsStringUtils class has been added containing some
common fuzzy matching algorithms, including Levenshtein edit
distance and Soundex. These can be used for finding "similar"
strings in a table.

Expression functions for these algorithms have also been
added to a new "Fuzzy Matching" group.
2015-06-27 11:51:56 +10:00
Matthias Kuhn
72a93b2f0d [CTest] Fix failing server tests
Followup 7ce4edf1
2015-06-26 04:00:56 +02:00
Nyall Dawson
ab55126902 Test mask updates 2015-06-26 10:32:22 +10:00
Jürgen Fischer
6e3a1fa057 Merge pull request #2118 from jef-n/postgres-like-concat
expressions: let concat handle NULL like empty string (like in postgres; fixes #1927)
2015-06-26 01:14:20 +02:00
Matthias Kuhn
7ce4edf13e [CTest] Enable individual tests depending on appropriate cmake options 2015-06-25 13:45:43 +02:00
vmora
61fbe1c602 fix NULL field in size expression beeing drawn
the expression generated by the assistant was causing symbol with size
expr evaluated to NULL to be drawn with default size, wich is not what
the default should be.

The generated size expression is now composed with coalesce(...,0)
so the symbol is not drawn when the size expression is NULL

The expression is still recognized without the coalesce to allow the
legend to be drawn even in the absence of coalesce: this can be used
to have the default size for NULL expression and use a conditional expr
fro color to highlight symbols where value is NULL.
2015-06-24 20:23:47 +10:00
Nyall Dawson
16cab9fcf9 Add tests for line placement of labels 2015-06-24 17:11:45 +10:00
Nyall Dawson
d4b659ebd3 Label tests for buffer and shadow 2015-06-24 17:11:45 +10:00
Nyall Dawson
d0a624dfec More test mask updates 2015-06-23 21:38:56 +10:00
Nyall Dawson
99150dd39e Add delimited provider to common provider tests, fix records missing
from delimited layers when geometry was null.
2015-06-23 16:35:42 +10:00
Nyall Dawson
89af061d5c Add memory provider to common provider tests 2015-06-23 16:35:21 +10:00
Nyall Dawson
0728155b1f Some test masks for OSX 2015-06-23 16:35:04 +10:00
Nyall Dawson
c855e98333 Explicitly set dpi for test images, should help tests pass on OSX 2015-06-23 16:34:57 +10:00
Martin Dobias
f29b55a08c Fix regression with snapping on intersection (fixes #13020) 2015-06-23 10:57:35 +08:00
Nyall Dawson
32c098d4dd More updated test mask images - moar green!! 2015-06-19 22:11:48 +10:00
Nyall Dawson
e108febb5e Clean up diagram tests
- Consolidate tests to single file
- Don't use composition for testing
2015-06-18 21:03:42 +10:00
Martin Dobias
be031c451d Fix snapping test failing on 32-bit platforms (hopefully)
The discrepancy between the results seems to come from floating point
arithmetics (-mfpmath option in GCC) which defaults to different values:
- '387' for i386
- 'sse' for x86-64

The 387 coprocessor temporarily uses 80-bit precision
so the results of arithmetic operations may be a bit different
2015-06-18 15:35:06 +08:00
Nyall Dawson
75b1309921 More test mask images 2015-06-18 16:25:42 +10:00
Nyall Dawson
075d6f2ad5 Handled malformed xml generated by Doxygen for QgsDocCoverage test 2015-06-18 16:25:42 +10:00
Nyall Dawson
6deb520ff1 Make raster blend modes tests more robust 2015-06-18 16:25:42 +10:00
Nyall Dawson
b561c6bc0b More mask images for labeling tests 2015-06-17 19:26:22 +10:00
Matthias Kuhn
3dbe7f5e0c Decouple composer table tests 2015-06-17 09:29:30 +02:00
Matthias Kuhn
fb7d0d2e18 Fix some tests on Fedora 2015-06-17 09:29:29 +02:00
Matthias Kuhn
8342739b37 Expressions: preserve brackets for right-associative operators
Fixes #11475
2015-06-16 19:46:26 +02:00
Denis Rouzaud
a518e9f639 [fix #11475] expressions: add left and right associavity for dump of binary operators
complete test for left associativity
2015-06-16 19:07:45 +02:00
Matthias Kuhn
0bf1135244 Fix QgsExpression::dump() for functions without params and for "NOT IN"
And add tests to check if dump() creates an expression that produces the same
result as the original expression.
2015-06-16 18:58:39 +02:00
Matthias Kuhn
3d5de9ee25 Be more verbose with debug info on travis 2015-06-16 14:35:11 +02:00