Testsuite: de.zeigermann.xml.XMLWriterTest
Tests run: 14, Failures: 1, Errors: 0, Time elapsed: 0.05 sec
------------- Standard Output ---------------
testCreateStartTag
testCreateStartTag2
testCreateEmptyStartTag
CHECKING SAX Attributes
testCreateEndTag
testWriteProlog
testWriteComment
testWritePI
MAIN TEST
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE log SYSTEM '../share/log.dtd'>
<next>
  <root at1="v1" at2="v2">&lt;kein-tag&gt;</root>
  <root at1="v1" at2="v2"/>
  <next1>
    <next2>
      <next3><![CDATA[This is long <![CDATA[CDATA that can be encoded as CDATA block]]></next3>
      <next3>This is long &lt;![CDATA[CDATA]]&gt; that can not be encoded as CDATA block<root at1="v1" at2="v2"/>
      </next3>
    </next2>
  </next1>
</next>

XMLEncode.xmlDecodeTextToCDATA
DETAIL TEST
<next
><root at1="v1" at2="v2"
/><next1
></next1
></next
>
EXTENDED CONVENIENCE TEST
<root at1="v1" at2="v2">&lt;cdata&gt;</root>

CHECKING ISO-8859-1 german umlaute
<?xml version="1.0"?>
<root>text ??? ??? ?</root>

CHECKING TWO BYTE ENCODING
------------- ---------------- ---------------

Testcase: testCreateStartTag took 0.015 sec
Testcase: testCreateStartTag2 took 0.001 sec
Testcase: testCreateEmptyStartTag took 0.001 sec
Testcase: testSAXAttributes took 0.001 sec
Testcase: testCreateEndTag took 0 sec
Testcase: testWriteProlog took 0.001 sec
Testcase: testWriteComment took 0 sec
Testcase: testWritePI took 0 sec
Testcase: testMain took 0.007 sec
Testcase: testDecode took 0 sec
Testcase: testDetail took 0 sec
Testcase: testExtendedConvenience took 0.001 sec
Testcase: testUmlaute took 0 sec
Testcase: testEncoding took 0.008 sec
	FAILED

Wrong encoding:
-1
Should be:
0

junit.framework.AssertionFailedError: 
Wrong encoding:
-1
Should be:
0

	at de.zeigermann.xml.XMLWriterTest.testEncoding(XMLWriterTest.java:373)

