786 Commits

Author SHA1 Message Date
Radim Blazek
9ebf1feea1 add OS X specific lib to app tests, hopefully fixes #8577 2013-09-05 20:34:50 +02:00
Juergen E. Fischer
2c2d6757dd temporary fix for #8575 (building app as DLL is more involved and requires a CORE/GUI/APP_EXPORT macro dance...) 2013-09-05 14:36:35 +02:00
Juergen E. Fischer
618b58b05d fix atlas composition warnings with msvc 64bit 2013-09-05 14:17:07 +02:00
Paolo Cavallini
135ef36569 Merge pull request #665 from Oslandia/overview_centering
[2.1] Overview centering
2013-09-05 02:22:42 -07:00
Radim Blazek
250df51994 copy/paste as test unit 2013-09-05 09:22:06 +02:00
Juergen E. Fischer
668a44f81a indentation update 2013-09-03 21:59:14 +02:00
Larry Shaffer
ff05ee0693 [tests] Add preconfigured project to test local server connection 2013-09-02 10:57:54 -06:00
Larry Shaffer
d8b05c241a [tests] Add support for locally spawned fcgi process
- No building of spawn-fcgi or managing of spawned process, yet
2013-09-02 02:46:35 -06:00
Juergen E. Fischer
bb798b4ab3 speedup creation of spatialite database in tests 2013-08-25 16:54:27 +02:00
Juergen E. Fischer
8ea742ae8d remove line decoration symbol layer test (followup aaef9478) 2013-08-25 10:03:48 +02:00
Larry Shaffer
287e0a04a9 [labeling] Add local preconfigured test server unit tests class
- Add control images for server output
- Add class for comparison against canvas output
2013-08-21 06:05:12 -06:00
Larry Shaffer
dd26e61128 Add simple local test server convenience classes for unit tests 2013-08-21 06:05:12 -06:00
Larry Shaffer
4d03cf7f95 [labeling] Update unit test control images, features db and .qml styles 2013-08-21 06:05:12 -06:00
Larry Shaffer
e75022e4e7 [labeling] Make test font available for app, tests, server without requiring font install
- Load test font from testdata.qrc if app or server built with ENABLE_TESTS
- Add global loading of test font in utilities.py
2013-08-21 06:05:12 -06:00
Larry Shaffer
6a92807356 [labeling] Refactor unit tests so all render check tests can be inherited by all output test classes (canvas, composer, server)
- Add openInBrowserTab function to utilities
2013-08-16 18:02:25 -06:00
Larry Shaffer
fef6e2b601 [labeling] Unit tests update
- Fix unpacking of render check results (fix false positives)
- Push opening of report to background process for Linux
- Report all failures to one random temp HTML file
- Better HTML output for report
2013-08-13 21:16:12 -06:00
Larry Shaffer
c96e099159 [labeling] Unit test cleanup and add ability to output reports on bad render checks to web browser 2013-08-12 20:04:02 -06:00
Larry Shaffer
9c4c2150bf [labeling] Initial python unittest setup and some tests
- Note: some tests will fail until differences in platform dpi are worked out
2013-08-11 13:12:06 -06:00
Tim Sutton
04068c95fc Python formatting cleanups for zonal stats and raster layer tests 2013-07-26 10:41:21 +02:00
Juergen E. Fischer
ed286eb198 indentation update 2013-07-21 21:53:27 +02:00
Juergen E. Fischer
4b6bc3d045 test fixes:
* use compareWkt in PyGeometry nad PyQgsRectangle
* skip PySpatialiteProvider if pyspatialite is unavailable
* show information about used fonts
2013-07-21 10:19:06 +02:00
Juergen E. Fischer
93e2d0cf34 fix typo 2013-07-20 12:07:35 +02:00
Juergen E. Fischer
51074d7b82 test fixes:
* port python test to sip api v2 (fixes #8314)
* introduce compareWkt for more tolerant WKT comparisions in C++ tests
* require UTF-8 locale for regression1141 test on linux
2013-07-19 21:59:58 +02:00
Juergen E. Fischer
ddef9a90ca fix some tests:
* put spatialite test database into temp path
* relaxed WKT comparison
2013-07-19 00:32:47 +02:00
vmora
0318df21cd fix rubberband test 2013-07-18 16:38:53 +02:00
Juergen E. Fischer
ba35b23fd5 adapt some tests to 'better' wkt (followup b1efd479) 2013-07-18 14:32:11 +02:00
Alexander Bruy
8fc14f8ac0 fix PyQgsSymbolLayerV2 test 2013-07-18 14:50:01 +03:00
Alexander Bruy
ab4fc785e8 fix PyQgsVectorLayer test 2013-07-18 11:18:46 +03:00
Alexander Bruy
f1e0498dd0 fix PyQgsMemoryProvider test 2013-07-17 14:53:20 +03:00
Alexander Bruy
0a27d0cade unittest for QgsZonalStatistics 2013-07-17 10:32:02 +03:00
Jürgen Fischer
29a4bc0aca Merge pull request #715 from Oslandia/issue7550
solves Issue7550
2013-07-16 04:08:20 -07:00
Juergen E. Fischer
ff7aaba323 make QgsCompositionChecker less forgiving and readd a svg used in tests (fixes #7731) 2013-07-13 21:11:33 +02:00
vmora
5256b80b74 - fix issue 7244 2013-07-11 17:23:51 +02:00
vmora
20b45c31eb - test that fails because of issue7244 (split several polygons of a
multipolygon at the same time
2013-07-11 15:59:41 +02:00
vmora
45ab8ccc85 - set primary key value to NULL in split when there is no default value.
- modified the test accordingly
2013-07-11 11:26:51 +02:00
vmora
827ed31195 - solves issue #7550
- the feature modification stops (in edit buffer) once an error is found
- the test has been modified to refelect the real problem: the data
  corruption, and not the commit failure if primary key are not unique
2013-07-11 10:17:08 +02:00
vmora
184bf418ca - removed useless function getPrimaryKey since a member already exist
for that
- modified the test to have multiple column primary key (it fails for
  the moment
2013-07-10 11:13:24 +02:00
vmora
61062d719e - solved issue #7550
- implemented getPrimaryKey member function of QgsSpatiaLiteProvider
- in addFeatures, if an attribute is a primary key, its value is set to
  NULL so that sqlite generates a value automagically
2013-07-09 21:32:17 +02:00
vmora
e514572516 - added test for issue #7550 2013-07-09 16:02:16 +02:00
Chris Crook
9b04f13774 Fixing delimited text test cases for SIP API change 2013-06-19 08:04:54 +12:00
Chris Crook
7a2ff5434b Added SIP version test to delimited text test script 2013-06-18 21:14:02 +12:00
Hugo Mercier
f0f72ca8a9 Add SIP and Python unit test for overview autocentering.
Work funded by Tuscany Region - SITA. Contract "Support to the use
of GFOSS (Geographic Free and Open Source Software) Desktop tools"
(CIG Z3B06FA6D7).
2013-06-17 17:34:33 +02:00
Hugo Mercier
9d20a69b94 Add unit test for autocentering of overview
Work funded by Tuscany Region - SITA. Contract "Support to the use
of GFOSS (Geographic Free and Open Source Software) Desktop tools"
(CIG Z3B06FA6D7).
2013-06-17 17:34:16 +02:00
Juergen E. Fischer
10f3cf38fa more QuantumGIS => QGIS updates 2013-06-09 18:52:05 +02:00
Nyall Dawson
1df825f406 Fix tests after changing default map overview style 2013-06-04 15:12:18 +10:00
Juergen E. Fischer
af4a86f8a6 indentation update 2013-06-02 23:49:03 +02:00
Chris Crook
e87623d39e Fix to potential unterminated loop if a delimited text file is deleted
Another try at fixing test cases with file watcher, don't work on some
platforms.
2013-06-02 08:49:04 +12:00
Chris Crook
a39b78bb3e Removing a couple more delimited text file test case failures 2013-06-01 23:05:56 +12:00
Juergen E. Fischer
15539f34ce more Quantum GIS => QGIS updates 2013-05-30 16:19:19 +02:00
Etienne Tourigny
17bdba949d fix loading of raster and vector files with sublayers ; add vector and raster test files with sublayers 2013-05-28 17:14:45 -03:00