xml/libxml2libs/test/xmlengtester/xmlengtester_emulator/TestConfigfiles/TestFramework/conf/xmleng/DomEncoding.cfg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/libxml2libs/test/xmlengtester/xmlengtester_emulator/TestConfigfiles/TestFramework/conf/xmleng/DomEncoding.cfg Thu Dec 17 09:29:21 2009 +0200
@@ -0,0 +1,122 @@
+##############################################################
+# Check if XML file coded with UTF8 is parsed correctly.
+##############################################################
+
+[Test]
+title encoding_UTF8
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\Encoding\XML_encoding_001.xml
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_001.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_001.xml c:\testing\data\xmleng\efute\pattern\Encoding\DOM_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 ParseFile c:\testing\data\xmleng\efute\input\Encoding\XML_encoding_002.xml
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_002.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_002.xml c:\testing\data\xmleng\efute\pattern\Encoding\DOM_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 ParseFile c:\testing\data\xmleng\efute\input\Encoding\XML_encoding_003.xml
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_003.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_003.xml c:\testing\data\xmleng\efute\pattern\Encoding\DOM_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 ParseFile c:\testing\data\xmleng\efute\input\Encoding\XML_encoding_004.xml
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_004.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_004.xml c:\testing\data\xmleng\efute\pattern\Encoding\DOM_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 ParseFile c:\testing\data\xmleng\efute\input\Encoding\XML_encoding_005.xml
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_005.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_005.xml c:\testing\data\xmleng\efute\pattern\Encoding\DOM_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 ParseFile c:\testing\data\xmleng\efute\input\Encoding\XML_encoding_006.xml
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_006.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_006.xml c:\testing\data\xmleng\efute\pattern\Encoding\DOM_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 ParseFile c:\testing\data\xmleng\efute\input\Encoding\XML_encoding_007.xml
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_007.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_007.xml c:\testing\data\xmleng\efute\pattern\Encoding\DOM_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 ParseFile c:\testing\data\xmleng\efute\input\Encoding\XML_encoding_008.xml
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_008.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_008.xml c:\testing\data\xmleng\efute\pattern\Encoding\DOM_XML_encoding_008.ref
+delete test
+[Endtest]
+##############################################################
+# Check if file without xml prolog is processed.
+##############################################################
+
+[Test]
+title encoding_NoProlog(ISO)
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\Encoding\XML_encoding_009.xml
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_009.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_009.xml c:\testing\data\xmleng\efute\pattern\Encoding\DOM_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 ParseFile c:\testing\data\xmleng\efute\input\Encoding\XML_encoding_010.xml
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_010.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_010.xml c:\testing\data\xmleng\efute\pattern\Encoding\DOM_XML_encoding_010.ref
+delete test
+[Endtest]