Testsuite: org.simpleframework.xml.core.TextTest
Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.165 sec
------------- Standard Output ---------------
<test>
   <array length="3">
      <entry name="a" version="ONE"><![CDATA[Example 1]]></entry>
      <entry name="b" version="TWO"><![CDATA[Example 2]]></entry>
      <entry name="c" version="THREE"><![CDATA[Example 3]]></entry>
   </array>
</test><test>
   <array length="3">
      <entry name="a" version="ONE"><![CDATA[Example 1]]></entry>
      <entry name="b" version="TWO"><![CDATA[Example 2]]></entry>
      <entry name="c" version="THREE"><![CDATA[Example 3]]></entry>
   </array>
</test>
<test ID="0">
   <!-- [Lorg.simpleframework.xml.core.TextTest$TextEntry; -->
   <array length="3" ID="1">
      <!-- org.simpleframework.xml.core.TextTest$TextEntry -->
      <entry ID="2" name="a" version="ONE"><![CDATA[Example 1]]></entry>
      <!-- org.simpleframework.xml.core.TextTest$TextEntry -->
      <entry ID="3" name="b" version="TWO"><![CDATA[Example 2]]></entry>
      <!-- org.simpleframework.xml.core.TextTest$TextEntry -->
      <entry ID="4" name="c" version="THREE"><![CDATA[Example 3]]></entry>
   </array>
</test>>>>>> ELEMENT=[element test]
>>>>> TYPE=[class org.simpleframework.xml.core.TextTest$TextList]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Test ID="0">
   <!-- [Lorg.simpleframework.xml.core.TextTest$TextEntry; -->
   <Array length="3" ID="1">
      <!-- org.simpleframework.xml.core.TextTest$TextEntry -->
      <Entry ID="2" name="a" version="ONE"><![CDATA[Example 1]]></Entry>
      <!-- org.simpleframework.xml.core.TextTest$TextEntry -->
      <Entry ID="3" name="b" version="TWO"><![CDATA[Example 2]]></Entry>
      <!-- org.simpleframework.xml.core.TextTest$TextEntry -->
      <Entry ID="4" name="c" version="THREE"><![CDATA[Example 3]]></Entry>
   </Array>
</Test>>>>>> ELEMENT=[element Test]
>>>>> TYPE=[class org.simpleframework.xml.core.TextTest$TextList]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<test>
   <array length="3">
      <entry name="a" version="ONE"><![CDATA[Example 1]]></entry>
      <entry name="b" version="TWO"><![CDATA[Example 2]]></entry>
      <entry name="c" version="THREE"><![CDATA[Example 3]]></entry>
   </array>
</test><test>
   <array length="3">
      <entry name="a" version="ONE"><![CDATA[Example 1]]></entry>
      <entry name="b" version="TWO"><![CDATA[Example 2]]></entry>
      <entry name="c" version="THREE"><![CDATA[Example 3]]></entry>
   </array>
</test>
<test ID="0">
   <!-- [Lorg.simpleframework.xml.core.TextTest$TextEntry; -->
   <array length="3" ID="1">
      <!-- org.simpleframework.xml.core.TextTest$TextEntry -->
      <entry ID="2" name="a" version="ONE"><![CDATA[Example 1]]></entry>
      <!-- org.simpleframework.xml.core.TextTest$TextEntry -->
      <entry ID="3" name="b" version="TWO"><![CDATA[Example 2]]></entry>
      <!-- org.simpleframework.xml.core.TextTest$TextEntry -->
      <entry ID="4" name="c" version="THREE"><![CDATA[Example 3]]></entry>
   </array>
</test>>>>>> ELEMENT=[element test]
>>>>> TYPE=[class org.simpleframework.xml.core.TextTest$TextList]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Test ID="0">
   <!-- [Lorg.simpleframework.xml.core.TextTest$TextEntry; -->
   <Array length="3" ID="1">
      <!-- org.simpleframework.xml.core.TextTest$TextEntry -->
      <Entry ID="2" name="a" version="ONE"><![CDATA[Example 1]]></Entry>
      <!-- org.simpleframework.xml.core.TextTest$TextEntry -->
      <Entry ID="3" name="b" version="TWO"><![CDATA[Example 2]]></Entry>
      <!-- org.simpleframework.xml.core.TextTest$TextEntry -->
      <Entry ID="4" name="c" version="THREE"><![CDATA[Example 3]]></Entry>
   </Array>
</Test>>>>>> ELEMENT=[element Test]
>>>>> TYPE=[class org.simpleframework.xml.core.TextTest$TextList]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<text name="a" version="ONE"><![CDATA[
    
      <element> 
         <data>This is hidden</data>
      </element> 
   
]]></text><text name="a" version="ONE"><![CDATA[
    
      <element> 
         <data>This is hidden</data>
      </element> 
   
]]></text>
<text ID="0" name="a" version="ONE"><![CDATA[
    
      <element> 
         <data>This is hidden</data>
      </element> 
   
]]></text>>>>>> ELEMENT=[element text]
>>>>> TYPE=[class org.simpleframework.xml.core.TextTest$TextEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element text]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Text ID="0" name="a" version="ONE"><![CDATA[
    
      <element> 
         <data>This is hidden</data>
      </element> 
   
]]></Text>>>>>> ELEMENT=[element Text]
>>>>> TYPE=[class org.simpleframework.xml.core.TextTest$TextEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element Text]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<text name="a" version="ONE"><![CDATA[
    
      <element> 
         <data>This is hidden</data>
      </element> 
   
]]></text><text name="a" version="ONE"><![CDATA[
    
      <element> 
         <data>This is hidden</data>
      </element> 
   
]]></text>
<text ID="0" name="a" version="ONE"><![CDATA[
    
      <element> 
         <data>This is hidden</data>
      </element> 
   
]]></text>>>>>> ELEMENT=[element text]
>>>>> TYPE=[class org.simpleframework.xml.core.TextTest$TextEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element text]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Text ID="0" name="a" version="ONE"><![CDATA[
    
      <element> 
         <data>This is hidden</data>
      </element> 
   
]]></Text>>>>>> ELEMENT=[element Text]
>>>>> TYPE=[class org.simpleframework.xml.core.TextTest$TextEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element Text]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<text name="a" version="ONE"/><text name="a" version="ONE"/>
<text ID="0" name="a" version="ONE"/>>>>>> ELEMENT=[element text]
>>>>> TYPE=[class org.simpleframework.xml.core.TextTest$OptionalTextEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element text]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Text ID="0" name="a" version="ONE"/>>>>>> ELEMENT=[element Text]
>>>>> TYPE=[class org.simpleframework.xml.core.TextTest$OptionalTextEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element Text]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<text name="a" version="ONE"/><text name="a" version="ONE"/>
<text ID="0" name="a" version="ONE"/>>>>>> ELEMENT=[element text]
>>>>> TYPE=[class org.simpleframework.xml.core.TextTest$OptionalTextEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element text]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Text ID="0" name="a" version="ONE"/>>>>>> ELEMENT=[element Text]
>>>>> TYPE=[class org.simpleframework.xml.core.TextTest$OptionalTextEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element Text]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
------------- ---------------- ---------------
------------- Standard Error -----------------
org.simpleframework.xml.core.TextException: Cannot use field 'list' private java.util.List org.simpleframework.xml.core.TextTest$NonPrimitiveTextEntry.list to represent @org.simpleframework.xml.Text(data=false, empty=, required=true)
	at org.simpleframework.xml.core.TextLabel.getConverter(TextLabel.java:126)
	at org.simpleframework.xml.core.CacheLabel.getConverter(CacheLabel.java:280)
	at org.simpleframework.xml.core.Composite.readVariable(Composite.java:604)
	at org.simpleframework.xml.core.Composite.readInstance(Composite.java:573)
	at org.simpleframework.xml.core.Composite.readText(Composite.java:467)
	at org.simpleframework.xml.core.Composite.access$200(Composite.java:59)
	at org.simpleframework.xml.core.Composite$Builder.read(Composite.java:1381)
	at org.simpleframework.xml.core.Composite.read(Composite.java:201)
	at org.simpleframework.xml.core.Composite.read(Composite.java:148)
	at org.simpleframework.xml.core.Traverser.read(Traverser.java:92)
	at org.simpleframework.xml.core.Persister.read(Persister.java:625)
	at org.simpleframework.xml.core.Persister.read(Persister.java:606)
	at org.simpleframework.xml.core.Persister.read(Persister.java:584)
	at org.simpleframework.xml.core.Persister.read(Persister.java:562)
	at org.simpleframework.xml.core.Persister.read(Persister.java:499)
	at org.simpleframework.xml.core.Persister.read(Persister.java:408)
	at org.simpleframework.xml.core.TextTest.testNonPrimitive(TextTest.java:224)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
------------- ---------------- ---------------

Testcase: testText took 0.124 sec
Testcase: testData took 0.013 sec
Testcase: testDuplicate took 0.001 sec
Testcase: testIllegalElement took 0.005 sec
Testcase: testEmpty took 0.001 sec
Testcase: testOptional took 0.013 sec
Testcase: testNonPrimitive took 0.004 sec
Testcase: testDirectory took 0 sec
