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 void
Main method for testing.void
setUp()
setup disNetworkInterface and pduListenerstatic void
test method overridevoid
tearDown()
Tear down disNetworkInterfacestatic void
test method overridevoid
Test PDU sending, receiving, marshalling (serialization) and unmarshalling (deserialization)
-
Constructor Details
-
FixedAndVariableDatumRoundTripTest
public FixedAndVariableDatumRoundTripTest()default constructor
-
-
Method Details
-
setUpClass
@BeforeAll public static void setUpClass()test method override -
tearDownClass
@AfterAll public static void tearDownClass()test method override -
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) -
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:
-