From ee41921b7dfdd91e2a416040e9a7aa0087ff554a Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Tue, 6 Jun 2017 15:24:08 +0200 Subject: Added CP1252 tests --- test/ctest/CTestCustom.ctest.in | 2 ++ test/w3c/c89/test-enc-CP1252.scxml | 26 ++++++++++++++++++++++++++ test/w3c/convert-tests.sh | 2 +- test/w3c/ecma/test-enc-CP1252.scxml | 26 ++++++++++++++++++++++++++ test/w3c/jexl/test-enc-CP1252.scxml | 26 ++++++++++++++++++++++++++ test/w3c/lua/test-enc-CP1252.scxml | 26 ++++++++++++++++++++++++++ test/w3c/namespace/test-enc-CP1252.scxml | 26 ++++++++++++++++++++++++++ 7 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 test/w3c/c89/test-enc-CP1252.scxml create mode 100644 test/w3c/ecma/test-enc-CP1252.scxml create mode 100644 test/w3c/jexl/test-enc-CP1252.scxml create mode 100644 test/w3c/lua/test-enc-CP1252.scxml create mode 100644 test/w3c/namespace/test-enc-CP1252.scxml diff --git a/test/ctest/CTestCustom.ctest.in b/test/ctest/CTestCustom.ctest.in index 6d4fa56..d6a5884 100644 --- a/test/ctest/CTestCustom.ctest.in +++ b/test/ctest/CTestCustom.ctest.in @@ -34,6 +34,8 @@ set(CTEST_CUSTOM_TESTS_IGNORE "w3c/ecma/test301.scxml" # Invalid script URL - PASSED "w3c/ecma/test436.scxml" # Tests NULL datamodel - PASSED + "w3c/namespace/test301.scxml" # Invalid script URL - PASSED + ### Just ignore the XPath datamodel tests that hang, most of the rest fails as well "w3c/xpath/test178.scxml" # Manual - PASSED diff --git a/test/w3c/c89/test-enc-CP1252.scxml b/test/w3c/c89/test-enc-CP1252.scxml new file mode 100644 index 0000000..79372ba --- /dev/null +++ b/test/w3c/c89/test-enc-CP1252.scxml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/w3c/convert-tests.sh b/test/w3c/convert-tests.sh index 8ffe48b..0adf253 100755 --- a/test/w3c/convert-tests.sh +++ b/test/w3c/convert-tests.sh @@ -135,7 +135,7 @@ find ./jexl -type f -exec grep -Ili 'datamodel="ecmascript"' {} \; |xargs rm -fv find ./jexl -type f -exec grep -Ili 'datamodel="null"' {} \; |xargs rm -fv # create other encoding tests from the utf8 one -for ENC in ISO-8859-15 CP1250; +for ENC in ISO-8859-15 CP1250 CP1252; do export ENC=$ENC find . -name "test-enc-UTF8.scxml" -exec sh -c 'sed "s/UTF-8/${ENC}/g" {} > $(dirname {})/test-enc-${ENC}.tmp.scxml' \; diff --git a/test/w3c/ecma/test-enc-CP1252.scxml b/test/w3c/ecma/test-enc-CP1252.scxml new file mode 100644 index 0000000..be03547 --- /dev/null +++ b/test/w3c/ecma/test-enc-CP1252.scxml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/w3c/jexl/test-enc-CP1252.scxml b/test/w3c/jexl/test-enc-CP1252.scxml new file mode 100644 index 0000000..1725fa5 --- /dev/null +++ b/test/w3c/jexl/test-enc-CP1252.scxml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/w3c/lua/test-enc-CP1252.scxml b/test/w3c/lua/test-enc-CP1252.scxml new file mode 100644 index 0000000..5946a72 --- /dev/null +++ b/test/w3c/lua/test-enc-CP1252.scxml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/w3c/namespace/test-enc-CP1252.scxml b/test/w3c/namespace/test-enc-CP1252.scxml new file mode 100644 index 0000000..d5dd18b --- /dev/null +++ b/test/w3c/namespace/test-enc-CP1252.scxml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v0.12