Class DLExternalTest

  • All Implemented Interfaces:
    Test

    public class DLExternalTest
    extends SimpleTest
    Class checking the correct functionality of DLExternal
    • Constructor Detail

      • DLExternalTest

        public DLExternalTest()
    • Method Detail

      • testInstantiationByVector

        public void testInstantiationByVector()
                                       throws java.lang.Exception
        Checks that the values are correctly instantiated
        Throws:
        java.lang.Exception - Will be thrown if there was an error while performing the test
      • testReadEncoded

        public void testReadEncoded()
                             throws java.lang.Exception
        Checks that a DLExternal is created from DER encoded bytes correctly. This is done by creating the DER encoded data by using getEncoded
        Throws:
        java.lang.Exception - Will be thrown if there was an error while performing the test
      • performTest

        public void performTest()
                         throws java.lang.Exception
        Specified by:
        performTest in class SimpleTest
        Throws:
        java.lang.Exception
      • main

        public static void main​(java.lang.String[] args)
        Main method to start testing manually outside production
        Parameters:
        args - Calling arguments (not used here)