Package edu.nps.moves.dis7
Class FirePduTest
java.lang.Object
edu.nps.moves.dis7.PduTest
edu.nps.moves.dis7.FirePduTest
-
Field Summary
Fields inherited from class edu.nps.moves.dis7.PduTest
THREAD_SLEEP_INTERVAL_MSEC_DEFAULT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
protected void
testOnePdu(Pdu createdPdu)
Test single PDU for correctness according to all contained fields in this PDU type See https://en.wikipedia.org/wiki/Marshalling_(computer_science)void
Test PDU sending, receiving, marshalling (serialization) and unmarshalling (deserialization)Methods inherited from class edu.nps.moves.dis7.PduTest
compare, getMaximumRetryAttempts, getThreadSleepInterval, sendIeeeStandardPdu, setMaximumRetryAttempts, setThreadSleepInterval, setUp, setUpClass, setUpReceiver, tearDown, tearDownClass, testPduFinishingChecks, testPduSendReceiveHeaderMatch
-
Constructor Details
-
FirePduTest
public FirePduTest()
-
-
Method Details
-
testRoundTrip
@Test public void testRoundTrip()Test PDU sending, receiving, marshalling (serialization) and unmarshalling (deserialization)- Specified by:
testRoundTrip
in classPduTest
-
testOnePdu
Test single PDU for correctness according to all contained fields in this PDU type See https://en.wikipedia.org/wiki/Marshalling_(computer_science)- Specified by:
testOnePdu
in classPduTest
- Parameters:
createdPdu
- separate PDU for comparison
-
main
-