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

Testcase: testEntryMap took 0.23 sec
Testcase: testComplexMap took 0.066 sec
Testcase: testPrimitiveMap took 0.039 sec
Testcase: testDirectory took 0.001 sec
