|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.velocity.io.UnicodeInputStreamTestCase
public class UnicodeInputStreamTestCase
Test the UnicodeInputStream.
Constructor Summary | |
---|---|
UnicodeInputStreamTestCase(String name)
|
Method Summary | |
---|---|
protected byte[] |
buildTestString(org.apache.velocity.io.UnicodeInputStream.UnicodeBOM bom,
String str,
String enc,
boolean skipBOM)
|
protected InputStream |
createInputStream(org.apache.velocity.io.UnicodeInputStream.UnicodeBOM bom,
String str,
String enc)
|
protected byte[] |
readAllBytes(InputStream inputStream,
String enc)
|
static junit.framework.Test |
suite()
|
void |
testRealUTF16BEWithBOM()
|
void |
testRealUTF16LEWithBOM()
|
void |
testRealUTF32BEWithBOM()
|
void |
testRealUTF32LEWithBOM()
|
void |
testRealUTF8()
|
void |
testRealUTF8WithBOM()
|
protected void |
testRun(org.apache.velocity.io.UnicodeInputStream.UnicodeBOM bom,
String str,
String testEncoding,
boolean skipBOM)
|
void |
testSimpleStream()
|
void |
testSimpleUTF8()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnicodeInputStreamTestCase(String name)
Method Detail |
---|
public static junit.framework.Test suite()
public void testSimpleStream() throws Exception
Exception
public void testSimpleUTF8() throws Exception
Exception
public void testRealUTF8() throws Exception
Exception
public void testRealUTF8WithBOM() throws Exception
Exception
public void testRealUTF16BEWithBOM() throws Exception
Exception
public void testRealUTF16LEWithBOM() throws Exception
Exception
public void testRealUTF32BEWithBOM() throws Exception
Exception
public void testRealUTF32LEWithBOM() throws Exception
Exception
protected void testRun(org.apache.velocity.io.UnicodeInputStream.UnicodeBOM bom, String str, String testEncoding, boolean skipBOM) throws Exception
Exception
protected InputStream createInputStream(org.apache.velocity.io.UnicodeInputStream.UnicodeBOM bom, String str, String enc) throws Exception
Exception
protected byte[] buildTestString(org.apache.velocity.io.UnicodeInputStream.UnicodeBOM bom, String str, String enc, boolean skipBOM) throws Exception
Exception
protected byte[] readAllBytes(InputStream inputStream, String enc) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |