public class SCSICommandParserTest extends ProtocolDataUnitTest
chunkSize, protocolDataUnit, recognizedParser| Constructor and Description |
|---|
SCSICommandParserTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
testCommandDescriptorBlock(ByteBuffer testCDB,
String etherealLog) |
void |
testDeserialize1()
This test case validates the parsing process.
|
void |
testDeserialize2()
This test case validates the parsing process.
|
void |
testSerialize1()
This test case validates the serialization process.
|
void |
testSerialize2()
This test case validates the serialization process.
|
setUp, tearDown, testBasicHeaderSegment, testDataSegment, testDataSegment, testDataSegment, testDataSegment, testDeserializepublic void testDeserialize1()
throws IOException,
org.jscsi.exception.InternetSCSIException,
DigestException
IOException - This exception should be never thrown.org.jscsi.exception.InternetSCSIException - This exception should be never thrown.DigestExceptionpublic void testSerialize1()
throws org.jscsi.exception.InternetSCSIException,
IOException,
DigestException
org.jscsi.exception.InternetSCSIException - This exception should be never thrown.IOException - This exception should be never thrown.DigestExceptionpublic void testDeserialize2()
throws IOException,
org.jscsi.exception.InternetSCSIException,
DigestException
IOException - This exception should be never thrown.org.jscsi.exception.InternetSCSIException - This exception should be never thrown.DigestExceptionpublic void testSerialize2()
throws org.jscsi.exception.InternetSCSIException,
IOException,
DigestException
org.jscsi.exception.InternetSCSIException - This exception should be never thrown.IOException - This exception should be never thrown.DigestExceptionprotected final void testCommandDescriptorBlock(ByteBuffer testCDB, String etherealLog)
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.