|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.util.test.SimpleTest
org.bouncycastle.bcpg.test.AbstractPacketTest
Nested Class Summary |
Nested classes inherited from class org.bouncycastle.util.test.SimpleTest |
org.bouncycastle.util.test.SimpleTest.TestExceptionOperation |
Constructor Summary | |
AbstractPacketTest()
|
Method Summary | |
void |
isEncodingEqual(byte[] first,
byte[] second)
Test, whether the first byte array and the second byte array are identical. |
void |
isEncodingEqual(ContainedPacket first,
ContainedPacket second)
Test, whether the encoding of the first and second packet are identical. |
void |
isEncodingEqual(java.lang.String message,
byte[] first,
byte[] second)
Test, whether the first byte array and the second byte array are identical. |
void |
isEncodingEqual(java.lang.String message,
ContainedPacket first,
ContainedPacket second)
Test, whether the encoding of the first and second packet are identical. |
void |
isFalse(boolean value)
Test, whether the value is false. |
void |
isFalse(java.lang.String message,
boolean value)
Test, whether the value is false. |
void |
isNotNull(java.lang.Object value)
Test, whether the value is not null. |
void |
isNotNull(java.lang.String message,
java.lang.Object value)
Test, whether the value is not null. |
void |
isNull(java.lang.Object value)
Test, whether the value is null. |
void |
isNull(java.lang.String message,
java.lang.Object value)
Test, whether the value is null. |
Methods inherited from class org.bouncycastle.util.test.SimpleTest |
areEqual, areEqual, areEqual, fail, fail, fail, getName, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, performTest, runTest, runTest, runTests, runTests, testException |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractPacketTest()
Method Detail |
public void isEncodingEqual(byte[] first, byte[] second)
first
- first arraysecond
- second arraypublic void isEncodingEqual(java.lang.String message, byte[] first, byte[] second)
message
- error message to prepend to the hex dumpfirst
- first arraysecond
- second arraypublic void isEncodingEqual(ContainedPacket first, ContainedPacket second) throws java.io.IOException
first
- first packetsecond
- second packet
java.io.IOException
public void isEncodingEqual(java.lang.String message, ContainedPacket first, ContainedPacket second) throws java.io.IOException
message
- error message to prepend to the hex dumpfirst
- first packetsecond
- second packet
java.io.IOException
public void isFalse(boolean value)
value
- valuepublic void isFalse(java.lang.String message, boolean value)
message
- custom error messagevalue
- valuepublic void isNull(java.lang.Object value)
value
- valuepublic void isNull(java.lang.String message, java.lang.Object value)
message
- custom error messagevalue
- valuepublic void isNotNull(java.lang.Object value)
value
- valuepublic void isNotNull(java.lang.String message, java.lang.Object value)
message
- custom error messagevalue
- value
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |