24
|
1 |
|
|
2 |
[Test]
|
|
3 |
title binary-container-create-1001
|
|
4 |
create xmlengtester test
|
|
5 |
test PartialBinaryContainer create-bc 111 c:\testing\data\xmleng\efute\input\containers\ascii.bin 0 0 c:\testing\data\xmleng\efute\output\bincont\correct\partial\create\1001-libxml2tester-serdefault-bincont.xml 0
|
|
6 |
delete test
|
|
7 |
[Endtest]
|
|
8 |
|
|
9 |
[Test]
|
|
10 |
title binary-container-remove-6001
|
|
11 |
create xmlengtester test
|
|
12 |
test PartialBinaryContainer remove-bc 111 c:\testing\data\xmleng\efute\input\containers\ascii.bin c:\testing\data\xmleng\efute\input\bincont\signed-doc.xml 0 c:\testing\data\xmleng\efute\output\bincont\correct\partial\remove\6001-libxml2tester-serdefault-bincont.xml c:\testing\data\xmleng\efute\output\bincont\correct\partial\remove\6001-libxml2tester-serdefault-bincont-removed.xml
|
|
13 |
delete test
|
|
14 |
[Endtest]
|
|
15 |
|
|
16 |
[Test]
|
|
17 |
title DesGZIP-DeserializeL-File1
|
|
18 |
create xmlengtester test
|
|
19 |
test Deserialize gzip c:\testing\data\xmleng\efute\input\deserializer\correct\gzip\SerGZIP-File_001.gz c:\testing\data\xmleng\efute\output\deserializer\correct\gzip\DesGZIP-DeserializeL-File1.out
|
|
20 |
test CompareFiles c:\testing\data\xmleng\efute\output\deserializer\correct\gzip\DesGZIP-DeserializeL-File1.out c:\testing\data\xmleng\efute\pattern\deserializer\correct\gzip\DesGZIP-deserialized.ref
|
|
21 |
delete test
|
|
22 |
[Endtest]
|
|
23 |
|
|
24 |
[Test]
|
|
25 |
title DesInfosetXOP-UseExternalDataL
|
|
26 |
create xmlengtester test
|
|
27 |
test TestUseExternalDataInfoset infoset c:\testing\data\xmleng\efute\input\deserializer\correct\infosetxop\SerInfosetXOP_002.xml c:\testing\data\xmleng\efute\input\containers\login.gif c:\testing\data\xmleng\efute\input\containers\text.zip c:\testing\data\xmleng\efute\output\deserializer\correct\infosetxop\DesInfosetXOP-UseExternalDataL.out
|
|
28 |
test CompareFiles c:\testing\data\xmleng\efute\output\deserializer\correct\infosetxop\DesInfosetXOP-UseExternalDataL.out c:\testing\data\xmleng\efute\pattern\deserializer\correct\infosetxop\DesInfosetXOP-external-data.ref
|
|
29 |
delete test
|
|
30 |
[Endtest]
|
|
31 |
|
|
32 |
[Test]
|
|
33 |
title DesXOP-DeserializeL-File1
|
|
34 |
create xmlengtester test
|
|
35 |
test Deserialize xop c:\testing\data\xmleng\efute\input\deserializer\correct\xop\SerXOP_001.xml c:\testing\data\xmleng\efute\output\deserializer\correct\xop\DesXOP-DeserializeL-File1.out
|
|
36 |
test CompareFiles c:\testing\data\xmleng\efute\output\deserializer\correct\xop\DesXOP-DeserializeL-File1.out c:\testing\data\xmleng\efute\pattern\deserializer\correct\xop\DesXOP-deserialized.ref
|
|
37 |
delete test
|
|
38 |
[Endtest]
|
|
39 |
##############################################################
|
|
40 |
# Chunk Container - Copy: copy node with chunk containers,
|
|
41 |
# checks its element data
|
|
42 |
##############################################################
|
|
43 |
|
|
44 |
[Test]
|
|
45 |
title Chunk_Container_Copy2
|
|
46 |
create xmlengtester test
|
|
47 |
test ChunkContainerCopy2
|
|
48 |
delete test
|
|
49 |
[Endtest]
|
|
50 |
##############################################################
|
|
51 |
# 5 OK not full chunks
|
|
52 |
##############################################################
|
|
53 |
|
|
54 |
[Test]
|
|
55 |
title DOM_chunk_wf_05
|
|
56 |
create xmlengtester test
|
|
57 |
test ParseFileChunk c:\testing\data\xmleng\efute\input\chunk\XML_wf_05.xml 256
|
|
58 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\chunkparser\DOM_XML_chunk_wf_05.txt
|
|
59 |
test CompareFiles c:\testing\data\xmleng\efute\output\chunkparser\DOM_XML_chunk_wf_05.txt c:\testing\data\xmleng\efute\pattern\chunkparser\DOM_XML_chunk_wf_05.ref
|
|
60 |
delete test
|
|
61 |
[Endtest]
|
|
62 |
##############################################################
|
|
63 |
# Check if XML file coded with UTF16 BE is parsed correctly.
|
|
64 |
##############################################################
|
|
65 |
|
|
66 |
[Test]
|
|
67 |
title encoding_UTF16BE
|
|
68 |
create xmlengtester test
|
|
69 |
test ParseFile c:\testing\data\xmleng\efute\input\Encoding\XML_encoding_003.xml
|
|
70 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\Encoding\DOM_XML_encoding_003.xml
|
|
71 |
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
|
|
72 |
delete test
|
|
73 |
[Endtest]
|
|
74 |
##############################################################
|
|
75 |
# File Container - Copy3: copy node with file containers to
|
|
76 |
# another RDocument
|
|
77 |
##############################################################
|
|
78 |
|
|
79 |
[Test]
|
|
80 |
title File_Container_Copy3
|
|
81 |
create xmlengtester test
|
|
82 |
test FileContainerCopy3
|
|
83 |
delete test
|
|
84 |
[Endtest]
|
|
85 |
##############################################################
|
|
86 |
# Create new document using DOM
|
|
87 |
##############################################################
|
|
88 |
|
|
89 |
[Test]
|
|
90 |
title DOM Create Document
|
|
91 |
create xmlengtester test
|
|
92 |
test CreateDocument
|
|
93 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_001.xml
|
|
94 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_001.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_001.ref
|
|
95 |
delete test
|
|
96 |
[Endtest]
|
|
97 |
##############################################################
|
|
98 |
# Document sibling modification using DOM
|
|
99 |
##############################################################
|
|
100 |
|
|
101 |
[Test]
|
|
102 |
title DOM Sibling Modification
|
|
103 |
create xmlengtester test
|
|
104 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_03.xml
|
|
105 |
test CheckSiblingFunctions
|
|
106 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_006.xml
|
|
107 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_006.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_006.ref
|
|
108 |
delete test
|
|
109 |
[Endtest]
|
|
110 |
##############################################################
|
|
111 |
# Adding Attributes to Element function
|
|
112 |
##############################################################
|
|
113 |
|
|
114 |
[Test]
|
|
115 |
title DOM Adding Attributes to Element function
|
|
116 |
create xmlengtester test
|
|
117 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
|
|
118 |
test AddingAttributes
|
|
119 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_017.xml
|
|
120 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_017.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_017.ref
|
|
121 |
delete test
|
|
122 |
[Endtest]
|
|
123 |
##############################################################
|
|
124 |
# Adding Elements to Element function
|
|
125 |
##############################################################
|
|
126 |
|
|
127 |
[Test]
|
|
128 |
title DOM Adding Elements to Element function
|
|
129 |
create xmlengtester test
|
|
130 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
|
|
131 |
test AddingElements
|
|
132 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_018.xml
|
|
133 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_018.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_018.ref
|
|
134 |
delete test
|
|
135 |
[Endtest]
|
|
136 |
##############################################################
|
|
137 |
# XPath
|
|
138 |
##############################################################
|
|
139 |
|
|
140 |
[Test]
|
|
141 |
title XPath test 04
|
|
142 |
create xmlengtester test
|
|
143 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\xpath_01.xml
|
|
144 |
test Evaluate concat(string(..\test3[@attr1='3']),string(.))
|
|
145 |
test SaveResult c:\testing\data\xmleng\efute\output\dom\xpath_004.txt
|
|
146 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\xpath_004.txt c:\testing\data\xmleng\efute\pattern\dom\xpath_004.ref
|
|
147 |
delete test
|
|
148 |
[Endtest]
|
|
149 |
##############################################################
|
|
150 |
# Parse correct XML file using SAX parser. Check if namespaces
|
|
151 |
# are correctly processed.
|
|
152 |
##############################################################
|
|
153 |
|
|
154 |
[Test]
|
|
155 |
title wf_XML_Namespaces
|
|
156 |
create xmlengtester test
|
|
157 |
test SAXParseFile c:\testing\data\xmleng\efute\input\correct\XML_correct_002.xml c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_002.txt
|
|
158 |
test CompareFiles c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_002.txt c:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_002.ref
|
|
159 |
delete test
|
|
160 |
[Endtest]
|
|
161 |
##############################################################
|
|
162 |
# Parse correct XML file using SAX parser. Check if processing
|
|
163 |
# instructions are correctly processed.
|
|
164 |
##############################################################
|
|
165 |
|
|
166 |
[Test]
|
|
167 |
title wf_XML_ProcessingInstructions
|
|
168 |
create xmlengtester test
|
|
169 |
test SAXParseFile c:\testing\data\xmleng\efute\input\correct\XML_correct_003.xml c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_003.txt
|
|
170 |
test CompareFiles c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_003.txt c:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_003.ref
|
|
171 |
delete test
|
|
172 |
[Endtest]
|
|
173 |
##############################################################
|
|
174 |
# Parse correct XML file using SAX parser. Check if CDATA
|
|
175 |
# sections are correctly processed.
|
|
176 |
##############################################################
|
|
177 |
|
|
178 |
[Test]
|
|
179 |
title wf_XML_CDATA
|
|
180 |
create xmlengtester test
|
|
181 |
test SAXParseFile c:\testing\data\xmleng\efute\input\correct\XML_correct_004.xml c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_004.txt
|
|
182 |
test CompareFiles c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_004.txt c:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_004.ref
|
|
183 |
delete test
|
|
184 |
[Endtest]
|
|
185 |
##############################################################
|
|
186 |
# Parse XML file using SAX parser ( prefix
|
|
187 |
# mapping feature on ).
|
|
188 |
##############################################################
|
|
189 |
|
|
190 |
[Test]
|
|
191 |
title wf_XML_PrefixMapping
|
|
192 |
create xmlengtester test
|
|
193 |
test SAXParseFileWithNameSpaceMapping c:\testing\data\xmleng\efute\input\correct\XML_correct_014.xml c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_014.txt
|
|
194 |
test CompareFiles c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_014.txt c:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_014.ref
|
|
195 |
delete test
|
|
196 |
[Endtest]
|
|
197 |
##############################################################
|
|
198 |
# Parse XML file using SAX parser ( convert tags name to
|
|
199 |
# lower case feature on ).
|
|
200 |
##############################################################
|
|
201 |
|
|
202 |
[Test]
|
|
203 |
title wf_XML_ConvertTagToLowerCase
|
|
204 |
create xmlengtester test
|
|
205 |
test SAXParseFileWithTagToLowerCase c:\testing\data\xmleng\efute\input\correct\XML_correct_015.xml c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_015.txt
|
|
206 |
test CompareFiles c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_015.txt c:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_015.ref
|
|
207 |
delete test
|
|
208 |
[Endtest]
|
|
209 |
##############################################################
|
|
210 |
# Parse correct XML file using SAX parser. Check if
|
|
211 |
# entities are correctly processed.
|
|
212 |
##############################################################
|
|
213 |
|
|
214 |
[Test]
|
|
215 |
title wf_XML_AllKindEntities
|
|
216 |
create xmlengtester test
|
|
217 |
test SAXParseFile c:\testing\data\xmleng\efute\input\correct\XML_correct_017.xml c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_017.txt
|
|
218 |
test CompareFiles c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_017.txt c:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_017.ref
|
|
219 |
delete test
|
|
220 |
[Endtest]
|
|
221 |
##############################################################
|
|
222 |
# Parse correct XML file using SAX parser. Check if
|
|
223 |
# entities are correctly processed (feature on).
|
|
224 |
##############################################################
|
|
225 |
|
|
226 |
[Test]
|
|
227 |
title wf_XML_AllKindEntitiesWithFeature
|
|
228 |
create xmlengtester test
|
|
229 |
test SAXParseFileWithExternalSubsetFeature c:\testing\data\xmleng\efute\input\correct\XML_correct_017.xml c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_018.txt
|
|
230 |
test CompareFiles c:\testing\data\xmleng\efute\output\correct\SAX_XML_correct_018.txt c:\testing\data\xmleng\efute\pattern\correct\SAX_XML_correct_018.ref
|
|
231 |
delete test
|
|
232 |
[Endtest]
|
|
233 |
##############################################################
|
|
234 |
# Check if XML file coded with UTF8 is parsed correctly.
|
|
235 |
##############################################################
|
|
236 |
|
|
237 |
[Test]
|
|
238 |
title encoding_UTF8
|
|
239 |
create xmlengtester test
|
|
240 |
test SAXParseFile c:\testing\data\xmleng\efute\input\Encoding\XML_encoding_001.xml c:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_001.txt
|
|
241 |
test CompareFiles c:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_001.txt c:\testing\data\xmleng\efute\pattern\Encoding\SAX_XML_encoding_001.ref
|
|
242 |
delete test
|
|
243 |
[Endtest]
|
|
244 |
##############################################################
|
|
245 |
# Check if XML file coded with UTF16 BE is parsed correctly.
|
|
246 |
##############################################################
|
|
247 |
|
|
248 |
[Test]
|
|
249 |
title encoding_UTF16BE
|
|
250 |
create xmlengtester test
|
|
251 |
test SAXParseFile c:\testing\data\xmleng\efute\input\Encoding\XML_encoding_003.xml c:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_003.txt
|
|
252 |
test CompareFiles c:\testing\data\xmleng\efute\output\Encoding\SAX_XML_encoding_003.txt c:\testing\data\xmleng\efute\pattern\Encoding\SAX_XML_encoding_003.ref
|
|
253 |
delete test
|
|
254 |
[Endtest]
|
|
255 |
|
|
256 |
[Test]
|
|
257 |
title SerGZIP-SerializeL-File1
|
|
258 |
create xmlengtester test
|
|
259 |
test TestSerializeFile1 gzip 1 c:\testing\data\xmleng\efute\output\serializer\correct\gzip\SerGZIP-SerializeL-File1.gz
|
|
260 |
test DecompressGZIP c:\testing\data\xmleng\efute\output\serializer\correct\gzip\SerGZIP-SerializeL-File1.gz c:\testing\data\xmleng\efute\output\serializer\correct\gzip\SerGZIP-SerializeL-File1.xml
|
|
261 |
test CompareFiles c:\testing\data\xmleng\efute\output\serializer\correct\gzip\SerGZIP-SerializeL-File1.xml c:\testing\data\xmleng\efute\pattern\serializer\correct\gzip\SerGZIP-serialized.ref
|
|
262 |
delete test
|
|
263 |
[Endtest]
|
|
264 |
|
|
265 |
|
|
266 |
|
|
267 |
[Test]
|
|
268 |
title SerInfosetXOP-SerializeL-File1
|
|
269 |
create xmlengtester test
|
|
270 |
test TestSerializeFile1 infoset 1 c:\testing\data\xmleng\efute\output\serializer\correct\infosetxop\SerInfosetXOP-SerializeL-File1.out
|
|
271 |
test CompareFiles c:\testing\data\xmleng\efute\output\serializer\correct\infosetxop\SerInfosetXOP-SerializeL-File1.out c:\testing\data\xmleng\efute\pattern\serializer\correct\infosetxop\SerInfosetXOP-serialized.ref
|
|
272 |
delete test
|
|
273 |
[Endtest]
|
|
274 |
|
|
275 |
|
|
276 |
|
|
277 |
[Test]
|
|
278 |
title SerXOP-SerializeL-File1
|
|
279 |
create xmlengtester test
|
|
280 |
test TestSerializeFile1 xop 1 c:\testing\data\xmleng\efute\output\serializer\correct\xop\SerXOP-SerializeL-File1.out
|
|
281 |
test CompareFiles c:\testing\data\xmleng\efute\output\serializer\correct\xop\SerXOP-SerializeL-File1.out c:\testing\data\xmleng\efute\pattern\serializer\correct\xop\SerXOP-serialized.ref
|
|
282 |
delete test
|
|
283 |
[Endtest]
|
|
284 |
|
|
285 |
|
|
286 |
|