Package edu.nps.moves.dis7.test
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 voidMain method for testing.voidsetUp()setup disNetworkInterface and pduListenerstatic voidtest method overridevoidtearDown()Tear down disNetworkInterfacestatic voidtest method overridevoidTest 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:
-