Class TestLayerTransparent


  • public class TestLayerTransparent
    extends java.lang.Object
    Test of Layer Transparent.
    Author:
    Kai Kretschmann
    • Constructor Detail

      • TestLayerTransparent

        public TestLayerTransparent()
    • Method Detail

      • setUp

        @BeforeEach
        public void setUp()
                   throws java.lang.Exception
        Test Before method.
        Throws:
        java.lang.Exception - in case of error
      • tearDown

        @AfterEach
        public void tearDown()
                      throws java.lang.Exception
        Test After method.
        Throws:
        java.lang.Exception - in case of error
      • testEncStream

        @Test
        public void testEncStream()
                           throws org.jastacry.JastacryException
        Test method for Layer.encStream(java.io.InputStream, java.io.OutputStream) .
        Throws:
        org.jastacry.JastacryException - in case of error.
      • testDecStream

        @Test
        public void testDecStream()
                           throws org.jastacry.JastacryException
        Test method for Layer.decStream(java.io.InputStream, java.io.OutputStream) .
        Throws:
        org.jastacry.JastacryException - in case of error.
      • testToString

        @Test
        public void testToString()
        Test method for AbstractBasicLayer.toString().
      • testEncStreamException

        @Test
        public void testEncStreamException()
                                    throws org.jastacry.JastacryException,
                                           java.io.IOException
        Testcase testEncStream Exceptions.
        Throws:
        org.jastacry.JastacryException - in case of error
        java.io.IOException - will be thrown in test
      • testDecStreamException

        @Test
        public void testDecStreamException()
                                    throws org.jastacry.JastacryException,
                                           java.io.IOException
        Testcase testDecStream Exceptions.
        Throws:
        org.jastacry.JastacryException - in case of error
        java.io.IOException - will be thrown in test
      • testEquals

        @Test
        public void testEquals()
        Testcase equals.
      • testEqualsSame

        @Test
        public void testEqualsSame()
        Testcase equals.
      • testNotEqualsNull

        @Test
        public void testNotEqualsNull()
        Testcase equals.
      • testNotEqualsWrongclass

        @Test
        public void testNotEqualsWrongclass()
        Testcase equals.
      • testHashcode

        @Test
        public void testHashcode()
        Testcase hashcode.