Package es.gob.afirma.encryption
Class CipherIntegraTest
- java.lang.Object
-
- es.gob.afirma.encryption.CipherIntegraTest
-
- All Implemented Interfaces:
java.io.Serializable
public class CipherIntegraTest extends java.lang.Object implements java.io.SerializableTest class based on JUnit framework for
Project:CipherIntegra.Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 07/03/2016.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionexpectedExAttribute to specify expected exception types and messages.
-
Constructor Summary
Constructors Constructor Description CipherIntegraTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtearDown()voidtest1()Test forCipherIntegra.encrypt(String).voidtest2()Test forCipherIntegra.encrypt(String).voidtest3()voidtest4()Test forCipherIntegra.decrypt(String).voidtest5()Test forCipherIntegra.decrypt(String).
-
-
-
Method Detail
-
setUp
public final void setUp() throws java.lang.Exception- Throws:
java.lang.Exception- If method fails.
-
tearDown
public void tearDown() throws java.lang.Exception- Throws:
java.lang.Exception- If method fails.
-
test1
public final void test1() throws CipherExceptionTest forCipherIntegra.encrypt(String).- Throws:
CipherException- If method fails
-
test2
public final void test2() throws java.lang.ExceptionTest forCipherIntegra.encrypt(String).- Throws:
java.lang.Exception- If test fails.
-
test3
public final void test3() throws java.lang.Exception- Throws:
java.lang.Exception- If test fails.
-
test4
public final void test4() throws java.lang.ExceptionTest forCipherIntegra.decrypt(String).- Throws:
java.lang.Exception- If test fails.
-
test5
public final void test5() throws java.lang.ExceptionTest forCipherIntegra.decrypt(String).- Throws:
java.lang.Exception- If test fails.
-
-