24
|
1 |
##############################################################
|
|
2 |
# Parse correct XML file using SAX parser. Check if elements,
|
|
3 |
# attributes are correctly processed.
|
|
4 |
##############################################################
|
|
5 |
|
|
6 |
[Test]
|
|
7 |
title wf_XML_Elements&Arguments
|
|
8 |
create xmlengtester test
|
|
9 |
test SAXParseFile E:\testing\data\xmleng\efute\input\correct\XML_correct_001.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_001.txt
|
|
10 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_001.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_001.ref
|
|
11 |
delete test
|
|
12 |
[Endtest]
|
|
13 |
##############################################################
|
|
14 |
# Parse correct XML file using SAX parser. Check if namespaces
|
|
15 |
# are correctly processed.
|
|
16 |
##############################################################
|
|
17 |
|
|
18 |
[Test]
|
|
19 |
title wf_XML_Namespaces
|
|
20 |
create xmlengtester test
|
|
21 |
test SAXParseFile E:\testing\data\xmleng\efute\input\correct\XML_correct_002.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_002.txt
|
|
22 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_002.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_002.ref
|
|
23 |
delete test
|
|
24 |
[Endtest]
|
|
25 |
##############################################################
|
|
26 |
# Parse correct XML file using SAX parser. Check if processing
|
|
27 |
# instructions are correctly processed.
|
|
28 |
##############################################################
|
|
29 |
|
|
30 |
[Test]
|
|
31 |
title wf_XML_ProcessingInstructions
|
|
32 |
create xmlengtester test
|
|
33 |
test SAXParseFile E:\testing\data\xmleng\efute\input\correct\XML_correct_003.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_003.txt
|
|
34 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_003.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_003.ref
|
|
35 |
delete test
|
|
36 |
[Endtest]
|
|
37 |
##############################################################
|
|
38 |
# Parse correct XML file using SAX parser. Check if CDATA
|
|
39 |
# sections are correctly processed.
|
|
40 |
##############################################################
|
|
41 |
|
|
42 |
[Test]
|
|
43 |
title wf_XML_CDATA
|
|
44 |
create xmlengtester test
|
|
45 |
test SAXParseFile E:\testing\data\xmleng\efute\input\correct\XML_correct_004.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_004.txt
|
|
46 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_004.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_004.ref
|
|
47 |
delete test
|
|
48 |
[Endtest]
|
|
49 |
##############################################################
|
|
50 |
# Parse correct XML file using SAX parser. Check if XML
|
|
51 |
# comments are correctly processed.
|
|
52 |
##############################################################
|
|
53 |
|
|
54 |
[Test]
|
|
55 |
title wf_XML_Comments
|
|
56 |
create xmlengtester test
|
|
57 |
test SAXParseFile E:\testing\data\xmleng\efute\input\correct\XML_correct_005.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_005.txt
|
|
58 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_005.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_005.ref
|
|
59 |
delete test
|
|
60 |
[Endtest]
|
|
61 |
##############################################################
|
|
62 |
# Parse correct XML file using SAX parser. Check if external subset
|
|
63 |
# entities are correctly processed.
|
|
64 |
##############################################################
|
|
65 |
|
|
66 |
[Test]
|
|
67 |
title wf_XML_ExternalSubsetEntity
|
|
68 |
create xmlengtester test
|
|
69 |
test SAXParseFile E:\testing\data\xmleng\efute\input\correct\XML_correct_006.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_006.txt
|
|
70 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_006.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_006.ref
|
|
71 |
delete test
|
|
72 |
[Endtest]
|
|
73 |
###############################################################
|
|
74 |
# Parse correct XML file using SAX parser. Check if predefinied
|
|
75 |
# entities are correctly processed.
|
|
76 |
###############################################################
|
|
77 |
|
|
78 |
[Test]
|
|
79 |
title wf_XML_PredefiniedEntity
|
|
80 |
create xmlengtester test
|
|
81 |
test SAXParseFile E:\testing\data\xmleng\efute\input\correct\XML_correct_007.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_007.txt
|
|
82 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_007.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_007.ref
|
|
83 |
delete test
|
|
84 |
[Endtest]
|
|
85 |
###############################################################
|
|
86 |
# Parse correct XML file using SAX parser. Check if internal
|
|
87 |
# entities are correctly processed.
|
|
88 |
###############################################################
|
|
89 |
|
|
90 |
[Test]
|
|
91 |
title wf_XML_InternalEntity
|
|
92 |
create xmlengtester test
|
|
93 |
test SAXParseFile E:\testing\data\xmleng\efute\input\correct\XML_correct_008.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_008.txt
|
|
94 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_008.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_008.ref
|
|
95 |
delete test
|
|
96 |
[Endtest]
|
|
97 |
###############################################################
|
|
98 |
# Parse correct XML file using SAX parser. Check if unparsed
|
|
99 |
# entities are correctly processed.
|
|
100 |
###############################################################
|
|
101 |
|
|
102 |
[Test]
|
|
103 |
title wf_XML_UnparsedEntity
|
|
104 |
create xmlengtester test
|
|
105 |
test SAXParseFile E:\testing\data\xmleng\efute\input\correct\XML_correct_009.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_009.txt
|
|
106 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_009.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_009.ref
|
|
107 |
delete test
|
|
108 |
[Endtest]
|
|
109 |
#####################################################
|
|
110 |
# Parse correct XML file using SAX parser. Check if
|
|
111 |
# external entity is correctly processed.
|
|
112 |
#####################################################
|
|
113 |
|
|
114 |
[Test]
|
|
115 |
title wf_XML_ExternalEntity
|
|
116 |
create xmlengtester test
|
|
117 |
test SAXParseFile E:\testing\data\xmleng\efute\input\correct\XML_correct_010.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_010.txt
|
|
118 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_010.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_010.ref
|
|
119 |
delete test
|
|
120 |
[Endtest]
|
|
121 |
###############################################################
|
|
122 |
# Parse correct XML file using SAX parser. Check if document
|
|
123 |
# parameters are correctly processed.
|
|
124 |
###############################################################
|
|
125 |
|
|
126 |
[Test]
|
|
127 |
title wf_XML_Prolog
|
|
128 |
create xmlengtester test
|
|
129 |
test SAXParseFile E:\testing\data\xmleng\efute\input\correct\XML_correct_011.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_011.txt
|
|
130 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_011.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_011.ref
|
|
131 |
delete test
|
|
132 |
[Endtest]
|
|
133 |
|
|
134 |
##############################################################
|
|
135 |
# Parse correct XML file using SAX parser (from buffer).
|
|
136 |
##############################################################
|
|
137 |
|
|
138 |
[Test]
|
|
139 |
title wf_XML_ParseBuffer
|
|
140 |
create xmlengtester test
|
|
141 |
test SAXParseBuffer E:\testing\data\xmleng\efute\input\correct\XML_correct_013.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_013.txt
|
|
142 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_013.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_013.ref
|
|
143 |
delete test
|
|
144 |
[Endtest]
|
|
145 |
##############################################################
|
|
146 |
# Parse XML file using SAX parser ( prefix
|
|
147 |
# mapping feature on ).
|
|
148 |
##############################################################
|
|
149 |
|
|
150 |
[Test]
|
|
151 |
title wf_XML_PrefixMapping
|
|
152 |
create xmlengtester test
|
|
153 |
test SAXParseFileWithNameSpaceMapping E:\testing\data\xmleng\efute\input\correct\XML_correct_014.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_014.txt
|
|
154 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_014.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_014.ref
|
|
155 |
delete test
|
|
156 |
[Endtest]
|
|
157 |
##############################################################
|
|
158 |
# Parse XML file using SAX parser ( convert tags name to
|
|
159 |
# lower case feature on ).
|
|
160 |
##############################################################
|
|
161 |
|
|
162 |
[Test]
|
|
163 |
title wf_XML_ConvertTagToLowerCase
|
|
164 |
create xmlengtester test
|
|
165 |
test SAXParseFileWithTagToLowerCase E:\testing\data\xmleng\efute\input\correct\XML_correct_015.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_015.txt
|
|
166 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_015.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_015.ref
|
|
167 |
delete test
|
|
168 |
[Endtest]
|
|
169 |
##############################################################
|
|
170 |
# Parse correct XML file using SAX parser. Check if external subset
|
|
171 |
# entities are correctly processed (feature on).
|
|
172 |
##############################################################
|
|
173 |
|
|
174 |
[Test]
|
|
175 |
title wf_XML_ExternalSubsetFeature
|
|
176 |
create xmlengtester test
|
|
177 |
test SAXParseFileWithExternalSubsetFeature E:\testing\data\xmleng\efute\input\correct\XML_correct_006.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_016.txt
|
|
178 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_016.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_016.ref
|
|
179 |
delete test
|
|
180 |
[Endtest]
|
|
181 |
##############################################################
|
|
182 |
# Parse correct XML file using SAX parser. Check if
|
|
183 |
# entities are correctly processed.
|
|
184 |
##############################################################
|
|
185 |
|
|
186 |
[Test]
|
|
187 |
title wf_XML_AllKindEntities
|
|
188 |
create xmlengtester test
|
|
189 |
test SAXParseFile E:\testing\data\xmleng\efute\input\correct\XML_correct_017.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_017.txt
|
|
190 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_017.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_017.ref
|
|
191 |
delete test
|
|
192 |
[Endtest]
|
|
193 |
##############################################################
|
|
194 |
# Parse correct XML file using SAX parser. Check if
|
|
195 |
# entities are correctly processed (feature on).
|
|
196 |
##############################################################
|
|
197 |
|
|
198 |
[Test]
|
|
199 |
title wf_XML_AllKindEntitiesWithFeature
|
|
200 |
create xmlengtester test
|
|
201 |
test SAXParseFileWithExternalSubsetFeature E:\testing\data\xmleng\efute\input\correct\XML_correct_017.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_018.txt
|
|
202 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_018.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_018.ref
|
|
203 |
delete test
|
|
204 |
[Endtest]
|
|
205 |
##############################################################
|
|
206 |
# Check if default parser is created (EXPAT)
|
|
207 |
##############################################################
|
|
208 |
|
|
209 |
[Test]
|
|
210 |
title EXPAT parser
|
|
211 |
create xmlengtester test
|
|
212 |
test SAXParseFile E:\testing\data\xmleng\efute\input\correct\XML_correct_002.xml E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_002E.txt EXPAT
|
|
213 |
test CompareFiles E:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_002E.txt E:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_002E.ref
|
|
214 |
delete test
|
|
215 |
[Endtest]
|
|
216 |
|