Package edu.nps.moves.dis7.test
Class CommentPdusTest
java.lang.Object
edu.nps.moves.dis7.test.CommentPdusTest
Unit testing for CommentPdus, which can serve as a free-form holder for any kind of narrative information or simulation data.
- Author:
- brutzman
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Command-line invocation (CLI) of program, execution starts herevoid
setUp()
Setup initialization before each teststatic void
Setup initialization before each testvoid
tearDown()
Housekeeping after each teststatic void
Housekeeping after each testvoid
Test PDU sending, receiving, marshalling (serialization) and unmarshalling (deserialization)
-
Constructor Details
-
CommentPdusTest
public CommentPdusTest()default constructor
-
-
Method Details
-
setUpClass
@BeforeAll public static void setUpClass()Setup initialization before each test -
tearDownClass
@AfterAll public static void tearDownClass()Housekeeping after each test -
setUp
@BeforeEach public void setUp()Setup initialization before each test -
tearDown
@AfterEach public void tearDown()Housekeeping after each test -
testRoundTrip
@Test public void testRoundTrip()Test PDU sending, receiving, marshalling (serialization) and unmarshalling (deserialization) -
main
Command-line invocation (CLI) of program, execution starts here- Parameters:
args
- command-line arguments
-