Class AntennaLocationTest

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

@DisplayName("AntennaLocationTest") public class AntennaLocationTest extends Object
Unit tests for AntennaLocation data structure. Validates construction, field access, and marshal/unmarshal round-trip.
  • Constructor Details

    • AntennaLocationTest

      public AntennaLocationTest()
      default constructor
  • Method Details

    • setUpClass

      @BeforeAll public static void setUpClass()
    • tearDownClass

      @AfterAll public static void tearDownClass()
    • testDefaultConstructor

      @Test public void testDefaultConstructor()
    • testSettersAndGetters

      @Test public void testSettersAndGetters()
    • testMarshalledSize

      @Test public void testMarshalledSize()
    • testMarshalUnmarshalDataStream

      @Test public void testMarshalUnmarshalDataStream() throws Exception
      Throws:
      Exception
    • testMarshalUnmarshalByteBuffer

      @Test public void testMarshalUnmarshalByteBuffer() throws Exception
      Throws:
      Exception
    • main

      public static void main(String[] args) throws Exception
      Command-line invocation (CLI) of program, execution starts here
      Parameters:
      args - command-line arguments
      Throws:
      Exception