796 Commits

Author SHA1 Message Date
Radim Blazek
76115ec886 Raster statistics and histogram moved from QgsRasterDataProvider to QgsRasterInterface 2012-12-17 18:29:08 +01:00
Alexander Bruy
e2f9fcd4f7 update anomality images for stingray 2012-12-17 10:48:57 +02:00
Werner Macho
f218a394f4 adding licenses to a few files more - we are under 100 files .. 2012-12-12 22:28:01 +01:00
Juergen E. Fischer
9721736fd8 remove trailing blanks 2012-12-10 00:12:07 +01:00
Tim Sutton
5e64c64496 Code and comment tidy up in geometry clip test 2012-12-06 12:52:17 +02:00
Juergen E. Fischer
c254be1868 indentation update 2012-12-01 23:49:46 +01:00
Tim Sutton
c98967360e Test improvements - moved writeShape to utilities for DRY. Added clip test to geometry python tests. 2012-11-28 08:21:11 +02:00
Tim Sutton
1a26f593e2 ../src/core/qgsvectorfilewriter.h 2012-11-22 11:03:04 +02:00
Larry Shaffer
6b3aed014f Better fix for QgsVectorFileWriter segfault and test
- Revert test to 735c255 commit, excepting 'assert myResult==QgsVectorFileWriter.NoError' edit
2012-11-21 18:16:15 -07:00
Larry Shaffer
89eb054d44 Fix for PyQgsVectorFileWriter test segfault on Mac
- Initialize newFilename to QString(), or QgsDebugMsg for newFilename segfaults (line 650)
- Set test assert to QgsVectorFileWriter::WriterError enum for success (NoError = 0, i.e. false)
2012-11-21 15:59:08 -07:00
Etienne Tourigny
31c11edb2f make QgsCptCityColorRampV2 subclass of QgsVectorGradientColorRampV2 and adjust both accordingly (changed stops map to list) 2012-11-17 19:01:46 -02:00
Etienne Tourigny
7d0d5d3267 scanItemsInBrowser2/scanZipInBrowser2 : remove QgsApplication::upgradeConfig() and fix tests 2012-11-15 16:30:42 -02:00
Tim Sutton
b89d0e275c Unit test updates - mark bad tests as expectedFailure 2012-11-15 16:07:36 +02:00
Tim Sutton
735c25520c Mark vector file writer test as expected to fail. 2012-11-15 16:07:36 +02:00
D'Hont René-Luc
cbca984079 Correcting tests from test_qgsrectangle.py 2012-11-15 15:01:35 +01:00
D'Hont René-Luc
a3289e8802 Add geometric method 2012-11-14 11:51:20 +01:00
D'Hont René-Luc
aac9538628 Ending spatial test 2012-11-14 11:51:20 +01:00
D'Hont René-Luc
a7911cf8b8 First spatial test 2012-11-14 11:51:20 +01:00
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