24
|
1 |
##############################################################
|
|
2 |
# Check if XML file coded with UTF8 is parsed correctly.
|
|
3 |
##############################################################
|
|
4 |
|
|
5 |
[Test]
|
|
6 |
title encoding_UTF8
|
|
7 |
create xmlengtester test
|
|
8 |
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
|
|
9 |
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
|
|
10 |
delete test
|
|
11 |
[Endtest]
|
|
12 |
##############################################################
|
|
13 |
# Check if XML file coded with UTF16 is parsed correctly.
|
|
14 |
##############################################################
|
|
15 |
|
|
16 |
[Test]
|
|
17 |
title encoding_UTF16
|
|
18 |
create xmlengtester test
|
|
19 |
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
|
|
20 |
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
|
|
21 |
delete test
|
|
22 |
[Endtest]
|
|
23 |
##############################################################
|
|
24 |
# Check if XML file coded with UTF16 BE is parsed correctly.
|
|
25 |
##############################################################
|
|
26 |
|
|
27 |
[Test]
|
|
28 |
title encoding_UTF16BE
|
|
29 |
create xmlengtester test
|
|
30 |
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
|
|
31 |
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
|
|
32 |
delete test
|
|
33 |
[Endtest]
|
|
34 |
##############################################################
|
|
35 |
# Check if XML file coded with UTF16 LE is parsed correctly.
|
|
36 |
##############################################################
|
|
37 |
|
|
38 |
[Test]
|
|
39 |
title encoding_UTF16LE
|
|
40 |
create xmlengtester test
|
|
41 |
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
|
|
42 |
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
|
|
43 |
delete test
|
|
44 |
[Endtest]
|
|
45 |
##############################################################
|
|
46 |
# Check if XML file coded with ISO-8859-1 is parsed correctly.
|
|
47 |
##############################################################
|
|
48 |
|
|
49 |
[Test]
|
|
50 |
title encoding_ISO-8859-1
|
|
51 |
create xmlengtester test
|
|
52 |
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
|
|
53 |
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
|
|
54 |
delete test
|
|
55 |
[Endtest]
|
|
56 |
##############################################################
|
|
57 |
# Check if XML file coded with ASCII is parsed correctly.
|
|
58 |
##############################################################
|
|
59 |
|
|
60 |
[Test]
|
|
61 |
title encoding_ASCII
|
|
62 |
create xmlengtester test
|
|
63 |
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
|
|
64 |
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
|
|
65 |
delete test
|
|
66 |
[Endtest]
|
|
67 |
##############################################################
|
|
68 |
# Check if correct error is generated when wrong encodingis
|
|
69 |
# set.
|
|
70 |
##############################################################
|
|
71 |
|
|
72 |
[Test]
|
|
73 |
title encoding_WRONG(ISO-8859-2)
|
|
74 |
create xmlengtester test
|
|
75 |
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
|
|
76 |
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
|
|
77 |
delete test
|
|
78 |
[Endtest]
|
|
79 |
##############################################################
|
|
80 |
# Check if file with supported encoding but different then in
|
|
81 |
# xml prolog is processed
|
|
82 |
##############################################################
|
|
83 |
|
|
84 |
[Test]
|
|
85 |
title encoding_differentCodeThanProlog
|
|
86 |
create xmlengtester test
|
|
87 |
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
|
|
88 |
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
|
|
89 |
delete test
|
|
90 |
[Endtest]
|
|
91 |
##############################################################
|
|
92 |
# Check if file without xml prolog is processed.
|
|
93 |
##############################################################
|
|
94 |
|
|
95 |
[Test]
|
|
96 |
title encoding_NoProlog(ISO)
|
|
97 |
create xmlengtester test
|
|
98 |
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
|
|
99 |
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
|
|
100 |
delete test
|
|
101 |
[Endtest]
|
|
102 |
##############################################################
|
|
103 |
# Check if file without xml prolog is processed.
|
|
104 |
##############################################################
|
|
105 |
|
|
106 |
[Test]
|
|
107 |
title encoding_NoProlog(UTF-16BE)
|
|
108 |
create xmlengtester test
|
|
109 |
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
|
|
110 |
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
|
|
111 |
delete test
|
|
112 |
[Endtest]
|
|
113 |
|