778 Commits

Author SHA1 Message Date
Nathan Woodrow
a7699e2696 [FEATURE] Add ability to create user defined Python (and C++) expression functions 2012-11-10 11:20:26 +10:00
Tim Sutton
3f72a6a593 Added from uri test for mem provider. Simplified the vector writer test. 2012-11-09 15:00:54 +02:00
Tim Sutton
3564eaeb57 Added unit test for vector file writer as it is currently segfaulting in master 2012-11-09 12:42:23 +02:00
Tim Sutton
6c695d5fc1 Enabled some tests that werent running because they missed test prefix in method name. Better error messages for failing tests 2012-11-07 17:04:21 +02:00
Etienne Tourigny
b754f0771f add QgsApplication::upgradeConfig to upgrade any configs that changed from 1.8
use different keys for scanItemsInBrowser and scanZipInBrowser in qgis-1.9 because new storage type (string vs. int) causes conflicts with 1.8
2012-11-06 18:17:54 -02:00
Juergen E. Fischer
98e8ba484b indentation update 2012-10-31 23:47:29 +01:00
Tim Sutton
3799ee48d3 Added python test for QgsFeature from Germán Carrillo 2012-10-29 21:16:51 +02:00
Tim Sutton
97cb7bd888 Fix for failure in unit test thanks to Massimo. 2012-10-29 19:57:45 +02:00
Larry Shaffer
a27aad04f6 Run Mac bundled app from build directory
- No longer a need for hard link
- Build directory app bundle, providers, Python plugins and unit tests functional
- Adjusted resources corrected on install
2012-10-29 03:05:10 -06:00
Tim Sutton
9744b8a292 Marked symbologyv2 test as expected to fail 2012-10-28 21:15:42 +02:00
Tim Sutton
712a36205c Fix for jenkins breakages caused by addition of licens info to xslt 2012-10-28 08:57:06 +02:00
Martin Dobias
51122d263a Store attributes and fields in vectors instead of maps 2012-10-20 22:19:55 +02:00
Martin Dobias
8bf959093f QgsFeature: use a vector of attributes instead of a map (for faster access) 2012-10-19 00:31:03 +02:00
Juergen E. Fischer
9faa4017b8 fix warnings 2012-10-18 00:05:05 +02:00
Juergen E. Fischer
4f1cac377a fix windows build 2012-10-17 23:25:01 +02:00
Radim Blazek
df85492c40 raster identify context, QVariant values, enables wcs caching and makes wms more robust 2012-10-17 14:51:35 +02:00
Radim Blazek
5a6401c983 VSI/CPLMalloc/Free replaced by QgsMalloc/Free where feasible 2012-10-16 11:10:43 +02:00
Larry Shaffer
c46009e133 Turn off failing PAL engine test, until redesigned 2012-10-15 19:32:59 -06:00
Larry Shaffer
83cb4ef4af Initial test for PAL engine
- Includes small custom test font based of off Gnu Free Sans
- Test if font can be stored and loaded
- Test if layer can have PAL engine set
- Test render comparison for output of vector line layer
2012-10-13 19:25:26 -06:00
Martin Dobias
eb6d4d384d Removed unused QgsFeature::typeName() and QgsFeature::setTypeName() 2012-10-13 13:06:57 +02:00
Radim Blazek
7cb523a26f + QgsRasterBlock 2012-10-11 16:12:09 +02:00
Tim Sutton
552703a665 Removed pycharm project files from python tests dir 2012-10-10 16:28:03 +07:00
Tim Sutton
0617992fb1 Added test and sample wkt to replicate issue 4189 2012-10-10 16:28:03 +07:00
Martin Dobias
f217a7fb19 Fixes after rebase 2012-10-09 20:57:35 +02:00
Martin Dobias
e110855e6c [API] added QgsFeatureIterator, changed QgsVectorProvider API
Vector data provider now has getFeatures() method to access features.
select(), nextFeature(), featureAtId(), rewind() were removed resp. moved to provider's feature iterator implementations.

Providers that currently do not implement the new API were disabled.
2012-10-08 17:47:51 +02:00
Martin Dobias
70ff8ef6dd Added select() variant with QgsFeatureRequest for simpler construction of requests 2012-10-08 17:14:45 +02:00
Werner Macho
52de72152f fixed typo in script and licenseadd 2012-10-07 00:06:19 +02:00
Marco Hugentobler
0d4b6f6d32 Fix composer scalebar test 2012-10-06 15:22:19 +02:00
Marco Hugentobler
8391b95cb2 Fix composerhtml tests 2012-10-06 14:56:33 +02:00
Juergen E. Fischer
e7f40bdea4 add more copyrights 2012-10-06 13:32:08 +02:00
Marco Hugentobler
68494068da Merge atlas branch 2012-10-06 11:36:15 +02:00
Marco Hugentobler
f1c99553e3 Fix python composermap test 2012-10-06 11:26:36 +02:00
Marco Hugentobler
efb2329c0f Fix for white stripes between raster tiles 2012-10-06 00:16:02 +02:00
Tim Sutton
94bc4157cd Added simple point test used in demo at hackfest in Essen 2012-10-05 23:40:09 +02:00
Hugo Mercier
77761b0894 Merge branch 'master' of https://github.com/qgis/Quantum-GIS into atlas 2012-10-05 17:26:16 +02:00
Hugo Mercier
d904da4ce1 Update of QgsAtlasComposition SIP (with Python unit tests as well) 2012-10-05 16:25:11 +02:00
Hugo Mercier
e4371d826f Update atlas.
* Store every parameters and expose operations in a new QgsAtlasComposition class
* Restructure the GUI part. The atlas configuration panel is now independant
2012-10-05 15:20:42 +02:00
Marco Hugentobler
53305f0d62 Add unit test for composermap zebra style 2012-10-05 12:24:03 +02:00
Tim Sutton
705719cfb2 Revision and refactor of python unit tests: Pep8 and 257 formatting. Use helper to import unittest so that unittest2 and unittest are seemless. 3 tests currently fail - will review those tomorrow. 2012-10-05 03:43:13 +02:00
Hugo Mercier
ea44e0f362 Update atlas unit tests (fix the overview map frame style) 2012-10-04 13:06:04 +02:00
Alexander Bruy
c6faf3d11d add license headers to some tests 2012-10-04 13:31:41 +03:00
Hugo Mercier
e4364f3615 Merge branch 'atlas' into atlas2
Conflicts:
	python/core/composer/qgscomposition.sip
	tests/src/python/CMakeLists.txt
2012-10-04 11:44:18 +02:00
Hugo Mercier
45593bf4b5 Revert "Revert "Merge pull request #245 from Oslandia/atlas_integration""
This reverts commit 8a1953b9e710ea25dac502b32eab9e0e8d652b10.
2012-10-04 11:18:17 +02:00
Tim Sutton
5a0feb3f31 Fixes for QgsSpatialIndex python test 2012-10-03 16:10:07 +02:00
Radim Blazek
8a1ad57fc2 wcs 1.1 axis switch fix 2012-10-02 20:55:17 +02:00
Juergen E. Fischer
8349d52015 indentation cleanup 2012-10-02 16:20:04 +02:00
Hugo Mercier
ce6ae6ecbc Add Python unit tests for atlas rendering 2012-10-02 14:28:49 +02:00
Hugo Mercier
aab22b2e7c Fix QgsComposerLabel unit test 2012-10-02 14:27:11 +02:00
endmax
7f208338ae - QgsSymbolLayerV2 descendants missing from sip.
QgsSymbolLayerV2 class has been modified to convert into SubClass as needed
- A test is provided for check subclasses binding and behaviour
- A fix has been done for src\core\symbology-ng\qgsellipsesymbollayerv2.cpp because of an error in createFromSld about fillColor

Signed-off-by: endmax <massimo.endrighi@geopartner.it>
2012-10-02 13:18:00 +02:00
Tim Sutton
8a1953b9e7 Revert "Merge pull request #245 from Oslandia/atlas_integration"
This reverts commit fe8385e7f5735507adf1acfcce81a399fa6bc6f5, reversing
changes made to 23352ce0d66855a4a9c403a81feaa1884415e45c.
2012-10-01 11:04:04 +02:00