Package edu.nps.moves.dis7.test
Class FixedAndVariableDatumRoundTripTest
java.lang.Object
edu.nps.moves.dis7.test.FixedAndVariableDatumRoundTripTest
@DisplayName("Fixed and Variable Datum Round Trip Test")
public class FixedAndVariableDatumRoundTripTest
extends Object
Unit tests for satisfactory handling of FixedDatum and VariableRecordType
fields and values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidMain method for testing.voidsetUp()setup disNetworkInterface and pduListenerstatic voidvoidtearDown()Tear down disNetworkInterfacestatic voidvoidCompare test PDU received by copying PduvoidTest PDU sending, receiving, marshalling (serialization) and unmarshalling (deserialization)
-
Constructor Details
-
FixedAndVariableDatumRoundTripTest
public FixedAndVariableDatumRoundTripTest()default constructor
-
-
Method Details
-
setUpClass
@BeforeAll public static void setUpClass() -
tearDownClass
@AfterAll public static void tearDownClass() -
setUp
@BeforeEach public void setUp()setup disNetworkInterface and pduListener -
tearDown
@AfterEach public void tearDown()Tear down disNetworkInterface -
testRoundTrip
@Test public void testRoundTrip()Test PDU sending, receiving, marshalling (serialization) and unmarshalling (deserialization) -
testCopyPdu
@Test public void testCopyPdu()Compare test PDU received by copying Pdu -
main
Main method for testing.- Parameters:
args- [address, port, descriptor] command-line arguments are an array of optional String parameters that are passed from execution environment during invocation- See Also:
-