Package es.gob.afirma.testwebservices
Class DSSServicesTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- es.gob.afirma.testwebservices.DSSServicesTest
-
- All Implemented Interfaces:
junit.framework.Test
public class DSSServicesTest extends junit.framework.TestCaseClass that allows to tests the @Firma and TS@ DSS services.
Project:@Firma and TS@ Web Services Integration Platform.
- Version:
- 1.2, 06/03/2020.
-
-
Constructor Summary
Constructors Constructor Description DSSServicesTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmethod01DSSAfirmaSign()Test for @Firma DSS sign service.voidmethod02DSSAfirmaCoSign()Test for @Firma DSS co-sign service.voidmethod03DSSAfirmaCounterSign()Test for @Firma DSS counter-sign service.voidmethod04DSSAfirmaVerify()Test for @Firma DSS verify service.voidmethod05UpdateSignature()Test for @Firma DSS upgrade service.voidmethod06DSSAfirmaVerifyCertificate()Test for @Firma DSS verify certificate service.voidmethod07DSSBatchVerifySignature()Test for @Firma DSS batch verify signature service.voidmethod08DSSBatchVerifyCertificate()Test for @Firma DSS batch verify certificate service.voidmethod09DSSAsyncRequestStatus()Test for @Firma DSS asynchronous service.voidmethod10DSSTimestampTSA()Method that tests the DSS services from TS@.voidtestDSSService()Test for @Firma DSS sign service.-
Methods inherited from class junit.framework.TestCase
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, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
-
-
-
-
Method Detail
-
testDSSService
public void testDSSService() throws java.lang.ExceptionTest for @Firma DSS sign service.- Throws:
java.lang.Exception- If the test fails.
-
method01DSSAfirmaSign
public void method01DSSAfirmaSign() throws java.lang.ExceptionTest for @Firma DSS sign service.- Throws:
java.lang.Exception- If the test fails.
-
method02DSSAfirmaCoSign
public void method02DSSAfirmaCoSign() throws java.lang.ExceptionTest for @Firma DSS co-sign service.- Throws:
java.lang.Exception- If the test fails.
-
method03DSSAfirmaCounterSign
public void method03DSSAfirmaCounterSign() throws java.lang.ExceptionTest for @Firma DSS counter-sign service.- Throws:
java.lang.Exception- If the test fails.
-
method04DSSAfirmaVerify
public void method04DSSAfirmaVerify() throws java.lang.ExceptionTest for @Firma DSS verify service.- Throws:
java.lang.Exception- If the test fails.
-
method05UpdateSignature
public void method05UpdateSignature() throws java.lang.ExceptionTest for @Firma DSS upgrade service.- Throws:
java.lang.Exception- If the test fails.
-
method06DSSAfirmaVerifyCertificate
public void method06DSSAfirmaVerifyCertificate() throws java.lang.ExceptionTest for @Firma DSS verify certificate service.- Throws:
java.lang.Exception- If the test fails.
-
method07DSSBatchVerifySignature
public void method07DSSBatchVerifySignature() throws java.lang.ExceptionTest for @Firma DSS batch verify signature service.- Throws:
java.lang.Exception- If the test fails.
-
method08DSSBatchVerifyCertificate
public void method08DSSBatchVerifyCertificate() throws java.lang.ExceptionTest for @Firma DSS batch verify certificate service.- Throws:
java.lang.Exception- If the test fails.
-
method09DSSAsyncRequestStatus
public void method09DSSAsyncRequestStatus() throws java.lang.ExceptionTest for @Firma DSS asynchronous service.- Throws:
java.lang.Exception- If the test fails.
-
method10DSSTimestampTSA
public void method10DSSTimestampTSA()
Method that tests the DSS services from TS@.
-
-