org.bouncycastle.asn1.test
Class ASN1IntegerTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.asn1.test.ASN1IntegerTest
- All Implemented Interfaces:
- Test
- public class ASN1IntegerTest
- extends SimpleTest
Methods inherited from class org.bouncycastle.util.test.SimpleTest |
areEqual, areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASN1IntegerTest
public ASN1IntegerTest()
getName
public java.lang.String getName()
- Specified by:
getName
in interface Test
- Specified by:
getName
in class SimpleTest
performTest
public void performTest()
throws java.lang.Exception
- Specified by:
performTest
in class SimpleTest
- Throws:
java.lang.Exception
testValidEncodingSingleByte
public void testValidEncodingSingleByte()
throws java.lang.Exception
- Ensure existing single byte behavior.
- Throws:
java.lang.Exception
testValidEncodingMultiByte
public void testValidEncodingMultiByte()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvalidEncoding_00
public void testInvalidEncoding_00()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvalidEncoding_ff
public void testInvalidEncoding_ff()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvalidEncoding_00_32bits
public void testInvalidEncoding_00_32bits()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvalidEncoding_ff_32bits
public void testInvalidEncoding_ff_32bits()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLooseValidEncoding_zero_32BAligned
public void testLooseValidEncoding_zero_32BAligned()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLooseValidEncoding_FF_32BAligned
public void testLooseValidEncoding_FF_32BAligned()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLooseValidEncoding_FF_32BAligned_1not0
public void testLooseValidEncoding_FF_32BAligned_1not0()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLooseValidEncoding_FF_32BAligned_2not0
public void testLooseValidEncoding_FF_32BAligned_2not0()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOversizedEncoding
public void testOversizedEncoding()
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)