816 Commits

Author SHA1 Message Date
Juergen E. Fischer
bc825b4b46 fix lpad/rpad (fixes #9158) 2013-12-03 22:37:30 +01:00
Nathan Woodrow
e890e14938 Return expression string from QgsExpression::expression(). Don't use ::dump() 2013-11-13 20:35:09 +10:00
nyalldawson
dfba26d9b0 [FEATURE] allow starting/ending a gradient at a features centroid 2013-11-03 20:55:33 +11:00
Nyall Dawson
fcbff6a65d Merge pull request #923 from nyalldawson/gradient_fill2
[FEATURE] Add support for gradient fills for polygons
2013-10-31 15:30:43 -07:00
Juergen E. Fischer
ec0f0bea28 indentation update and a few fixed typos 2013-10-24 15:26:39 +02:00
Alexander Bruy
8d947e2c86 fix scalecombobox test 2013-10-19 15:13:48 +03:00
Larry Shaffer
0218f078f2 [tests] Fix OSM unit test on Mac 2013-10-16 14:42:00 -06:00
Matthias Kuhn
44b7767134 Create hash method for QgsPoint (Fix #8775) 2013-10-12 12:26:10 +02:00
Matthias Kuhn
b3b54d1fe2 Fix header 2013-10-07 17:50:58 +02:00
Matthias Kuhn
a91864ec8b Add relation unit test 2013-10-07 16:17:43 +02:00
Matthias Kuhn
331f71acba [attrtable] Selection model and request filter
* With a selection model, the way the attribute table handles selections
  can be customized. E.g. synchronized to layer selection or used to pick
  features.
* With request filters, the visible features on an attribute table can be
  limited. This will effectively reduce the subset of features the attribute
  table works on. Additional filters by means of a proxy model can of course
  further reduce the visible subset subsequently.
2013-10-07 16:17:42 +02:00
nyalldawson
864df0fe37 [FEATURE] Add support for gradient fills for polygons 2013-10-07 19:54:33 +11:00
Chris Crook
4072e39227 Merge pull request #917 from matthias-kuhn/csv_test_fix
Fix CSV test to support python NULL value
2013-10-04 11:45:35 -07:00
Hugo Mercier
bf076a0c1f Emit a signal when layer symbology changes 2013-10-04 09:59:18 +02:00
Matthias Kuhn
934e4855ec Fix CSV test to support python NULL value 2013-10-02 14:52:20 +02:00
Larry Shaffer
cfa34641b0 Merge pull request #905 from yellow-sky/show_partial_labels
Show partials labels
2013-09-28 20:35:06 -07:00
yellow-sky
3e382dac77 Unit tests for ShowingPartialsLabels reorganized 2013-09-26 19:43:08 +04:00
Juergen E. Fischer
a17787b36a fix PyQgsAtlasComposition and PyQgsComposerLabel test 2013-09-25 22:59:02 +02:00
Larry Shaffer
87163c6098 Add unit test for PYQGIS_STARTUP environment variable
- Make PyQgsAppStartup test more general and PEP8 compliant
2013-09-24 15:42:05 -06:00
yellow-sky
83c8478f8f Added unit-tests for ShowingPartialsLabels 2013-09-20 14:53:18 +04:00
Matthias Kuhn
df7f39c7e5 Add featureiterator tests 2013-09-18 18:57:52 +01:00
Juergen E. Fischer
51297d5990 indentation update (note to self: always run scripts/prepare-commit.sh before committing) 2013-09-17 12:41:43 +02:00
nyalldawson
58d0483c46 [FEATURE] Setting for corner radius for composer rectangle shapes, allows creation of rounded rectangles in composers
Add tests for composer shapes
2013-09-17 08:17:51 +02:00
Larry Shaffer
8fb9816c67 [tests] Make app startup test work on Mac
- Handle bundled app path on Mac
- Move test writes to temporary, instead of source, directory
- Add Mac code for options.ini parent directory
- Add Mac options.ini file for plugin path test
- Clean up imports
2013-09-15 16:18:52 -06:00
Tim Sutton
64c947b2f0 Merge pull request #749 from Oslandia/issue8045b
Unit tests for command line arguments
2013-09-15 02:47:07 -07:00
Juergen E. Fischer
93cdd0ca40 indentation update 2013-09-08 20:26:43 +02:00
Hugo Mercier
b18f2736e1 Change computeWorldFileParameters signature and fix Python unit test 2013-09-08 13:17:39 +02:00
Hugo Mercier
50f86c89de Add unit test for world file generation 2013-09-08 13:09:42 +02:00
Juergen E. Fischer
da36ac7dbe fix more warnings (followup 1c9d6ebce) 2013-09-06 21:24:58 +02:00
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