Package edu.nps.moves.dis7.test
Class DisChannelTest
java.lang.Object
edu.nps.moves.dis7.test.DisChannelTest
Unit tests for DisChannel utility class.
Tests configuration and parameter access without requiring network.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidCommand-line invocation (CLI) of program, execution starts herestatic voidstatic voidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DisChannelTest
public DisChannelTest()default constructor
-
-
Method Details
-
setUpClass
@BeforeAll public static void setUpClass() -
tearDownClass
@AfterAll public static void tearDownClass() -
testDefaultConstructor
@Test public void testDefaultConstructor() -
testDescriptorConstructor
@Test public void testDescriptorConstructor() -
testDefaultNetworkAddress
@Test public void testDefaultNetworkAddress() -
testDefaultNetworkPort
@Test public void testDefaultNetworkPort() -
testSetNetworkAddress
@Test public void testSetNetworkAddress() -
testSetNetworkPort
@Test public void testSetNetworkPort() -
testSetDescriptor
@Test public void testSetDescriptor() -
testTimestampStyle
@Test public void testTimestampStyle() -
testGetPduFactory
@Test public void testGetPduFactory() -
main
Command-line invocation (CLI) of program, execution starts here- Parameters:
args- command-line arguments
-