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
|
Testsuite: org.simpleframework.xml.core.CollectionEntryTest
Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.165 sec
------------- Standard Output ---------------
<exampleCollection>
<list class="java.util.ArrayList">
<substitute id="1">
<text>one</text>
</substitute>
<substitute id="2">
<text>two</text>
</substitute>
<substitute id="3">
<text>three</text>
</substitute>
</list>
</exampleCollection><exampleCollection>
<list class="java.util.ArrayList">
<substitute id="1">
<text>one</text>
</substitute>
<substitute id="2">
<text>two</text>
</substitute>
<substitute id="3">
<text>three</text>
</substitute>
</list>
</exampleCollection>
<example-collection ID="0">
<!-- java.util.List -->
<list class="java.util.ArrayList" ID="1">
<!-- org.simpleframework.xml.core.CollectionEntryTest$Entry -->
<substitute ID="2" id="1">
<!-- java.lang.String -->
<text ID="3">one</text>
</substitute>
<!-- org.simpleframework.xml.core.CollectionEntryTest$Entry -->
<substitute ID="4" id="2">
<!-- java.lang.String -->
<text ID="5">two</text>
</substitute>
<!-- org.simpleframework.xml.core.CollectionEntryTest$Entry -->
<substitute ID="6" id="3">
<!-- java.lang.String -->
<text ID="7">three</text>
</substitute>
</list>
</example-collection>>>>>> ELEMENT=[element example-collection]
>>>>> TYPE=[class org.simpleframework.xml.core.CollectionEntryTest$ExampleCollection]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<ExampleCollection ID="0">
<!-- java.util.List -->
<List class="java.util.ArrayList" ID="1">
<!-- org.simpleframework.xml.core.CollectionEntryTest$Entry -->
<Substitute ID="2" id="1">
<!-- java.lang.String -->
<Text ID="3">one</Text>
</Substitute>
<!-- org.simpleframework.xml.core.CollectionEntryTest$Entry -->
<Substitute ID="4" id="2">
<!-- java.lang.String -->
<Text ID="5">two</Text>
</Substitute>
<!-- org.simpleframework.xml.core.CollectionEntryTest$Entry -->
<Substitute ID="6" id="3">
<!-- java.lang.String -->
<Text ID="7">three</Text>
</Substitute>
</List>
</ExampleCollection>>>>>> ELEMENT=[element ExampleCollection]
>>>>> TYPE=[class org.simpleframework.xml.core.CollectionEntryTest$ExampleCollection]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<exampleInlineCollection>
<substitute id="1">
<text>one</text>
</substitute>
<substitute id="2">
<text>two</text>
</substitute>
<substitute id="3">
<text>three</text>
</substitute>
</exampleInlineCollection><exampleInlineCollection>
<substitute id="1">
<text>one</text>
</substitute>
<substitute id="2">
<text>two</text>
</substitute>
<substitute id="3">
<text>three</text>
</substitute>
</exampleInlineCollection>
<example-inline-collection ID="0">
<!-- org.simpleframework.xml.core.CollectionEntryTest$Entry -->
<substitute ID="1" id="1">
<!-- java.lang.String -->
<text ID="2">one</text>
</substitute>
<!-- org.simpleframework.xml.core.CollectionEntryTest$Entry -->
<substitute ID="3" id="2">
<!-- java.lang.String -->
<text ID="4">two</text>
</substitute>
<!-- org.simpleframework.xml.core.CollectionEntryTest$Entry -->
<substitute ID="5" id="3">
<!-- java.lang.String -->
<text ID="6">three</text>
</substitute>
</example-inline-collection>>>>>> ELEMENT=[element example-inline-collection]
>>>>> TYPE=[class org.simpleframework.xml.core.CollectionEntryTest$ExampleInlineCollection]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<ExampleInlineCollection ID="0">
<!-- org.simpleframework.xml.core.CollectionEntryTest$Entry -->
<Substitute ID="1" id="1">
<!-- java.lang.String -->
<Text ID="2">one</Text>
</Substitute>
<!-- org.simpleframework.xml.core.CollectionEntryTest$Entry -->
<Substitute ID="3" id="2">
<!-- java.lang.String -->
<Text ID="4">two</Text>
</Substitute>
<!-- org.simpleframework.xml.core.CollectionEntryTest$Entry -->
<Substitute ID="5" id="3">
<!-- java.lang.String -->
<Text ID="6">three</Text>
</Substitute>
</ExampleInlineCollection>>>>>> ELEMENT=[element ExampleInlineCollection]
>>>>> TYPE=[class org.simpleframework.xml.core.CollectionEntryTest$ExampleInlineCollection]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<examplePrimitiveInlineCollection>
<substitute>a</substitute>
<substitute>b</substitute>
<substitute>c</substitute>
<substitute>d</substitute>
</examplePrimitiveInlineCollection><examplePrimitiveInlineCollection>
<substitute>a</substitute>
<substitute>b</substitute>
<substitute>c</substitute>
<substitute>d</substitute>
</examplePrimitiveInlineCollection>
<example-primitive-inline-collection ID="0">
<!-- java.lang.String -->
<substitute ID="1">a</substitute>
<!-- java.lang.String -->
<substitute ID="2">b</substitute>
<!-- java.lang.String -->
<substitute ID="3">c</substitute>
<!-- java.lang.String -->
<substitute ID="4">d</substitute>
</example-primitive-inline-collection>>>>>> ELEMENT=[element example-primitive-inline-collection]
>>>>> TYPE=[class org.simpleframework.xml.core.CollectionEntryTest$ExamplePrimitiveInlineCollection]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<ExamplePrimitiveInlineCollection ID="0">
<!-- java.lang.String -->
<Substitute ID="1">a</Substitute>
<!-- java.lang.String -->
<Substitute ID="2">b</Substitute>
<!-- java.lang.String -->
<Substitute ID="3">c</Substitute>
<!-- java.lang.String -->
<Substitute ID="4">d</Substitute>
</ExamplePrimitiveInlineCollection>>>>>> ELEMENT=[element ExamplePrimitiveInlineCollection]
>>>>> TYPE=[class org.simpleframework.xml.core.CollectionEntryTest$ExamplePrimitiveInlineCollection]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<examplePrimitiveCollection>
<list class="java.util.ArrayList">
<substitute>a</substitute>
<substitute>b</substitute>
<substitute>c</substitute>
<substitute>d</substitute>
</list>
</examplePrimitiveCollection><examplePrimitiveCollection>
<list class="java.util.ArrayList">
<substitute>a</substitute>
<substitute>b</substitute>
<substitute>c</substitute>
<substitute>d</substitute>
</list>
</examplePrimitiveCollection>
<example-primitive-collection ID="0">
<!-- java.util.List -->
<list class="java.util.ArrayList" ID="1">
<!-- java.lang.Character -->
<substitute ID="2">a</substitute>
<!-- java.lang.Character -->
<substitute ID="3">b</substitute>
<!-- java.lang.Character -->
<substitute ID="4">c</substitute>
<!-- java.lang.Character -->
<substitute ID="5">d</substitute>
</list>
</example-primitive-collection>>>>>> ELEMENT=[element example-primitive-collection]
>>>>> TYPE=[class org.simpleframework.xml.core.CollectionEntryTest$ExamplePrimitiveCollection]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<ExamplePrimitiveCollection ID="0">
<!-- java.util.List -->
<List class="java.util.ArrayList" ID="1">
<!-- java.lang.Character -->
<Substitute ID="2">a</Substitute>
<!-- java.lang.Character -->
<Substitute ID="3">b</Substitute>
<!-- java.lang.Character -->
<Substitute ID="4">c</Substitute>
<!-- java.lang.Character -->
<Substitute ID="5">d</Substitute>
</List>
</ExamplePrimitiveCollection>>>>>> ELEMENT=[element ExamplePrimitiveCollection]
>>>>> TYPE=[class org.simpleframework.xml.core.CollectionEntryTest$ExamplePrimitiveCollection]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
------------- ---------------- ---------------
Testcase: testExampleCollection took 0.121 sec
Testcase: testExampleInlineCollection took 0.018 sec
Testcase: testExamplePrimitiveInlineCollection took 0.01 sec
Testcase: testExamplePrimitiveCollection took 0.013 sec
Testcase: testDirectory took 0 sec
|