File: TEST-org.simpleframework.xml.strategy.ArrayCycleTest.txt

package info (click to toggle)
simple-xml 2.7.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 8,524 kB
  • sloc: java: 45,356; xml: 277; sh: 11; makefile: 10
file content (238 lines) | stat: -rw-r--r-- 10,453 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
Testsuite: org.simpleframework.xml.strategy.ArrayCycleTest
Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.17 sec
------------- Standard Output ---------------
<root id="0">
   <one length="5" id="1">
      <entry id="2" value="entry one"/>
      <entry id="3" value="entry two"/>
      <entry id="4" value="entry three"/>
      <entry id="5" value="entry four"/>
      <entry id="6" value="entry five"/>
   </one>
   <two ref="1"/>
   <three length="3" id="7">
      <entry id="8" value="tom"/>
      <entry id="9" value="dick"/>
      <entry id="10" value="harry"/>
   </three>
   <example ref="0"/>
</root><root id="0">
   <one length="5" id="1">
      <entry id="2" value="entry one"/>
      <entry id="3" value="entry two"/>
      <entry id="4" value="entry three"/>
      <entry id="5" value="entry four"/>
      <entry id="6" value="entry five"/>
   </one>
   <two ref="1"/>
   <three length="3" id="7">
      <entry id="8" value="tom"/>
      <entry id="9" value="dick"/>
      <entry id="10" value="harry"/>
   </three>
   <example ref="0"/>
</root>
<root ID="0">
   <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Entry; -->
   <one length="5" ID="1">
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <entry ID="2" value="entry one"/>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <entry ID="3" value="entry two"/>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <entry ID="4" value="entry three"/>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <entry ID="5" value="entry four"/>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <entry ID="6" value="entry five"/>
   </one>
   <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Entry; -->
   <two REFERER="1"/>
   <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Entry; -->
   <three length="3" ID="7">
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <entry ID="8" value="tom"/>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <entry ID="9" value="dick"/>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <entry ID="10" value="harry"/>
   </three>
   <!-- org.simpleframework.xml.strategy.ArrayCycleTest$ArrayCycleExample -->
   <example REFERER="0"/>
</root>>>>>> ELEMENT=[element root]
>>>>> TYPE=[class org.simpleframework.xml.strategy.ArrayCycleTest$ArrayCycleExample]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Root ID="0">
   <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Entry; -->
   <One length="5" ID="1">
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <Entry ID="2" value="entry one"/>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <Entry ID="3" value="entry two"/>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <Entry ID="4" value="entry three"/>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <Entry ID="5" value="entry four"/>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <Entry ID="6" value="entry five"/>
   </One>
   <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Entry; -->
   <Two REFERER="1"/>
   <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Entry; -->
   <Three length="3" ID="7">
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <Entry ID="8" value="tom"/>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <Entry ID="9" value="dick"/>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Entry -->
      <Entry ID="10" value="harry"/>
   </Three>
   <!-- org.simpleframework.xml.strategy.ArrayCycleTest$ArrayCycleExample -->
   <Example REFERER="0"/>
</Root>>>>>> ELEMENT=[element Root]
>>>>> TYPE=[class org.simpleframework.xml.strategy.ArrayCycleTest$ArrayCycleExample]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<root id="0">
   <array length="2" id="1">
      <entry id="2">
         <list ref="1"/>
      </entry>
      <entry id="3">
         <list length="3" id="4">
            <entry class="org.simpleframework.xml.strategy.ArrayCycleTest$TextValue" id="5" name="blah">
               <list ref="4"/>
               <text id="6">Some text</text>
            </entry>
            <entry ref="3"/>
            <entry class="org.simpleframework.xml.strategy.ArrayCycleTest$ElementValue" id="7">
               <element id="8">Example element text</element>
            </entry>
         </list>
      </entry>
   </array>
</root><root id="0">
   <array length="2" id="1">
      <entry id="2">
         <list ref="1"/>
      </entry>
      <entry id="3">
         <list length="3" id="4">
            <entry class="org.simpleframework.xml.strategy.ArrayCycleTest$TextValue" id="5" name="blah">
               <list ref="4"/>
               <text id="6">Some text</text>
            </entry>
            <entry ref="3"/>
            <entry class="org.simpleframework.xml.strategy.ArrayCycleTest$ElementValue" id="7">
               <element id="8">Example element text</element>
            </entry>
         </list>
      </entry>
   </array>
</root>
<root ID="0">
   <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Value; -->
   <array length="2" ID="1">
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Value -->
      <entry ID="2">
         <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Value; -->
         <list REFERER="1"/>
      </entry>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Value -->
      <entry ID="3">
         <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Value; -->
         <list length="3" ID="4">
            <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Value -->
            <entry class="org.simpleframework.xml.strategy.ArrayCycleTest$TextValue" ID="5" name="blah">
               <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Value; -->
               <list REFERER="4"/>
               <!-- java.lang.String -->
               <text ID="6">Some text</text>
            </entry>
            <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Value -->
            <entry REFERER="3"/>
            <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Value -->
            <entry class="org.simpleframework.xml.strategy.ArrayCycleTest$ElementValue" ID="7">
               <!-- java.lang.String -->
               <element ID="8">Example element text</element>
            </entry>
         </list>
      </entry>
   </array>
</root>>>>>> ELEMENT=[element root]
>>>>> TYPE=[class org.simpleframework.xml.strategy.ArrayCycleTest$NestedArrayCycleExample]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Root ID="0">
   <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Value; -->
   <Array length="2" ID="1">
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Value -->
      <Entry ID="2">
         <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Value; -->
         <List REFERER="1"/>
      </Entry>
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Value -->
      <Entry ID="3">
         <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Value; -->
         <List length="3" ID="4">
            <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Value -->
            <Entry class="org.simpleframework.xml.strategy.ArrayCycleTest$TextValue" ID="5" name="blah">
               <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Value; -->
               <List REFERER="4"/>
               <!-- java.lang.String -->
               <Text ID="6">Some text</Text>
            </Entry>
            <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Value -->
            <Entry REFERER="3"/>
            <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Value -->
            <Entry class="org.simpleframework.xml.strategy.ArrayCycleTest$ElementValue" ID="7">
               <!-- java.lang.String -->
               <Element ID="8">Example element text</Element>
            </Entry>
         </List>
      </Entry>
   </Array>
</Root>>>>>> ELEMENT=[element Root]
>>>>> TYPE=[class org.simpleframework.xml.strategy.ArrayCycleTest$NestedArrayCycleExample]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<value id="0">
   <list length="1" class="org.simpleframework.xml.strategy.ArrayCycleTest$ElementValue" id="1">
      <entry class="org.simpleframework.xml.strategy.ArrayCycleTest$ElementValue" id="2">
         <element id="3">Example text</element>
      </entry>
   </list>
</value><value id="0">
   <list length="1" class="org.simpleframework.xml.strategy.ArrayCycleTest$ElementValue" id="1">
      <entry class="org.simpleframework.xml.strategy.ArrayCycleTest$ElementValue" id="2">
         <element id="3">Example text</element>
      </entry>
   </list>
</value>
<value ID="0">
   <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Value; -->
   <list length="1" class="org.simpleframework.xml.strategy.ArrayCycleTest$ElementValue" ID="1">
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Value -->
      <entry class="org.simpleframework.xml.strategy.ArrayCycleTest$ElementValue" ID="2">
         <!-- java.lang.String -->
         <element ID="3">Example text</element>
      </entry>
   </list>
</value>>>>>> ELEMENT=[element value]
>>>>> TYPE=[class org.simpleframework.xml.strategy.ArrayCycleTest$Value]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Value ID="0">
   <!-- [Lorg.simpleframework.xml.strategy.ArrayCycleTest$Value; -->
   <List length="1" class="org.simpleframework.xml.strategy.ArrayCycleTest$ElementValue" ID="1">
      <!-- org.simpleframework.xml.strategy.ArrayCycleTest$Value -->
      <Entry class="org.simpleframework.xml.strategy.ArrayCycleTest$ElementValue" ID="2">
         <!-- java.lang.String -->
         <Element ID="3">Example text</Element>
      </Entry>
   </List>
</Value>>>>>> ELEMENT=[element Value]
>>>>> TYPE=[class org.simpleframework.xml.strategy.ArrayCycleTest$Value]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
------------- ---------------- ---------------

Testcase: testCycle took 0.121 sec
Testcase: testNestedExample took 0.032 sec
Testcase: testPromotion took 0.013 sec
Testcase: testDirectory took 0.001 sec