Package org.jastacry.layer
Class TestLayerAsciiTransport
- java.lang.Object
-
- org.jastacry.layer.TestLayerAsciiTransport
-
public class TestLayerAsciiTransport extends Object
Test class for ascii transport format.- Author:
- Kai Kretschmann
-
-
Constructor Summary
Constructors Constructor Description TestLayerAsciiTransport()
-
Method Summary
-
-
-
Method Detail
-
setLogger
@BeforeAll public static void setLogger() throws MalformedURLException
The BeforeClass method.- Throws:
MalformedURLException
- in case of error.
-
setUp
@BeforeEach public void setUp() throws Exception
The Before method.- Throws:
Exception
- in case of error.
-
tearDown
@AfterEach public void tearDown() throws Exception
The After method.- Throws:
Exception
- in case of error.
-
testEncStream
@Test public void testEncStream() throws JastacryException, IOException
Test method forAsciiTransportLayer.encStream(java.io.InputStream, java.io.OutputStream)
.- Throws:
JastacryException
- in case of error.IOException
- i case of error
-
testEncStreamExceptionIn
@Test public void testEncStreamExceptionIn() throws JastacryException, IOException
Test method forAsciiTransportLayer.encStream(java.io.InputStream, java.io.OutputStream)
.- Throws:
JastacryException
- in case of error.IOException
- in case of error
-
testEncStreamExceptionOut
@Test public void testEncStreamExceptionOut() throws JastacryException, IOException
Test method forAsciiTransportLayer.encStream(java.io.InputStream, java.io.OutputStream)
.- Throws:
JastacryException
- in case of error.IOException
- i case of error
-
testDecStream
@Test public void testDecStream() throws JastacryException, IOException
Test method forAsciiTransportLayer.decStream(java.io.InputStream, java.io.OutputStream)
.- Throws:
JastacryException
- in case of error.IOException
- in case of error
-
testDecStreamExceptionIn
@Test public void testDecStreamExceptionIn() throws JastacryException, IOException
Test method forAsciiTransportLayer.decStream(java.io.InputStream, java.io.OutputStream)
.- Throws:
JastacryException
- in case of error.IOException
- in case of error
-
testDecStreamExceptionOut
@Test public void testDecStreamExceptionOut() throws JastacryException, IOException
Test method forAsciiTransportLayer.decStream(java.io.InputStream, java.io.OutputStream)
.- Throws:
JastacryException
- in case of error.IOException
- in case of error
-
testRun
@Test public void testRun()
Test method forAsciiTransportLayer.decStream(java.io.InputStream, java.io.OutputStream)
.
-
testToString
@Test public void testToString()
Test method forAbstractBasicLayer.toString()
.
-
testUnsupported
@Test public void testUnsupported() throws JastacryException
Testcase unsupported exception.- Throws:
JastacryException
- on error
-
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.
-
-