net.sf.jsefa.test.xml
Class XmlReaderFactoryTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sf.jsefa.test.xml.XmlReaderFactoryTest
All Implemented Interfaces:
junit.framework.Test

public class XmlReaderFactoryTest
extends junit.framework.TestCase

Tests to test the XmlReader character set encoding detection feature.

Author:
lahme

Constructor Summary
XmlReaderFactoryTest()
           
 
Method Summary
 void testISO8859()
          Tests for correct detection of ISO-8859-1 character set encoding.
 void testUTF16()
          Tests for correct detection of UTF-16 character set encoding.
 void testUTF16BE()
          Tests for correct detection of UTF-16 big-endian character set encoding.
 void testUTF16LE()
          Tests for correct detection of UTF-16 little-endian character set encoding.
 void testUTF8()
          Tests for correct detection of UTF-8 character set encoding.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlReaderFactoryTest

public XmlReaderFactoryTest()
Method Detail

testISO8859

public void testISO8859()
Tests for correct detection of ISO-8859-1 character set encoding.


testUTF16BE

public void testUTF16BE()
Tests for correct detection of UTF-16 big-endian character set encoding.


testUTF16LE

public void testUTF16LE()
Tests for correct detection of UTF-16 little-endian character set encoding.


testUTF16

public void testUTF16()
Tests for correct detection of UTF-16 character set encoding.


testUTF8

public void testUTF8()
Tests for correct detection of UTF-8 character set encoding.



Copyright © 2014. All rights reserved.