58 Commits

Author SHA1 Message Date
Denis Rouzaud
0f032e5f2d run pre-commit on all files 2024-11-29 15:38:02 +01:00
Nyall Dawson
c16a1e2b3d Update enums 2024-01-19 19:44:48 +10:00
Matthias Kuhn
1626b7e928 Move tests to QgisUnitTests 2023-07-07 14:29:28 +10:00
Etienne Trimaille
3cab3c43a2
Python - Run pyupgrade on the processing plugin 2023-04-24 10:03:57 +02:00
rldhont
943acfd344 [Processing] Fix getParameterFromString to get Vector Layer data types like Feature Source
In Processing parameter description QgsProcessingParameterVectorLayer multi data types does not work as QgsProcessingParameterFeatureSource.
2021-05-13 06:51:29 +10:00
rldhont
bb5871c8c6 [Processing][Test] QgsProcessingParameterVectorLayer description string - Deactivated tests
QgsProcessingParameterVectorLayer multi data types does not work as QgsProcessingParameterFeatureSource
2021-05-07 08:41:51 +10:00
rldhont
cde42b8bab [Processing][Test] QgsProcessingParameterRasterLayer description string 2021-05-07 08:41:51 +10:00
rldhont
9438291a11 [Processing][Test] QgsProcessingParameterVectorLayer description string 2021-05-07 08:41:51 +10:00
rldhont
873307fa06 [Processing][Test] QgsProcessingParameterFeatureSource description string 2021-05-07 08:41:51 +10:00
rldhont
ed37c049f4 [Processing][Test] QgsProcessingParameterFileDestination description string 2021-05-04 15:01:03 +02:00
rldhont
a30f5fe2d4 [Processing][Test] QgsProcessingParameterFolderDestination description string 2021-05-04 15:01:03 +02:00
rldhont
59ab80bb32 [Processing][Test] QgsProcessingParameterRasterDestination description string 2021-05-04 15:01:03 +02:00
rldhont
13bb8627da [Processing][Test] QgsProcessingParameterVectorDestination description string 2021-05-04 15:01:03 +02:00
rldhont
bb57221f9c [Processing][Test] QgsProcessingParameterFile description string 2021-05-04 15:01:03 +02:00
Nyall Dawson
f093c17ac7 Update python/plugins/processing/tests/ParametersTest.py 2021-05-04 10:09:47 +10:00
rldhont
d8188ec238 fix number 2021-05-04 10:09:47 +10:00
rldhont
6a3fad81ea Tests QgsProcessingParameterExtent 2021-05-04 10:09:47 +10:00
rldhont
8d232b247b Tests QgsProcessingParameterCrs 2021-05-04 10:09:47 +10:00
rldhont
2754f829dd Tests QgsProcessingParameterBoolean 2021-05-04 10:09:47 +10:00
rldhont
08947d7ba0 Fix number 2021-05-04 10:09:47 +10:00
rldhont
44a5c97324 Tests QgsProcessingParameterNumber 2021-05-04 10:09:47 +10:00
rldhont
7b97bd9ad2 fix lint 2021-05-04 10:09:47 +10:00
rldhont
b32a9ea46f [Tests][Processing] Add getParameterFromString tests
The Procesing plugins provide a method to get parameter from string.
The string can be based on the QGIS parameter `asScriptCode` / `fromScriptCode` string definition or
on the QGIS definitions used in description file.
2021-05-04 10:09:47 +10:00
Alexander Bruy
3d4a59bb8b [processing] cleanup files from unused code and remove some files 2017-11-28 12:27:45 +02:00
Matthias Kuhn
f610ffaf52 Remove ParameterDataObject 2017-08-16 19:12:12 +02:00
Nyall Dawson
d16f117b6c Port conversion to/from script code to c++ 2017-06-27 08:33:13 +10:00
Nyall Dawson
63611b1d8f Port script code functions to c++ classes
Restore logging executed algorithms
2017-06-12 15:59:56 +10:00
Nyall Dawson
ef59d0c454 Port parameter checking to c++ 2017-06-06 07:41:19 +10:00
Nyall Dawson
6b260ffee6 Remove deprecated assertEquals use 2017-04-25 19:00:13 +10:00
Juergen E. Fischer
c77172ed3d fix more flake8 warnings 2017-03-05 10:21:24 +01:00
Matthias Kuhn
3fba3ac775 [processing] Quote and escape script exported ParameterString 2016-12-22 11:26:28 +01:00
Matthias Kuhn
55e3ea033a [processing] Fix some script parameter export/import issues 2016-12-22 11:21:32 +01:00
Matthias Kuhn
2f0f6a98c6 Use assertIsInstance instead of assertTrue(isinstance()) 2016-12-20 16:32:50 +01:00
arnaud.morvan@camptocamp.com
65a4e97a75 [processing] Support options as (value, text) in ParameterSelection 2016-12-12 15:12:55 +01:00
Nyall Dawson
489e00df8d [processing] Enhance create points layer alg
Clean up code, allow setting z/m columns
2016-11-23 16:43:25 +10:00
Alexander Bruy
9afd6b0a2e [processing] fix test 2016-11-14 15:40:23 +02:00
Alexander Bruy
6e9631ea87 Merge pull request #3701 from alexbruy/processing-ogr-tests
[processsing] tests for GDAL algorithms
2016-11-14 11:05:51 +02:00
Nyall Dawson
f24cda4402 [processing] Add unit tests for retrieving param from script code
And fix number param retrieving from script code
2016-11-13 20:34:35 +10:00
Alexander Bruy
85d1fd720b [processing] cleanup test data 2016-11-12 13:31:44 +02:00
Nyall Dawson
156fce989d Add unit tests for processing expression parameter 2016-11-11 13:26:31 +10:00
Alexander Bruy
a3ebc7bdb6 [processing] add test for ParameterSelection 2016-10-20 12:13:51 +03:00
volaya
fe5d0166cc [processing] added multiple option to ParameterTableFIeld
removed ParameterTableMultipleField and did some cleanup
2016-10-05 12:38:09 +02:00
Alexander Bruy
65db336eaf [processing] move some constants to the dataobjects module 2016-09-02 09:28:45 +03:00
Nyall Dawson
fbc5e0fc8e Fix indentation 2016-06-07 11:11:59 +10:00
Marco Bernasocchi
f9ab7223fc [processing] ParameterTableMultipleField type added
This adds a widget with multiple column attributes selector
2016-06-03 09:27:51 +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
c1687abc80 Replace calls to deprecated assertEquals method 2016-05-03 09:18:27 +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
Matthias Kuhn
74b5e12e37 [processing] Remove non-functional test code 2016-03-15 12:00:29 +01:00