Class DetonationPduTest

java.lang.Object
edu.nps.moves.dis7.PduTest
edu.nps.moves.dis7.DetonationPduTest

@DisplayName("Detonation Pdu Test") public class DetonationPduTest extends PduTest
Author:
<a href="mailto:tdnorbra@nps.edu?subject=edu.nps.moves.dis7.DetonationPduTest">Terry Norbraten, NPS MOVES</a>
  • Constructor Details

    • DetonationPduTest

      public DetonationPduTest()
  • Method Details

    • testRoundTrip

      @Test public void testRoundTrip()
      Test PDU sending, receiving, marshalling (serialization) and unmarshalling (deserialization)
      Specified by:
      testRoundTrip in class PduTest
    • testOnePdu

      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)
      Specified by:
      testOnePdu in class PduTest
      Parameters:
      createdPdu - separate PDU for comparison
    • main

      public static void main(String[] args)