Class BitFieldRoundTripTest
java.lang.Object
edu.nps.moves.dis7.test.BitFieldRoundTripTest
Unit tests for satisfactory handling of various necessary bit fields, supporting each data type.
- Author:
- Don McGregor
-
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
-
BitFieldRoundTripTest
public BitFieldRoundTripTest()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:
-