Class DSSServicesTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class DSSServicesTest
    extends junit.framework.TestCase

    Class 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
      void method01DSSAfirmaSign()
      Test for @Firma DSS sign service.
      void method02DSSAfirmaCoSign()
      Test for @Firma DSS co-sign service.
      void method03DSSAfirmaCounterSign()
      Test for @Firma DSS counter-sign service.
      void method04DSSAfirmaVerify()
      Test for @Firma DSS verify service.
      void method05UpdateSignature()
      Test for @Firma DSS upgrade service.
      void method06DSSAfirmaVerifyCertificate()
      Test for @Firma DSS verify certificate service.
      void method07DSSBatchVerifySignature()
      Test for @Firma DSS batch verify signature service.
      void method08DSSBatchVerifyCertificate()
      Test for @Firma DSS batch verify certificate service.
      void method09DSSAsyncRequestStatus()
      Test for @Firma DSS asynchronous service.
      void method10DSSTimestampTSA()
      Method that tests the DSS services from TS@.
      void testDSSService()
      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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DSSServicesTest

        public DSSServicesTest()
    • Method Detail

      • testDSSService

        public void testDSSService()
                            throws java.lang.Exception
        Test for @Firma DSS sign service.
        Throws:
        java.lang.Exception - If the test fails.
      • method01DSSAfirmaSign

        public void method01DSSAfirmaSign()
                                   throws java.lang.Exception
        Test for @Firma DSS sign service.
        Throws:
        java.lang.Exception - If the test fails.
      • method02DSSAfirmaCoSign

        public void method02DSSAfirmaCoSign()
                                     throws java.lang.Exception
        Test for @Firma DSS co-sign service.
        Throws:
        java.lang.Exception - If the test fails.
      • method03DSSAfirmaCounterSign

        public void method03DSSAfirmaCounterSign()
                                          throws java.lang.Exception
        Test for @Firma DSS counter-sign service.
        Throws:
        java.lang.Exception - If the test fails.
      • method04DSSAfirmaVerify

        public void method04DSSAfirmaVerify()
                                     throws java.lang.Exception
        Test for @Firma DSS verify service.
        Throws:
        java.lang.Exception - If the test fails.
      • method05UpdateSignature

        public void method05UpdateSignature()
                                     throws java.lang.Exception
        Test for @Firma DSS upgrade service.
        Throws:
        java.lang.Exception - If the test fails.
      • method06DSSAfirmaVerifyCertificate

        public void method06DSSAfirmaVerifyCertificate()
                                                throws java.lang.Exception
        Test for @Firma DSS verify certificate service.
        Throws:
        java.lang.Exception - If the test fails.
      • method07DSSBatchVerifySignature

        public void method07DSSBatchVerifySignature()
                                             throws java.lang.Exception
        Test for @Firma DSS batch verify signature service.
        Throws:
        java.lang.Exception - If the test fails.
      • method08DSSBatchVerifyCertificate

        public void method08DSSBatchVerifyCertificate()
                                               throws java.lang.Exception
        Test for @Firma DSS batch verify certificate service.
        Throws:
        java.lang.Exception - If the test fails.
      • method09DSSAsyncRequestStatus

        public void method09DSSAsyncRequestStatus()
                                           throws java.lang.Exception
        Test 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@.