diff --git a/test.js b/test.js index 4e4785d..a50c494 100644 --- a/test.js +++ b/test.js @@ -27,7 +27,7 @@ function runAllTests() { // test sld to qgis let outputFile = 'output.qml'; - let args = ['start', '--', '-s', 'sld', '-t', 'qgis', '-o', outputFile, 'testdata/point_simplepoint.sld']; + let args = ['start', '--', '-s', 'sld', '-t', 'qgis', '-o', outputFile, 'testdata/sld/point_simplepoint.sld']; runTest(args, outputFile); if (checkFileCreated(outputFile) === false) { @@ -53,14 +53,14 @@ function runAllTests() { } // test folder output - args = ['start', '--', '-s', 'sld', '-t', 'qgis', '-o', './output', 'testdata']; + args = ['start', '--', '-s', 'sld', '-t', 'qgis', '-o', './output-bulk', 'testdata/sld']; runTest(args, outputFile); - if (checkFileCreated('./output/point_simplepoint.qml') === false) { + if (checkFileCreated('./output-bulk/sld/point_simplepoint.qml') === false) { success = false; } - if (checkFileCreated('./output/point_simpletriangle.qml') === false) { + if (checkFileCreated('./output-bulk/sld/point_simpletriangle.qml') === false) { success = false; } diff --git a/testdata/point_simplepoint.sld b/testdata/sld/point_simplepoint.sld similarity index 97% rename from testdata/point_simplepoint.sld rename to testdata/sld/point_simplepoint.sld index 04892db..c1598ef 100644 --- a/testdata/point_simplepoint.sld +++ b/testdata/sld/point_simplepoint.sld @@ -1,34 +1,34 @@ - - - - Simple Point - - Simple Point - - - - - - circle - - #FF0000 - 0.5 - - - #0000FF - 0.7 - - - 6 - - - - - - - + + + + Simple Point + + Simple Point + + + + + + circle + + #FF0000 + 0.5 + + + #0000FF + 0.7 + + + 6 + + + + + + + diff --git a/testdata/point_simpletriangle.sld b/testdata/sld/point_simpletriangle.sld similarity index 100% rename from testdata/point_simpletriangle.sld rename to testdata/sld/point_simpletriangle.sld