Testsuite: org.simpleframework.xml.strategy.MapCycleTest
Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.177 sec
------------- Standard Output ---------------
<entryMap id="0">
   <map class="java.util.HashMap" id="1">
      <entry key="d">
         <mapEntry id="2">
            <name id="3">a</name>
            <value id="4">example 1</value>
         </mapEntry>
      </entry>
      <entry key="b">
         <mapEntry id="5">
            <name id="6">b</name>
            <value id="7">example 2</value>
         </mapEntry>
      </entry>
      <entry key="c">
         <mapEntry reference="2"/>
      </entry>
      <entry key="a">
         <mapEntry reference="2"/>
      </entry>
   </map>
</entryMap><entryMap id="0">
   <map class="java.util.HashMap" id="1">
      <entry key="d">
         <mapEntry id="2">
            <name id="3">a</name>
            <value id="4">example 1</value>
         </mapEntry>
      </entry>
      <entry key="b">
         <mapEntry id="5">
            <name id="6">b</name>
            <value id="7">example 2</value>
         </mapEntry>
      </entry>
      <entry key="c">
         <mapEntry reference="2"/>
      </entry>
      <entry key="a">
         <mapEntry reference="2"/>
      </entry>
   </map>
</entryMap>
<entry-map ID="0">
   <!-- java.util.Map -->
   <map class="java.util.HashMap" ID="1">
      <entry key="d">
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <map-entry ID="2">
            <!-- java.lang.String -->
            <name ID="3">a</name>
            <!-- java.lang.String -->
            <value ID="4">example 1</value>
         </map-entry>
      </entry>
      <entry key="b">
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <map-entry ID="5">
            <!-- java.lang.String -->
            <name ID="6">b</name>
            <!-- java.lang.String -->
            <value ID="7">example 2</value>
         </map-entry>
      </entry>
      <entry key="c">
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <map-entry REFERER="2"/>
      </entry>
      <entry key="a">
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <map-entry REFERER="2"/>
      </entry>
   </map>
</entry-map>>>>>> ELEMENT=[element entry-map]
>>>>> TYPE=[class org.simpleframework.xml.strategy.MapCycleTest$EntryMap]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<EntryMap ID="0">
   <!-- java.util.Map -->
   <Map class="java.util.HashMap" ID="1">
      <Entry key="d">
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <MapEntry ID="2">
            <!-- java.lang.String -->
            <Name ID="3">a</Name>
            <!-- java.lang.String -->
            <Value ID="4">example 1</Value>
         </MapEntry>
      </Entry>
      <Entry key="b">
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <MapEntry ID="5">
            <!-- java.lang.String -->
            <Name ID="6">b</Name>
            <!-- java.lang.String -->
            <Value ID="7">example 2</Value>
         </MapEntry>
      </Entry>
      <Entry key="c">
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <MapEntry REFERER="2"/>
      </Entry>
      <Entry key="a">
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <MapEntry REFERER="2"/>
      </Entry>
   </Map>
</EntryMap>>>>>> ELEMENT=[element EntryMap]
>>>>> TYPE=[class org.simpleframework.xml.strategy.MapCycleTest$EntryMap]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<complexMap id="0">
   <map class="java.util.HashMap" id="1">
      <entry>
         <compositeKey id="2">
            <name id="3">name 4</name>
            <address id="4">address 4</address>
         </compositeKey>
         <mapEntry id="5">
            <name id="6">d</name>
            <value id="7">example 4</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey id="8">
            <name id="9">name 3</name>
            <address id="10">address 3</address>
         </compositeKey>
         <mapEntry id="11">
            <name id="12">b</name>
            <value id="13">example 2</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey id="14">
            <name id="15">name 1</name>
            <address id="16">address 1</address>
         </compositeKey>
         <mapEntry reference="11"/>
      </entry>
   </map>
</complexMap><complexMap id="0">
   <map class="java.util.HashMap" id="1">
      <entry>
         <compositeKey id="2">
            <name id="3">name 4</name>
            <address id="4">address 4</address>
         </compositeKey>
         <mapEntry id="5">
            <name id="6">d</name>
            <value id="7">example 4</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey id="8">
            <name id="9">name 3</name>
            <address id="10">address 3</address>
         </compositeKey>
         <mapEntry id="11">
            <name id="12">b</name>
            <value id="13">example 2</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey id="14">
            <name id="15">name 1</name>
            <address id="16">address 1</address>
         </compositeKey>
         <mapEntry reference="11"/>
      </entry>
   </map>
</complexMap>
<complex-map ID="0">
   <!-- java.util.Map -->
   <map class="java.util.HashMap" ID="1">
      <entry>
         <!-- org.simpleframework.xml.strategy.MapCycleTest$CompositeKey -->
         <composite-key ID="2">
            <!-- java.lang.String -->
            <name ID="3">name 4</name>
            <!-- java.lang.String -->
            <address ID="4">address 4</address>
         </composite-key>
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <map-entry ID="5">
            <!-- java.lang.String -->
            <name ID="6">d</name>
            <!-- java.lang.String -->
            <value ID="7">example 4</value>
         </map-entry>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.strategy.MapCycleTest$CompositeKey -->
         <composite-key ID="8">
            <!-- java.lang.String -->
            <name ID="9">name 3</name>
            <!-- java.lang.String -->
            <address ID="10">address 3</address>
         </composite-key>
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <map-entry ID="11">
            <!-- java.lang.String -->
            <name ID="12">b</name>
            <!-- java.lang.String -->
            <value ID="13">example 2</value>
         </map-entry>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.strategy.MapCycleTest$CompositeKey -->
         <composite-key ID="14">
            <!-- java.lang.String -->
            <name ID="15">name 1</name>
            <!-- java.lang.String -->
            <address ID="16">address 1</address>
         </composite-key>
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <map-entry REFERER="11"/>
      </entry>
   </map>
</complex-map>>>>>> ELEMENT=[element complex-map]
>>>>> TYPE=[class org.simpleframework.xml.strategy.MapCycleTest$ComplexMap]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<ComplexMap ID="0">
   <!-- java.util.Map -->
   <Map class="java.util.HashMap" ID="1">
      <Entry>
         <!-- org.simpleframework.xml.strategy.MapCycleTest$CompositeKey -->
         <CompositeKey ID="2">
            <!-- java.lang.String -->
            <Name ID="3">name 4</Name>
            <!-- java.lang.String -->
            <Address ID="4">address 4</Address>
         </CompositeKey>
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <MapEntry ID="5">
            <!-- java.lang.String -->
            <Name ID="6">d</Name>
            <!-- java.lang.String -->
            <Value ID="7">example 4</Value>
         </MapEntry>
      </Entry>
      <Entry>
         <!-- org.simpleframework.xml.strategy.MapCycleTest$CompositeKey -->
         <CompositeKey ID="8">
            <!-- java.lang.String -->
            <Name ID="9">name 3</Name>
            <!-- java.lang.String -->
            <Address ID="10">address 3</Address>
         </CompositeKey>
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <MapEntry ID="11">
            <!-- java.lang.String -->
            <Name ID="12">b</Name>
            <!-- java.lang.String -->
            <Value ID="13">example 2</Value>
         </MapEntry>
      </Entry>
      <Entry>
         <!-- org.simpleframework.xml.strategy.MapCycleTest$CompositeKey -->
         <CompositeKey ID="14">
            <!-- java.lang.String -->
            <Name ID="15">name 1</Name>
            <!-- java.lang.String -->
            <Address ID="16">address 1</Address>
         </CompositeKey>
         <!-- org.simpleframework.xml.strategy.MapCycleTest$MapEntry -->
         <MapEntry REFERER="11"/>
      </Entry>
   </Map>
</ComplexMap>>>>>> ELEMENT=[element ComplexMap]
>>>>> TYPE=[class org.simpleframework.xml.strategy.MapCycleTest$ComplexMap]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<primitiveMap id="0">
   <map class="java.util.HashMap" id="1">
      <entry>
         <string id="2">two</string>
         <double id="3">1.0</double>
      </entry>
      <entry>
         <string id="4">one</string>
         <double reference="3"/>
      </entry>
      <entry>
         <string id="5">three</string>
         <double id="6">4.0</double>
      </entry>
   </map>
</primitiveMap><primitiveMap id="0">
   <map class="java.util.HashMap" id="1">
      <entry>
         <string id="2">two</string>
         <double id="3">1.0</double>
      </entry>
      <entry>
         <string id="4">one</string>
         <double reference="3"/>
      </entry>
      <entry>
         <string id="5">three</string>
         <double id="6">4.0</double>
      </entry>
   </map>
</primitiveMap>
<primitive-map ID="0">
   <!-- java.util.Map -->
   <map class="java.util.HashMap" ID="1">
      <entry>
         <!-- java.lang.String -->
         <string ID="2">two</string>
         <!-- java.lang.Double -->
         <double ID="3">1.0</double>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="4">one</string>
         <!-- java.lang.Double -->
         <double REFERER="3"/>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="5">three</string>
         <!-- java.lang.Double -->
         <double ID="6">4.0</double>
      </entry>
   </map>
</primitive-map>>>>>> ELEMENT=[element primitive-map]
>>>>> TYPE=[class org.simpleframework.xml.strategy.MapCycleTest$PrimitiveMap]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<PrimitiveMap ID="0">
   <!-- java.util.Map -->
   <Map class="java.util.HashMap" ID="1">
      <Entry>
         <!-- java.lang.String -->
         <String ID="2">two</String>
         <!-- java.lang.Double -->
         <double ID="3">1.0</double>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="4">one</String>
         <!-- java.lang.Double -->
         <double REFERER="3"/>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="5">three</String>
         <!-- java.lang.Double -->
         <double ID="6">4.0</double>
      </Entry>
   </Map>
</PrimitiveMap>>>>>> ELEMENT=[element PrimitiveMap]
>>>>> TYPE=[class org.simpleframework.xml.strategy.MapCycleTest$PrimitiveMap]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
------------- ---------------- ---------------

Testcase: testEntryMap took 0.124 sec
Testcase: testComplexMap took 0.033 sec
Testcase: testPrimitiveMap took 0.017 sec
Testcase: testDirectory took 0 sec
