From 0943cd5d51f3f7a0117464c80b272bcfffd85c12 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Tue, 26 Sep 2017 15:25:33 +1000 Subject: [PATCH] Resurrect commented out zonal stats test --- .../tests/testdata/custom/zonal_stats.cpg | 1 + .../tests/testdata/custom/zonal_stats.dbf | Bin 0 -> 575 bytes .../tests/testdata/custom/zonal_stats.prj | 1 + .../tests/testdata/custom/zonal_stats.qpj | 1 + .../tests/testdata/custom/zonal_stats.shp | Bin 0 -> 484 bytes .../tests/testdata/custom/zonal_stats.shx | Bin 0 -> 116 bytes .../tests/testdata/expected/zonal_stats.cpg | 1 + .../tests/testdata/expected/zonal_stats.dbf | Bin 0 -> 815 bytes .../tests/testdata/expected/zonal_stats.prj | 1 + .../tests/testdata/expected/zonal_stats.qpj | 1 + .../tests/testdata/expected/zonal_stats.shp | Bin 0 -> 484 bytes .../tests/testdata/expected/zonal_stats.shx | Bin 0 -> 116 bytes .../tests/testdata/qgis_algorithm_tests.yaml | 40 +++++++++++------- 13 files changed, 30 insertions(+), 16 deletions(-) create mode 100644 python/plugins/processing/tests/testdata/custom/zonal_stats.cpg create mode 100644 python/plugins/processing/tests/testdata/custom/zonal_stats.dbf create mode 100644 python/plugins/processing/tests/testdata/custom/zonal_stats.prj create mode 100644 python/plugins/processing/tests/testdata/custom/zonal_stats.qpj create mode 100644 python/plugins/processing/tests/testdata/custom/zonal_stats.shp create mode 100644 python/plugins/processing/tests/testdata/custom/zonal_stats.shx create mode 100644 python/plugins/processing/tests/testdata/expected/zonal_stats.cpg create mode 100644 python/plugins/processing/tests/testdata/expected/zonal_stats.dbf create mode 100644 python/plugins/processing/tests/testdata/expected/zonal_stats.prj create mode 100644 python/plugins/processing/tests/testdata/expected/zonal_stats.qpj create mode 100644 python/plugins/processing/tests/testdata/expected/zonal_stats.shp create mode 100644 python/plugins/processing/tests/testdata/expected/zonal_stats.shx diff --git a/python/plugins/processing/tests/testdata/custom/zonal_stats.cpg b/python/plugins/processing/tests/testdata/custom/zonal_stats.cpg new file mode 100644 index 00000000000..3ad133c048f --- /dev/null +++ b/python/plugins/processing/tests/testdata/custom/zonal_stats.cpg @@ -0,0 +1 @@ +UTF-8 \ No newline at end of file diff --git a/python/plugins/processing/tests/testdata/custom/zonal_stats.dbf b/python/plugins/processing/tests/testdata/custom/zonal_stats.dbf new file mode 100644 index 0000000000000000000000000000000000000000..c9e814684dd7e5e0d606a8a7183a07b58067b00f GIT binary patch literal 575 zcmZQB<&|g?&g49 zJBlbHke7gLR=(A@BeGB39E>yW$2{1GFbkxR6RK6{Y2mqLKzljOpDCI?b90dVySD7v zI)vJ-|JUs8-C*Qkxp0BdAD}$UEc4kDHFALbua=?Tj{(irGZ5x~4YW(sYsx8s^+pc8 zfxFAKfP9vDvr>508adqbRIyP5@?rjjxeeWZptG2OI0EF4hUTMu;y|~chsmjW*SpR@ zvq1jf0Adhetd=dm2y~}N(fsY}pCH@?Qws}Ej~$zS^aJJZY~0GL1PtGat9UN|28OqH nZh4?BP(RGB!ky37n*i;OdH8Y8WuQFFEt7ObPB;VgquU1nU{R;~ literal 0 HcmV?d00001 diff --git a/python/plugins/processing/tests/testdata/custom/zonal_stats.shx b/python/plugins/processing/tests/testdata/custom/zonal_stats.shx new file mode 100644 index 0000000000000000000000000000000000000000..63aed4072ca1df9b23b4a2288e263897656dfeee GIT binary patch literal 116 zcmZQzQ0HR64y;}>QI}i$jbsJ&Fn_R9J=- djj|OX0oI6u;uzTxF}8fbgBBx}nFYvJk$;C@ZY2N! literal 0 HcmV?d00001 diff --git a/python/plugins/processing/tests/testdata/expected/zonal_stats.prj b/python/plugins/processing/tests/testdata/expected/zonal_stats.prj new file mode 100644 index 00000000000..a30c00a55de --- /dev/null +++ b/python/plugins/processing/tests/testdata/expected/zonal_stats.prj @@ -0,0 +1 @@ +GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]] \ No newline at end of file diff --git a/python/plugins/processing/tests/testdata/expected/zonal_stats.qpj b/python/plugins/processing/tests/testdata/expected/zonal_stats.qpj new file mode 100644 index 00000000000..5fbc831e743 --- /dev/null +++ b/python/plugins/processing/tests/testdata/expected/zonal_stats.qpj @@ -0,0 +1 @@ +GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]] diff --git a/python/plugins/processing/tests/testdata/expected/zonal_stats.shp b/python/plugins/processing/tests/testdata/expected/zonal_stats.shp new file mode 100644 index 0000000000000000000000000000000000000000..1566b4c1d91cc732dff6f85d14db2fc033caa6dd GIT binary patch literal 484 zcmZQzQ0HR64nDnLW?*0i$}JDFNeWwI|g?&g49 zJBlbHke7gLR=(A@BeGB39E>yW$2{1GFbkxR6RK6{Y2mqLKzljOpDCI?b90dVySD7v zI)vJ-|JUs8-C*Qkxp0BdAD}$UEc4kDHFALbua=?Tj{(irGZ5x~4YW(sYsx8s^+pc8 zfxFAKfP9vDvr>508adqbRIyP5@?rjjxeeWZptG2OI0EF4hUTMu;y|~chsmjW*SpR@ zvq1jf0Adhetd=dm2y~}N(fsY}pCH@?Qws}Ej~$zS^aJJZY~0GL1PtGat9UN|28OqH nZh4?BP(RGB!ky37n*i;OdH8Y8WuQFFEt7ObPB;VgquU1nU{R;~ literal 0 HcmV?d00001 diff --git a/python/plugins/processing/tests/testdata/expected/zonal_stats.shx b/python/plugins/processing/tests/testdata/expected/zonal_stats.shx new file mode 100644 index 0000000000000000000000000000000000000000..63aed4072ca1df9b23b4a2288e263897656dfeee GIT binary patch literal 116 zcmZQzQ0HR64y;}