110 Commits

Author SHA1 Message Date
Médéric Ribreux
c867123f18 Fix exec statement for AlgorithmsTestBase.py
On travis-ci environment, Python version seems to be affected by [this bug](https://bugs.python.org/issue21591).
One way to fix it is to use the old statement instead of exec() function.
2016-05-29 09:00:16 +02:00
Médéric Ribreux
f6710de670 Fix rasterhashes value with osgeo4travis values 2016-05-29 09:00:16 +02:00
Médéric Ribreux
1945facd1d Temporary make Grass7Utils more verbose for more travis debug 2016-05-29 09:00:16 +02:00
Médéric Ribreux
8884cd715a Add ugly debug prints to try to find what is travis-ci problem... 2016-05-29 09:00:16 +02:00
Médéric RIBREUX
bc4b3a20a7 Fix i.at.corr test 2016-05-29 09:00:16 +02:00
Médéric Ribreux
03a8a8e507 Try without subfunction 2016-05-29 09:00:16 +02:00
Médéric Ribreux
cd7047cc7c Try this exec modification 2016-05-29 09:00:16 +02:00
Médéric Ribreux
6b8f943022 Fix i.atcor algorithm 2016-05-29 09:00:16 +02:00
Médéric Ribreux
b40d2ff3ba Add last set of tests 2016-05-29 09:00:16 +02:00
Médéric Ribreux
1f21af6672 Improve tests: add external file support into AlgorithmsTest 2016-05-29 09:00:16 +02:00
Médéric Ribreux
e70f9bcf0c Add first set of unit tests 2016-05-29 09:00:16 +02:00
Alexander Bruy
7014c9baa0 [processing] fix tests 2016-05-23 19:34:25 +02:00
Alexander Bruy
2f5c3a570a [processing] fix expressions handling in ParameterString (fix #14834)
Add initial set of tests for ParameterString
2016-05-23 14:28:10 +03:00
Matthias Kuhn
dbb24e971e [processing tests] More tolerance in statistics test 2016-05-22 21:52:55 +02:00
Matthias Kuhn
7f3526be71 [processing tests] Cleanup layer registry before every new test 2016-05-22 21:52:55 +02:00
Nyall Dawson
0332157d8a Partial revert 18b69d 2016-05-12 10:22:22 +10:00
Nyall Dawson
18b69d26ef Indentation 2016-05-11 23:02:34 +10:00
Matthias Kuhn
c1687abc80 Replace calls to deprecated assertEquals method 2016-05-03 09:18:27 +02:00
Matthias Kuhn
e9c41e8021 Improve processing test documentation 2016-04-18 15:18:14 +02:00
Matthias Kuhn
d283223c56 Python 3 update for processing tests 2016-04-14 12:15:12 +02:00
Alexander Bruy
b7a4e20627 [processing] add Rectangles, Ovals, Diamonds algorithm (fix #11575)
This is direct port of abandoned "Rectangles, Ovals and diamonds" plugin.
There are two algorithms: one uses fixed values and second — variable
values from attribute table. Test for fixed distance version included.
2016-04-13 12:33:08 +03:00
Matthias Kuhn
30df95aba6 Add new target port-plugins to run 2to3 on plugins as build step 2016-04-12 14:48:20 +02:00
Matthias Kuhn
fa90a7bb7c ogrinfo reports null geometry features differently 2016-04-09 09:48:46 +02:00
Matthias Kuhn
f88cf7de8a Drop processing algorithm comparison precision 2016-04-09 09:48:46 +02:00
Alexander Bruy
9c96be1214 [processing] add function to retrieve Processing version
Initial idea by Etienne Trimaille
2016-04-01 14:09:02 +03:00
Nyall Dawson
a30bf95c4b Drop precision of some processing tests to pass on Windows 2016-03-31 16:44:57 +11:00
Anita Graser
b8d1fb6fc9 added buffer tests 2016-03-27 13:31:14 +02:00
Alexander Bruy
70e2696be5 Merge pull request #2936 from sept-en/master
[processing] fix filter in Processing settings dialog. Add ability to specify mininal required number of items for MultipleInput parameter (fix #11469, fix #12580)
2016-03-23 17:23:08 +02:00
Septen
736be486e7 Typo fixes. Stylystic fixes. 2016-03-23 05:43:59 +03:00
Septen
4b75f4e0e3 ParameterMultipleInput: added tests. 2016-03-23 01:23:05 +03:00
Maximilian Krambach
097b18190c identation errors and wrong file paths 2016-03-22 22:01:21 +01:00
Maximilian Krambach
2f97ec670c fixed wrong location of testdata 2016-03-22 12:13:19 +01:00
Maximilian Krambach
9bc9e6b36b identation 2016-03-22 09:22:22 +01:00
Maximilian Krambach
c445828f9e changed check for validity from isGeosValid() to validateGeometry() in dissolve.py 2016-03-21 21:30:23 +01:00
Juergen E. Fischer
f41304637c switch tests to pyqt wrappers 2016-03-21 17:00:26 +01:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Anita Graser
5902f0e1bd renamed algorithm_tests.yaml 2016-03-18 22:16:55 +01:00
Bernhard Ströbl
bd64b4fd4c [processing] renew test results depending on polys.gml 2016-03-16 14:29:45 +01:00
Bernhard Ströbl
155e7128e0 [processing] change polygon test input 2016-03-16 14:17:08 +01:00
Bernhard Ströbl
02df48cf43 [processing] reflect changed test input in yaml file 2016-03-16 14:10:56 +01:00
Bernhard Ströbl
f73b572704 [processing] renew test output for eliminate 2016-03-16 14:07:12 +01:00
Bernhard Ströbl
51bf08c1d3 [processing] change test input to have adjacent polygons 2016-03-16 14:07:12 +01:00
Bernhard Ströbl
082b5757dc [processing] add test for eliminate algorithm 2016-03-16 14:05:39 +01:00
Matthias Kuhn
f8175d33ef [processing] Move custom source data to separate folder 2016-03-16 08:56:27 +01:00
Bernhard Ströbl
b432bde1bf [processing] remove double quotes in test.yaml 2016-03-16 08:51:39 +01:00
Bernhard Ströbl
d7562eef95 [processing] add test for eliminate algorithm 2016-03-16 08:36:02 +01:00
Bernhard Ströbl
1dd7da4b3a [processing] eliminate: prepare input layer for test 2016-03-16 08:35:33 +01:00
Juergen E. Fischer
c6d921729e python fixes:
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
  python/console/console_sci.py:547 QsciScintillaCompat?
  python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Matthias Kuhn
74b5e12e37 [processing] Remove non-functional test code 2016-03-15 12:00:29 +01:00
Matthias Kuhn
e888d6d684 [processing] Add autoincremental field test 2016-03-15 11:45:34 +01:00