Class BitFieldRoundTripTest

java.lang.Object
edu.nps.moves.dis7.test.BitFieldRoundTripTest

@DisplayName("Bit Field Round Trip Test") public class BitFieldRoundTripTest extends Object
Unit tests for satisfactory handling of various necessary bit fields, supporting each data type.
Author:
Don McGregor
  • 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

      public static void main(String[] args)
      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: