Class CommentPdusTest

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

@DisplayName("Comment Pdus Test") public class CommentPdusTest extends Object
Unit testing for CommentPdus, which can serve as a free-form holder for any kind of narrative information or simulation data.
Author:
brutzman
  • Constructor Summary

    Constructors
    Constructor
    Description
    default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Command-line invocation (CLI) of program, execution starts here
    void
    Setup initialization before each test
    static void
    Setup initialization before each test
    void
    Housekeeping after each test
    static void
    Housekeeping after each test
    void
    Test PDU sending, receiving, marshalling (serialization) and unmarshalling (deserialization)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommentPdusTest

      public CommentPdusTest()
      default constructor
  • Method Details

    • setUpClass

      @BeforeAll public static void setUpClass()
      Setup initialization before each test
    • tearDownClass

      @AfterAll public static void tearDownClass()
      Housekeeping after each test
    • setUp

      @BeforeEach public void setUp()
      Setup initialization before each test
    • tearDown

      @AfterEach public void tearDown()
      Housekeeping after each test
    • testRoundTrip

      @Test public void testRoundTrip()
      Test PDU sending, receiving, marshalling (serialization) and unmarshalling (deserialization)
    • main

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