Package org.jastacry.layer
Class TestLayerXor
- java.lang.Object
-
- org.jastacry.layer.TestLayerXor
-
public class TestLayerXor extends java.lang.Object
Test of Layer XOR.- Author:
- Kai Kretschmann
-
-
Constructor Summary
Constructors Constructor Description TestLayerXor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
Test before method.void
tearDown()
Test After method.void
testDecStreamException()
Testcase testDecStream Exceptions.void
testEncDecStream()
Testcase testEncDecStream.void
testEncStreamException()
Testcase testEncStream Exceptions.void
testEquals()
Testcase equals.void
testEqualsSame()
Testcase equals.void
testHashcode()
Testcase hashcode.void
testNotEquals()
Testcase equals.void
testNotEqualsNull()
Testcase equals.void
testNotEqualsWrongclass()
Testcase equals.void
testToString()
Testcase testToString.
-
-
-
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
-
testEncDecStream
@Test public void testEncDecStream() throws org.jastacry.JastacryException
Testcase testEncDecStream.- Throws:
org.jastacry.JastacryException
- in case of error
-
testEncStreamException
@Test public void testEncStreamException() throws org.jastacry.JastacryException, java.io.IOException
Testcase testEncStream Exceptions.- Throws:
org.jastacry.JastacryException
- in case of errorjava.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 errorjava.io.IOException
- will be thrown in test
-
testToString
@Test public void testToString()
Testcase testToString.
-
testEquals
@Test public void testEquals()
Testcase equals.
-
testNotEquals
@Test public void testNotEquals()
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.
-
-