Package org.jastacry.layer
Class TestLayerTransparent
- java.lang.Object
-
- org.jastacry.layer.TestLayerTransparent
-
public class TestLayerTransparent extends Object
Test of Layer Transparent.- Author:
- Kai Kretschmann
-
-
Constructor Summary
Constructors Constructor Description TestLayerTransparent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
Test Before method.void
tearDown()
Test After method.void
testDecStream()
Test method forLayer.decStream(java.io.InputStream, java.io.OutputStream)
.void
testDecStreamException()
Testcase testDecStream Exceptions.void
testEncStream()
Test method forLayer.encStream(java.io.InputStream, java.io.OutputStream)
.void
testEncStreamException()
Testcase testEncStream Exceptions.void
testEquals()
Testcase equals.void
testEqualsSame()
Testcase equals.void
testHashcode()
Testcase hashcode.void
testNotEqualsNull()
Testcase equals.void
testNotEqualsWrongclass()
Testcase equals.void
testToString()
Test method forAbstractBasicLayer.toString()
.
-
-
-
Method Detail
-
setUp
@BeforeEach public void setUp() throws Exception
Test Before method.- Throws:
Exception
- in case of error
-
tearDown
@AfterEach public void tearDown() throws Exception
Test After method.- Throws:
Exception
- in case of error
-
testEncStream
@Test public void testEncStream() throws JastacryException
Test method forLayer.encStream(java.io.InputStream, java.io.OutputStream)
.- Throws:
JastacryException
- in case of error.
-
testDecStream
@Test public void testDecStream() throws JastacryException
Test method forLayer.decStream(java.io.InputStream, java.io.OutputStream)
.- Throws:
JastacryException
- in case of error.
-
testToString
@Test public void testToString()
Test method forAbstractBasicLayer.toString()
.
-
testEncStreamException
@Test public void testEncStreamException() throws JastacryException, IOException
Testcase testEncStream Exceptions.- Throws:
JastacryException
- in case of errorIOException
- will be thrown in test
-
testDecStreamException
@Test public void testDecStreamException() throws JastacryException, IOException
Testcase testDecStream Exceptions.- Throws:
JastacryException
- in case of errorIOException
- 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.
-
-