24
|
1 |
##############################################################
|
|
2 |
# Chunk Container - AdoptNode: appends document with chunk
|
|
3 |
# containers to another and checks chunks data
|
|
4 |
##############################################################
|
|
5 |
|
|
6 |
[Test]
|
|
7 |
title Chunk_Container_AdoptNode
|
|
8 |
create xmlengtester test
|
|
9 |
test ChunkContainerAdoptNode
|
|
10 |
delete test
|
|
11 |
[Endtest]
|
|
12 |
##############################################################
|
|
13 |
# Chunk Container - Chunk
|
|
14 |
##############################################################
|
|
15 |
|
|
16 |
[Test]
|
|
17 |
title Chunk_Container_Chunk
|
|
18 |
create xmlengtester test
|
|
19 |
test ParseFileChunk c:\testing\data\xmleng\efute\input\chunk\XML_wf_11.xml 256
|
|
20 |
test ChunkContainerChunk
|
|
21 |
delete test
|
|
22 |
[Endtest]
|
|
23 |
##############################################################
|
|
24 |
# Chunk Container - Cid
|
|
25 |
##############################################################
|
|
26 |
|
|
27 |
[Test]
|
|
28 |
title Chunk_Container_Cid
|
|
29 |
create xmlengtester test
|
|
30 |
test ParseFileChunk c:\testing\data\xmleng\efute\input\chunk\XML_wf_11.xml 256
|
|
31 |
test ChunkContainerCid
|
|
32 |
delete test
|
|
33 |
[Endtest]
|
|
34 |
##############################################################
|
|
35 |
# Chunk Container - Cid: create 2 chunkcontainers with the same
|
|
36 |
# cid,create third chunkcontainer (other cid), do ReplaceWith:
|
|
37 |
# chunkcontainer2 -> chunkcontainer3, returns 2 chunkcontainers
|
|
38 |
##############################################################
|
|
39 |
|
|
40 |
[Test]
|
|
41 |
title Chunk_Container_CidError
|
|
42 |
create xmlengtester test
|
|
43 |
test ParseFileChunk c:\testing\data\xmleng\efute\input\chunk\XML_wf_11.xml 256
|
|
44 |
test ChunkContainerCidError
|
|
45 |
delete test
|
|
46 |
[Endtest]
|
|
47 |
##############################################################
|
|
48 |
# Chunk Container - Clone
|
|
49 |
##############################################################
|
|
50 |
|
|
51 |
[Test]
|
|
52 |
title Chunk_Container_Clone
|
|
53 |
create xmlengtester test
|
|
54 |
test ChunkContainerClone
|
|
55 |
delete test
|
|
56 |
[Endtest]
|
|
57 |
##############################################################
|
|
58 |
# Chunk Container - CopyTo
|
|
59 |
##############################################################
|
|
60 |
|
|
61 |
[Test]
|
|
62 |
title Chunk_Container_CopyTo
|
|
63 |
create xmlengtester test
|
|
64 |
test ChunkContainerCopyTo
|
|
65 |
delete test
|
|
66 |
[Endtest]
|
|
67 |
##############################################################
|
|
68 |
# Chunk Container - Copy: copy container, check its data: cid,
|
|
69 |
# chunk..., and chech if on list there is 3elements+1copy
|
|
70 |
##############################################################
|
|
71 |
|
|
72 |
[Test]
|
|
73 |
title Chunk_Container_Copy
|
|
74 |
create xmlengtester test
|
|
75 |
test ChunkContainerCopy
|
|
76 |
delete test
|
|
77 |
[Endtest]
|
|
78 |
##############################################################
|
|
79 |
# Chunk Container - Copy: copy node with chunk containers,
|
|
80 |
# checks its element data
|
|
81 |
##############################################################
|
|
82 |
|
|
83 |
[Test]
|
|
84 |
title Chunk_Container_Copy2
|
|
85 |
create xmlengtester test
|
|
86 |
test ChunkContainerCopy2
|
|
87 |
delete test
|
|
88 |
[Endtest]
|
|
89 |
##############################################################
|
|
90 |
# Chunk Container - Copy3: copy node with chunk containers to
|
|
91 |
# another RDocument
|
|
92 |
##############################################################
|
|
93 |
|
|
94 |
[Test]
|
|
95 |
title Chunk_Container_Copy3
|
|
96 |
create xmlengtester test
|
|
97 |
test ChunkContainerCopy3
|
|
98 |
delete test
|
|
99 |
[Endtest]
|
|
100 |
##############################################################
|
|
101 |
# Chunk Container - Copy4: copy grandparents, check if chunk
|
|
102 |
# containers are there and not changed
|
|
103 |
##############################################################
|
|
104 |
|
|
105 |
[Test]
|
|
106 |
title Chunk_Container_Copy4
|
|
107 |
create xmlengtester test
|
|
108 |
test ChunkContainerCopy4
|
|
109 |
delete test
|
|
110 |
[Endtest]
|
|
111 |
##############################################################
|
|
112 |
# Chunk Container - GetList: creates 19 chunkcontainers and
|
|
113 |
# checks its name, cid...
|
|
114 |
##############################################################
|
|
115 |
|
|
116 |
[Test]
|
|
117 |
title Chunk_Container_GetList
|
|
118 |
create xmlengtester test
|
|
119 |
test ParseFileChunk c:\testing\data\xmleng\efute\input\chunk\XML_wf_11.xml 256
|
|
120 |
test ChunkContainerGetList
|
|
121 |
delete test
|
|
122 |
[Endtest]
|
|
123 |
##############################################################
|
|
124 |
# Chunk Container - MoveAfterSibling: checks moving parent node
|
|
125 |
# after another node
|
|
126 |
##############################################################
|
|
127 |
|
|
128 |
[Test]
|
|
129 |
title Chunk_Container_MoveAfterSibling
|
|
130 |
create xmlengtester test
|
|
131 |
test ChunkContainerMoveAfterSibling
|
|
132 |
delete test
|
|
133 |
[Endtest]
|
|
134 |
##############################################################
|
|
135 |
# Chunk Container - MoveBeforeSibling: checks moving parent node
|
|
136 |
# before another node
|
|
137 |
##############################################################
|
|
138 |
|
|
139 |
[Test]
|
|
140 |
title Chunk_Container_MoveBeforeSibling
|
|
141 |
create xmlengtester test
|
|
142 |
test ChunkContainerMoveBeforeSibling
|
|
143 |
delete test
|
|
144 |
[Endtest]
|
|
145 |
##############################################################
|
|
146 |
# Chunk Container - MoveTo: checks moving parent node
|
|
147 |
# to the new place in nodes tree
|
|
148 |
##############################################################
|
|
149 |
|
|
150 |
[Test]
|
|
151 |
title Chunk_Container_MoveTo
|
|
152 |
create xmlengtester test
|
|
153 |
test ChunkContainerMoveTo
|
|
154 |
delete test
|
|
155 |
[Endtest]
|
|
156 |
##############################################################
|
|
157 |
# Chunk Container - NodeType
|
|
158 |
##############################################################
|
|
159 |
|
|
160 |
[Test]
|
|
161 |
title Chunk_Container_NodeType
|
|
162 |
create xmlengtester test
|
|
163 |
test ParseFileChunk c:\testing\data\xmleng\efute\input\chunk\XML_wf_11.xml 256
|
|
164 |
test ChunkContainerNodeType
|
|
165 |
delete test
|
|
166 |
[Endtest]
|
|
167 |
##############################################################
|
|
168 |
# Chunk Container - ChunkOffset
|
|
169 |
##############################################################
|
|
170 |
|
|
171 |
[Test]
|
|
172 |
title Chunk_Container_Offset
|
|
173 |
create xmlengtester test
|
|
174 |
test ParseFileChunk c:\testing\data\xmleng\efute\input\chunk\XML_wf_11.xml 256
|
|
175 |
test ChunkContainerOffset
|
|
176 |
delete test
|
|
177 |
[Endtest]
|
|
178 |
##############################################################
|
|
179 |
# Chunk Container - ReconcileNamespaces: checks chunks status
|
|
180 |
# after operation - reconcile - on namespaces
|
|
181 |
##############################################################
|
|
182 |
|
|
183 |
[Test]
|
|
184 |
title Chunk_Container_ReconcileNamespaces
|
|
185 |
create xmlengtester test
|
|
186 |
test ChunkContainerReconcileNamespaces
|
|
187 |
delete test
|
|
188 |
[Endtest]
|
|
189 |
##############################################################
|
|
190 |
# Chunk Container - Removc:input 3 chunks, removes second,
|
|
191 |
# check if cid of 1 and 3 comapare with test data -
|
|
192 |
# returns 2 chunks in list
|
|
193 |
##############################################################
|
|
194 |
|
|
195 |
[Test]
|
|
196 |
title Chunk_Container_Remove
|
|
197 |
create xmlengtester test
|
|
198 |
test ChunkContainerRemove
|
|
199 |
delete test
|
|
200 |
[Endtest]
|
|
201 |
##############################################################
|
|
202 |
# Chunk Container - Remove2: input third chunk with the same
|
|
203 |
# cid as first chunk, remove it - returns 2 chunks in list
|
|
204 |
##############################################################
|
|
205 |
|
|
206 |
[Test]
|
|
207 |
title Chunk_Container_Remove2
|
|
208 |
create xmlengtester test
|
|
209 |
test ChunkContainerRemove2
|
|
210 |
delete test
|
|
211 |
[Endtest]
|
|
212 |
##############################################################
|
|
213 |
# Chunk Container - Remove3: input some other data and move it
|
|
214 |
# before chunk container end then remove some chunk from list
|
|
215 |
##############################################################
|
|
216 |
|
|
217 |
[Test]
|
|
218 |
title Chunk_Container_Remove3
|
|
219 |
create xmlengtester test
|
|
220 |
test ChunkContainerRemove3
|
|
221 |
delete test
|
|
222 |
[Endtest]
|
|
223 |
##############################################################
|
|
224 |
# Chunk Container - ReplaceWith: input 3 chunks,
|
|
225 |
# replace second one (with cid1) with fourth one (cid3),
|
|
226 |
##############################################################
|
|
227 |
|
|
228 |
[Test]
|
|
229 |
title Chunk_Container_ReplaceWith
|
|
230 |
create xmlengtester test
|
|
231 |
test ChunkContainerReplaceWith
|
|
232 |
delete test
|
|
233 |
[Endtest]
|
|
234 |
##############################################################
|
|
235 |
# Chunk Container - SetAsFirstSibling: checks moving parent node
|
|
236 |
# to the first place
|
|
237 |
##############################################################
|
|
238 |
|
|
239 |
[Test]
|
|
240 |
title Chunk_Container_SetAsFirstSibling
|
|
241 |
create xmlengtester test
|
|
242 |
test ChunkContainerSetAsFirstSibling
|
|
243 |
delete test
|
|
244 |
[Endtest]
|
|
245 |
##############################################################
|
|
246 |
# Chunk Container - SetAsLastSibling: checks moving parent node
|
|
247 |
# to the last place
|
|
248 |
##############################################################
|
|
249 |
|
|
250 |
[Test]
|
|
251 |
title Chunk_Container_SetAsLastSibling
|
|
252 |
create xmlengtester test
|
|
253 |
test ChunkContainerSetAsLastSibling
|
|
254 |
delete test
|
|
255 |
[Endtest]
|
|
256 |
##############################################################
|
|
257 |
# Chunk Container - Size
|
|
258 |
##############################################################
|
|
259 |
|
|
260 |
[Test]
|
|
261 |
title Chunk_Container_Size
|
|
262 |
create xmlengtester test
|
|
263 |
test ParseFileChunk c:\testing\data\xmleng\efute\input\chunk\XML_wf_11.xml 256
|
|
264 |
test ChunkContainerSize
|
|
265 |
delete test
|
|
266 |
[Endtest]
|
|
267 |
##############################################################
|
|
268 |
# Chunk Container - SubstituteFor
|
|
269 |
##############################################################
|
|
270 |
|
|
271 |
[Test]
|
|
272 |
title Chunk_Container_SubstituteFor
|
|
273 |
create xmlengtester test
|
|
274 |
test ChunkContainerSubstituteFor
|
|
275 |
delete test
|
|
276 |
[Endtest]
|
|
277 |
##############################################################
|
|
278 |
# Chunk Container - Unlink: input 3 chunks, unlink one,
|
|
279 |
# list.count should be 2
|
|
280 |
##############################################################
|
|
281 |
|
|
282 |
[Test]
|
|
283 |
title Chunk_Container_Unlink
|
|
284 |
create xmlengtester test
|
|
285 |
test ChunkContainerUnlink
|
|
286 |
delete test
|
|
287 |
[Endtest]
|
|
288 |
|