24
|
1 |
##############################################################
|
|
2 |
# Create new document using DOM
|
|
3 |
##############################################################
|
|
4 |
|
|
5 |
[Test]
|
|
6 |
title DOM Create Document
|
|
7 |
create xmlengtester test
|
|
8 |
test CreateDocument
|
|
9 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_001.xml
|
|
10 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_001.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_001.ref
|
|
11 |
delete test
|
|
12 |
[Endtest]
|
|
13 |
##############################################################
|
|
14 |
# Check document parameters using DOM
|
|
15 |
##############################################################
|
|
16 |
|
|
17 |
[Test]
|
|
18 |
title DOM Check Document Parameters
|
|
19 |
create xmlengtester test
|
|
20 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml
|
|
21 |
test CheckDocumentParameters
|
|
22 |
delete test
|
|
23 |
[Endtest]
|
|
24 |
##############################################################
|
|
25 |
# Create new document element using DOM
|
|
26 |
##############################################################
|
|
27 |
|
|
28 |
[Test]
|
|
29 |
title DOM Create Document Element
|
|
30 |
create xmlengtester test
|
|
31 |
test CreateDocumentElement
|
|
32 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_002.xml
|
|
33 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_002.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_002.ref
|
|
34 |
delete test
|
|
35 |
[Endtest]
|
|
36 |
##############################################################
|
|
37 |
# Create new document from node using DOM
|
|
38 |
##############################################################
|
|
39 |
|
|
40 |
[Test]
|
|
41 |
title DOM Create Document from Node
|
|
42 |
create xmlengtester test
|
|
43 |
test CreateDocumentFromNode
|
|
44 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_003.xml
|
|
45 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_003.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_003.ref
|
|
46 |
delete test
|
|
47 |
[Endtest]
|
|
48 |
##############################################################
|
|
49 |
# Clone document using DOM
|
|
50 |
##############################################################
|
|
51 |
|
|
52 |
[Test]
|
|
53 |
title DOM Clone Document
|
|
54 |
create xmlengtester test
|
|
55 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml
|
|
56 |
test CloneDocument
|
|
57 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_004.xml
|
|
58 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_004.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_004.ref
|
|
59 |
delete test
|
|
60 |
[Endtest]
|
|
61 |
##############################################################
|
|
62 |
# Change encoding using DOM
|
|
63 |
##############################################################
|
|
64 |
|
|
65 |
[Test]
|
|
66 |
title DOM Change Encoding
|
|
67 |
create xmlengtester test
|
|
68 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml
|
|
69 |
test SaveXmlToUTF16LE c:\testing\data\xmleng\efute\output\dom\DOM_modif_005.xml
|
|
70 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_005.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_005.ref
|
|
71 |
delete test
|
|
72 |
[Endtest]
|
|
73 |
##############################################################
|
|
74 |
# Check not null element using DOM
|
|
75 |
##############################################################
|
|
76 |
|
|
77 |
[Test]
|
|
78 |
title DOM Check NotNullElement Function
|
|
79 |
create xmlengtester test
|
|
80 |
test CheckNotNullElement
|
|
81 |
delete test
|
|
82 |
[Endtest]
|
|
83 |
##############################################################
|
|
84 |
# Document sibling modification using DOM
|
|
85 |
##############################################################
|
|
86 |
|
|
87 |
[Test]
|
|
88 |
title DOM Sibling Modification
|
|
89 |
create xmlengtester test
|
|
90 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_03.xml
|
|
91 |
test CheckSiblingFunctions
|
|
92 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_006.xml
|
|
93 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_006.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_006.ref
|
|
94 |
delete test
|
|
95 |
[Endtest]
|
|
96 |
##############################################################
|
|
97 |
# Check node parameters using DOM
|
|
98 |
##############################################################
|
|
99 |
|
|
100 |
[Test]
|
|
101 |
title DOM Check Node Parameters
|
|
102 |
create xmlengtester test
|
|
103 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
|
|
104 |
test CheckNodeParameters
|
|
105 |
delete test
|
|
106 |
[Endtest]
|
|
107 |
##############################################################
|
|
108 |
# Check parent nodes using DOM
|
|
109 |
##############################################################
|
|
110 |
|
|
111 |
[Test]
|
|
112 |
title DOM Check Parent Nodes
|
|
113 |
create xmlengtester test
|
|
114 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
|
|
115 |
test ParentNodes
|
|
116 |
delete test
|
|
117 |
[Endtest]
|
|
118 |
##############################################################
|
|
119 |
# Check Processing instruction functions using DOM
|
|
120 |
##############################################################
|
|
121 |
|
|
122 |
[Test]
|
|
123 |
title DOM Check Processing instruction functions
|
|
124 |
create xmlengtester test
|
|
125 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_04.xml
|
|
126 |
test CheckProcessingInstruction
|
|
127 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_008.xml
|
|
128 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_008.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_008.ref
|
|
129 |
delete test
|
|
130 |
[Endtest]
|
|
131 |
##############################################################
|
|
132 |
# Check Comments function using DOM
|
|
133 |
##############################################################
|
|
134 |
|
|
135 |
[Test]
|
|
136 |
title DOM Check Comments function
|
|
137 |
create xmlengtester test
|
|
138 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_04.xml
|
|
139 |
test CheckComments
|
|
140 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_009.xml
|
|
141 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_009.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_009.ref
|
|
142 |
delete test
|
|
143 |
[Endtest]
|
|
144 |
##############################################################
|
|
145 |
# Check CDATA function using DOM
|
|
146 |
##############################################################
|
|
147 |
|
|
148 |
[Test]
|
|
149 |
title DOM Check CDATA function
|
|
150 |
create xmlengtester test
|
|
151 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_05.xml
|
|
152 |
test CheckCDATA
|
|
153 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_010.xml
|
|
154 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_010.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_010.ref
|
|
155 |
delete test
|
|
156 |
[Endtest]
|
|
157 |
##############################################################
|
|
158 |
# Check Text Node function using DOM
|
|
159 |
##############################################################
|
|
160 |
|
|
161 |
[Test]
|
|
162 |
title DOM Check Text Node function
|
|
163 |
create xmlengtester test
|
|
164 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_05.xml
|
|
165 |
test CheckTextNode
|
|
166 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_011.xml
|
|
167 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_011.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_011.ref
|
|
168 |
delete test
|
|
169 |
[Endtest]
|
|
170 |
##############################################################
|
|
171 |
# Check Node Namespaces function using DOM
|
|
172 |
##############################################################
|
|
173 |
|
|
174 |
[Test]
|
|
175 |
title DOM Check Node Namespaces function
|
|
176 |
create xmlengtester test
|
|
177 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
|
|
178 |
test NodeNamespacePocessing
|
|
179 |
delete test
|
|
180 |
[Endtest]
|
|
181 |
##############################################################
|
|
182 |
# Check Entity Reference function using DOM
|
|
183 |
##############################################################
|
|
184 |
|
|
185 |
[Test]
|
|
186 |
title DOM Check Entity Reference function
|
|
187 |
create xmlengtester test
|
|
188 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_06.xml
|
|
189 |
test CheckEntityRef
|
|
190 |
delete test
|
|
191 |
[Endtest]
|
|
192 |
##############################################################
|
|
193 |
# Node Tree Modification using DOM
|
|
194 |
##############################################################
|
|
195 |
|
|
196 |
[Test]
|
|
197 |
title DOM Node Tree Modification
|
|
198 |
create xmlengtester test
|
|
199 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_07.xml
|
|
200 |
test NodeTreeModification
|
|
201 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_012.xml
|
|
202 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_012.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_012.ref
|
|
203 |
delete test
|
|
204 |
[Endtest]
|
|
205 |
##############################################################
|
|
206 |
# Node Tree Deleting
|
|
207 |
##############################################################
|
|
208 |
|
|
209 |
[Test]
|
|
210 |
title DOM Node Tree Deleting
|
|
211 |
create xmlengtester test
|
|
212 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_07.xml
|
|
213 |
test NodeTreeDeleting
|
|
214 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_013.xml
|
|
215 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_013.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_013.ref
|
|
216 |
delete test
|
|
217 |
[Endtest]
|
|
218 |
##############################################################
|
|
219 |
# Check Attributes function
|
|
220 |
##############################################################
|
|
221 |
|
|
222 |
[Test]
|
|
223 |
title DOM Check Attributes function
|
|
224 |
create xmlengtester test
|
|
225 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_08.xml
|
|
226 |
test CheckAttributes
|
|
227 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_014.xml
|
|
228 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_014.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_014.ref
|
|
229 |
delete test
|
|
230 |
[Endtest]
|
|
231 |
##############################################################
|
|
232 |
# Element Namespace Pocessing function
|
|
233 |
##############################################################
|
|
234 |
|
|
235 |
[Test]
|
|
236 |
title DOM Element Namespace Pocessing function
|
|
237 |
create xmlengtester test
|
|
238 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
|
|
239 |
test ElementNamespacePocessing
|
|
240 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_015.xml
|
|
241 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_015.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_015.ref
|
|
242 |
delete test
|
|
243 |
[Endtest]
|
|
244 |
##############################################################
|
|
245 |
# Check Node List function
|
|
246 |
##############################################################
|
|
247 |
|
|
248 |
[Test]
|
|
249 |
title DOM Check Node List function
|
|
250 |
create xmlengtester test
|
|
251 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_07.xml
|
|
252 |
test CheckNodeList
|
|
253 |
delete test
|
|
254 |
[Endtest]
|
|
255 |
##############################################################
|
|
256 |
# Check Element Attributes function
|
|
257 |
##############################################################
|
|
258 |
|
|
259 |
[Test]
|
|
260 |
title DOM Check Element Attributes function
|
|
261 |
create xmlengtester test
|
|
262 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_08.xml
|
|
263 |
test CheckElementAttributes
|
|
264 |
delete test
|
|
265 |
[Endtest]
|
|
266 |
##############################################################
|
|
267 |
# Check Modification of Attributes function
|
|
268 |
##############################################################
|
|
269 |
|
|
270 |
[Test]
|
|
271 |
title DOM Check Modification of Attributes function
|
|
272 |
create xmlengtester test
|
|
273 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_08.xml
|
|
274 |
test CheckModifAttributes
|
|
275 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_016.xml
|
|
276 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_016.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_016.ref
|
|
277 |
delete test
|
|
278 |
[Endtest]
|
|
279 |
##############################################################
|
|
280 |
# Adding Attributes to Element function
|
|
281 |
##############################################################
|
|
282 |
|
|
283 |
[Test]
|
|
284 |
title DOM Adding Attributes to Element function
|
|
285 |
create xmlengtester test
|
|
286 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
|
|
287 |
test AddingAttributes
|
|
288 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_017.xml
|
|
289 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_017.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_017.ref
|
|
290 |
delete test
|
|
291 |
[Endtest]
|
|
292 |
##############################################################
|
|
293 |
# Adding Elements to Element function
|
|
294 |
##############################################################
|
|
295 |
|
|
296 |
[Test]
|
|
297 |
title DOM Adding Elements to Element function
|
|
298 |
create xmlengtester test
|
|
299 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
|
|
300 |
test AddingElements
|
|
301 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_018.xml
|
|
302 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_018.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_018.ref
|
|
303 |
delete test
|
|
304 |
[Endtest]
|
|
305 |
##############################################################
|
|
306 |
# Check Coping Elements function
|
|
307 |
##############################################################
|
|
308 |
|
|
309 |
[Test]
|
|
310 |
title DOM Check Coping Elements function
|
|
311 |
create xmlengtester test
|
|
312 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_07.xml
|
|
313 |
test CheckModifElement
|
|
314 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_019.xml
|
|
315 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_019.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_019.ref
|
|
316 |
delete test
|
|
317 |
[Endtest]
|
|
318 |
##############################################################
|
|
319 |
# Set Element Text function
|
|
320 |
##############################################################
|
|
321 |
|
|
322 |
[Test]
|
|
323 |
title DOM Set Element Text function
|
|
324 |
create xmlengtester test
|
|
325 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_09.xml
|
|
326 |
test SetElementText
|
|
327 |
test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_020.xml
|
|
328 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_020.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_020.ref
|
|
329 |
delete test
|
|
330 |
[Endtest]
|
|
331 |
|
|
332 |
##############################################################
|
|
333 |
# Node Tree Modification using DOM
|
|
334 |
##############################################################
|
|
335 |
|
|
336 |
[Test]
|
|
337 |
title DOM InnerXml
|
|
338 |
create xmlengtester test
|
|
339 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_07.xml
|
|
340 |
test CheckInnerXml c:\testing\data\xmleng\efute\output\dom\DOM_inner_01.xml c:\testing\data\xmleng\efute\output\dom\DOM_inner_02.xml c:\testing\data\xmleng\efute\output\dom\DOM_inner_03.xml c:\testing\data\xmleng\efute\output\dom\DOM_inner_04.xml
|
|
341 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_inner_01.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_inner_01.ref
|
|
342 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_inner_02.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_inner_02.ref
|
|
343 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_inner_03.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_inner_03.ref
|
|
344 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_inner_04.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_inner_04.ref
|
|
345 |
delete test
|
|
346 |
[Endtest]
|
|
347 |
##############################################################
|
|
348 |
# Node Tree Modification using DOM
|
|
349 |
##############################################################
|
|
350 |
|
|
351 |
[Test]
|
|
352 |
title DOM OuterXml
|
|
353 |
create xmlengtester test
|
|
354 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_07.xml
|
|
355 |
test CheckOuterXml c:\testing\data\xmleng\efute\output\dom\DOM_outer_01.xml c:\testing\data\xmleng\efute\output\dom\DOM_outer_02.xml c:\testing\data\xmleng\efute\output\dom\DOM_outer_03.xml c:\testing\data\xmleng\efute\output\dom\DOM_outer_04.xml
|
|
356 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_outer_01.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_outer_01.ref
|
|
357 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_outer_02.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_outer_02.ref
|
|
358 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_outer_03.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_outer_03.ref
|
|
359 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_outer_04.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_outer_04.ref
|
|
360 |
delete test
|
|
361 |
[Endtest]
|
|
362 |
##############################################################
|
|
363 |
# Change encoding using DOM
|
|
364 |
##############################################################
|
|
365 |
|
|
366 |
[Test]
|
|
367 |
title DOM Serialization flags
|
|
368 |
create xmlengtester test
|
|
369 |
test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml
|
|
370 |
test SaveXmlToUTF16LE c:\testing\data\xmleng\efute\output\dom\DOM_modif_022.xml flag
|
|
371 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_022.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_022.ref
|
|
372 |
delete test
|
|
373 |
[Endtest]
|
|
374 |
#######################################################################################
|
|
375 |
# Check if predefined entities are not converted into characters they represent
|
|
376 |
#######################################################################################
|
|
377 |
|
|
378 |
[Test]
|
|
379 |
title DOM Attr SetValueNoEncL
|
|
380 |
create xmlengtester test
|
|
381 |
test SetValueNoEncTest c:\testing\data\xmleng\efute\input\dom\DOM_elem_000.xml c:\testing\data\xmleng\efute\output\dom\DOM_modif_034.xml
|
|
382 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_034.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_034.ref
|
|
383 |
delete test
|
|
384 |
[Endtest]
|
|
385 |
#######################################################################################
|
|
386 |
# Check function RXmlEngDocument::Implementation()
|
|
387 |
#######################################################################################
|
|
388 |
|
|
389 |
[Test]
|
|
390 |
title DOM Document Implementation
|
|
391 |
create xmlengtester test
|
|
392 |
test CreateDocument2 c:\testing\data\xmleng\efute\output\dom\DOM_modif_035.xml
|
|
393 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_035.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_035.ref
|
|
394 |
delete test
|
|
395 |
[Endtest]#######################################################################################
|
|
396 |
# Check if entity reference is created properly
|
|
397 |
#######################################################################################
|
|
398 |
|
|
399 |
[Test]
|
|
400 |
title DOM Document CreateEntityReferenceL
|
|
401 |
create xmlengtester test
|
|
402 |
test CreateEntityReferenceTest c:\testing\data\xmleng\efute\input\dom\DOM_elem_000.xml c:\testing\data\xmleng\efute\output\dom\DOM_modif_036.xml
|
|
403 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_036.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_036.ref
|
|
404 |
delete test
|
|
405 |
[Endtest]##############################################################
|
|
406 |
# Parse file with a handle to a file server session
|
|
407 |
##############################################################
|
|
408 |
|
|
409 |
[Test]
|
|
410 |
title DOM Parse with file stream
|
|
411 |
create xmlengtester test
|
|
412 |
test ParseFileDom2 c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml
|
|
413 |
delete test
|
|
414 |
[Endtest]
|
|
415 |
##############################################################
|
|
416 |
# Parse file from buffer
|
|
417 |
##############################################################
|
|
418 |
|
|
419 |
[Test]
|
|
420 |
title DOM Parse from buffer
|
|
421 |
create xmlengtester test
|
|
422 |
test ParseFileDom3 c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml
|
|
423 |
delete test
|
|
424 |
[Endtest]
|
|
425 |
##############################################################
|
|
426 |
# Look up namspace with given prefix
|
|
427 |
##############################################################
|
|
428 |
|
|
429 |
[Test]
|
|
430 |
title DOM look for namespace by prefix
|
|
431 |
create xmlengtester test
|
|
432 |
test LookupNamespaceByPrefixTest c:\testing\data\xmleng\efute\input\dom\DOM_modif_10.xml S
|
|
433 |
delete test
|
|
434 |
[Endtest]
|
|
435 |
##############################################################
|
|
436 |
# Look up namspace with given uri
|
|
437 |
##############################################################
|
|
438 |
|
|
439 |
[Test]
|
|
440 |
title DOM look for namespace by uri
|
|
441 |
create xmlengtester test
|
|
442 |
test LookupNamespaceByUriTest c:\testing\data\xmleng\efute\input\dom\DOM_modif_10.xml
|
|
443 |
delete test
|
|
444 |
[Endtest]
|
|
445 |
##############################################################
|
|
446 |
# Test removing all node's children
|
|
447 |
##############################################################
|
|
448 |
|
|
449 |
[Test]
|
|
450 |
title DOM Remove Children
|
|
451 |
create xmlengtester test
|
|
452 |
test RemoveChildrenTest c:\testing\data\xmleng\efute\input\dom\DOM_modif_10.xml c:\testing\data\xmleng\efute\output\dom\DOM_modif_041.xml
|
|
453 |
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_041.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_041.ref
|
|
454 |
delete test
|
|
455 |
[Endtest]
|
|
456 |
##############################################################
|
|
457 |
# Create, append, delete user data. Using external intrerface
|
|
458 |
##############################################################
|
|
459 |
|
|
460 |
[Test]
|
|
461 |
title DOM User Data
|
|
462 |
create xmlengtester test
|
|
463 |
test UserDataTest c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml c:\testing\data\xmleng\efute\input\containers\login.gif
|
|
464 |
delete test
|
|
465 |
[Endtest]
|
|
466 |
##############################################################
|
|
467 |
# Base Uri test
|
|
468 |
##############################################################
|
|
469 |
|
|
470 |
[Test]
|
|
471 |
title DOM Base Uri
|
|
472 |
create xmlengtester test
|
|
473 |
test BaseUriTest
|
|
474 |
delete test
|
|
475 |
[Endtest]
|
|
476 |
##############################################################
|
|
477 |
# Look up namspace with given prefix in parent nodes
|
|
478 |
##############################################################
|
|
479 |
|
|
480 |
[Test]
|
|
481 |
title DOM look for namesp by pref in parent nodes
|
|
482 |
create xmlengtester test
|
|
483 |
test LookupNamespaceByPrefixTest2 c:\testing\data\xmleng\efute\input\dom\DOM_modif_10.xml
|
|
484 |
delete test
|
|
485 |
[Endtest]
|
|
486 |
##############################################################
|
|
487 |
# Look up namspace with given uri in parent nodes
|
|
488 |
##############################################################
|
|
489 |
|
|
490 |
[Test]
|
|
491 |
title DOM look for namesp by uri in parent nodes
|
|
492 |
create xmlengtester test
|
|
493 |
test LookupNamespaceByUriTest2 c:\testing\data\xmleng\efute\input\dom\DOM_modif_10.xml
|
|
494 |
delete test
|
|
495 |
[Endtest]
|
|
496 |
|