Class PduFactoryTest
java.lang.Object
edu.nps.moves.dis7.test.PduFactoryTest
Unit tests for satisfactory factory creation of each PDU class.
- Author:
- Mike Bailey, jmbailey@edu.nps.edu
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PduFactoryTest
public PduFactoryTest()default constructor
-
-
Method Details
-
beforeAllTests
@BeforeAll public static void beforeAllTests()actions to perform before all tests -
afterAllTests
@AfterAll public static void afterAllTests()actions to perform after all tests -
setUp
@BeforeEach public void setUp()initialization -
tearDown
@AfterEach public void tearDown()close open objects -
testCreateAllPdus
@Test public void testCreateAllPdus()Test creation of all PDU types -
main
Main method provides support 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:
-