|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--com.ls.util.bytes.Base64TestCase
TestCase for Base64
| Constructor Summary | |
Base64TestCase(String name)
Constructor which gives a name to the test case object. |
|
| Method Summary | |
protected void |
setUp()
Sets up the test fixture before every call to a test method. |
protected void |
tearDown()
Tears down the test fixture after every call to a test method. |
void |
testBasics()
Tests the correctness of the Base64 encoding. |
void |
testReversibility()
Tests the reversibility of both the Base64 encoding and decoding. |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, name, run, run, runBare, runTest, toString |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Base64TestCase(String name)
throws UnsupportedEncodingException
name - The name of the test case objectUnsupportedEncodingException - If some test string cannot be
converted to UTF-8 encoded bytes due to platform limitations.| Method Detail |
protected void setUp()
setUp in class junit.framework.TestCaseprotected void tearDown()
tearDown in class junit.framework.TestCasepublic void testBasics()
public void testReversibility()
throws UnsupportedEncodingException
UnsupportedEncodingException - If some test string cannot be
constructed from UTF-8 encoded bytes due to platform limitations.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||