|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| 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.bouncycastle.util.encoders.test.AbstractCoderTest
org.bouncycastle.util.encoders.test.Base64Test
| Field Summary |
| Fields inherited from class org.bouncycastle.util.encoders.test.AbstractCoderTest |
enc |
| Constructor Summary | |
Base64Test(java.lang.String name)
|
|
| Method Summary | |
protected boolean |
isEncodedChar(char c)
|
protected char |
paddingChar()
|
protected void |
setUp()
|
void |
testDecodeStaysInsideSlice()
decode(byte[], off, length, out) must not look at anything outside the slice: an empty slice produces nothing and a slice that ends part way through a block is rejected, whatever follows it. |
void |
testDecodeStringTruncated()
decode(String, out) must reject a string that ends part way through a block, whatever whitespace follows it, rather than read past the last character. |
void |
testInvalidInput()
|
void |
testSamples()
|
void |
testWithWhitespace()
|
| Methods inherited from class org.bouncycastle.util.encoders.test.AbstractCoderTest |
testEncode |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 Base64Test(java.lang.String name)
| Method Detail |
protected void setUp()
setUp in class AbstractCoderTest
public void testSamples()
throws java.io.IOException
java.io.IOException
public void testInvalidInput()
throws java.io.IOException
java.io.IOException
public void testDecodeStaysInsideSlice()
throws java.io.IOException
java.io.IOException
public void testDecodeStringTruncated()
throws java.io.IOException
java.io.IOException
public void testWithWhitespace()
throws java.lang.Exception
java.lang.Exceptionprotected char paddingChar()
paddingChar in class AbstractCoderTestprotected boolean isEncodedChar(char c)
isEncodedChar in class AbstractCoderTest
|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||