Class EntityMarkingTest

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

@DisplayName("EntityMarkingTest") public class EntityMarkingTest extends Object
Unit tests for EntityMarking data structure. Validates construction, character encoding, marshal/unmarshal round-trip, and equality.
  • Constructor Details

    • EntityMarkingTest

      public EntityMarkingTest()
      default constructor
  • Method Details

    • setUpClass

      @BeforeAll public static void setUpClass()
    • tearDownClass

      @AfterAll public static void tearDownClass()
    • testDefaultConstructor

      @Test public void testDefaultConstructor()
    • testSetCharacterSet

      @Test public void testSetCharacterSet()
    • testSetCharacters

      @Test public void testSetCharacters()
    • testMarshalUnmarshalDataStream

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

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

      @Test public void testEquality()
    • 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