public class CipherIntegraTest
extends java.lang.Object
implements java.io.Serializable
Test class based on JUnit framework for CipherIntegra.
Library for the integration with the services of @Firma, eVisor and TS@.
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
expectedEx
Attribute to specify expected exception types and messages.
|
| Constructor and Description |
|---|
CipherIntegraTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
test1()
Test for
CipherIntegra.encrypt(String). |
void |
test2()
Test for
CipherIntegra.encrypt(String). |
void |
test3()
|
void |
test4()
Test for
CipherIntegra.decrypt(String). |
void |
test5()
Test for
CipherIntegra.decrypt(String). |
public org.junit.rules.ExpectedException expectedEx
public final void setUp()
throws java.lang.Exception
java.lang.Exception - If method fails.public void tearDown()
throws java.lang.Exception
java.lang.Exception - If method fails.public final void test1()
throws CipherException
CipherIntegra.encrypt(String).CipherException - If method failspublic final void test2()
throws java.lang.Exception
CipherIntegra.encrypt(String).java.lang.Exception - If test fails.public final void test3()
throws java.lang.Exception
java.lang.Exceptionjava.lang.Exception - If test fails.public final void test4()
throws java.lang.Exception
CipherIntegra.decrypt(String).java.lang.Exception - If test fails.public final void test5()
throws java.lang.Exception
CipherIntegra.decrypt(String).java.lang.Exception - If test fails.