xml/libxml2libs/test/xmlengtester/xmlengtester_target/TestConfigfiles/TestFramework/conf/xmleng/SaxEncoding.cfg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/libxml2libs/test/xmlengtester/xmlengtester_target/TestConfigfiles/TestFramework/conf/xmleng/SaxEncoding.cfg Thu Dec 17 09:29:21 2009 +0200
@@ -0,0 +1,112 @@
+##############################################################
+# Check if XML file coded with UTF8 is parsed correctly.
+##############################################################
+
+[Test]
+title encoding_UTF8
+create xmlengtester test
+test SAXParseFile E:\testing\data\xmleng\efute\input\Encoding\XML_encoding_001.xml E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_001.txt
+test CompareFiles E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_001.txt E:\testing\data\xmleng\efute\pattern\Encoding\SAX_XML_encoding_001.ref
+delete test
+[Endtest]
+##############################################################
+# Check if XML file coded with UTF16 is parsed correctly.
+##############################################################
+
+[Test]
+title encoding_UTF16
+create xmlengtester test
+test SAXParseFile E:\testing\data\xmleng\efute\input\Encoding\XML_encoding_002.xml E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_002.txt
+test CompareFiles E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_002.txt E:\testing\data\xmleng\efute\pattern\Encoding\SAX_XML_encoding_002.ref
+delete test
+[Endtest]
+##############################################################
+# Check if XML file coded with UTF16 BE is parsed correctly.
+##############################################################
+
+[Test]
+title encoding_UTF16BE
+create xmlengtester test
+test SAXParseFile E:\testing\data\xmleng\efute\input\Encoding\XML_encoding_003.xml E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_003.txt
+test CompareFiles E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_003.txt E:\testing\data\xmleng\efute\pattern\Encoding\SAX_XML_encoding_003.ref
+delete test
+[Endtest]
+##############################################################
+# Check if XML file coded with UTF16 LE is parsed correctly.
+##############################################################
+
+[Test]
+title encoding_UTF16LE
+create xmlengtester test
+test SAXParseFile E:\testing\data\xmleng\efute\input\Encoding\XML_encoding_004.xml E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_004.txt
+test CompareFiles E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_004.txt E:\testing\data\xmleng\efute\pattern\Encoding\SAX_XML_encoding_004.ref
+delete test
+[Endtest]
+##############################################################
+# Check if XML file coded with ISO-8859-1 is parsed correctly.
+##############################################################
+
+[Test]
+title encoding_ISO-8859-1
+create xmlengtester test
+test SAXParseFile E:\testing\data\xmleng\efute\input\Encoding\XML_encoding_005.xml E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_005.txt
+test CompareFiles E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_005.txt E:\testing\data\xmleng\efute\pattern\Encoding\SAX_XML_encoding_005.ref
+delete test
+[Endtest]
+##############################################################
+# Check if XML file coded with ASCII is parsed correctly.
+##############################################################
+
+[Test]
+title encoding_ASCII
+create xmlengtester test
+test SAXParseFile E:\testing\data\xmleng\efute\input\Encoding\XML_encoding_006.xml E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_006.txt
+test CompareFiles E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_006.txt E:\testing\data\xmleng\efute\pattern\Encoding\SAX_XML_encoding_006.ref
+delete test
+[Endtest]
+##############################################################
+# Check if correct error is generated when wrong encodingis
+# set.
+##############################################################
+
+[Test]
+title encoding_WRONG(ISO-8859-2)
+create xmlengtester test
+test SAXParseFile E:\testing\data\xmleng\efute\input\Encoding\XML_encoding_007.xml E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_007.txt
+test CompareFiles E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_007.txt E:\testing\data\xmleng\efute\pattern\Encoding\SAX_XML_encoding_007.ref
+delete test
+[Endtest]
+##############################################################
+# Check if file with supported encoding but different then in
+# xml prolog is processed
+##############################################################
+
+[Test]
+title encoding_differentCodeThanProlog
+create xmlengtester test
+test SAXParseFile E:\testing\data\xmleng\efute\input\Encoding\XML_encoding_008.xml E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_008.txt
+test CompareFiles E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_008.txt E:\testing\data\xmleng\efute\pattern\Encoding\SAX_XML_encoding_008.ref
+delete test
+[Endtest]
+##############################################################
+# Check if file without xml prolog is processed.
+##############################################################
+
+[Test]
+title encoding_NoProlog(ISO)
+create xmlengtester test
+test SAXParseFile E:\testing\data\xmleng\efute\input\Encoding\XML_encoding_009.xml E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_009.txt
+test CompareFiles E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_009.txt E:\testing\data\xmleng\efute\pattern\Encoding\SAX_XML_encoding_009.ref
+delete test
+[Endtest]
+##############################################################
+# Check if file without xml prolog is processed.
+##############################################################
+
+[Test]
+title encoding_NoProlog(UTF-16BE)
+create xmlengtester test
+test SAXParseFile E:\testing\data\xmleng\efute\input\Encoding\XML_encoding_010.xml E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_010.txt
+test CompareFiles E:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_010.txt E:\testing\data\xmleng\efute\pattern\Encoding\SAX_XML_encoding_010.ref
+delete test
+[Endtest]