Class SignalPdusTest
java.lang.Object
edu.nps.moves.dis7.test.SignalPdusTest
@DisplayName("SignalPdusTest")
@TestMethodOrder(org.junit.jupiter.api.MethodOrderer.OrderAnnotation.class)
public class SignalPdusTest
extends Object
This is an important unit test that examines the validity of two special-case signal PDUs.
- Author:
- tdnorbra@nps.edu
-
Constructor Details
-
SignalPdusTest
public SignalPdusTest()default constructor
-
-
Method Details
-
setUpClass
@BeforeAll public static void setUpClass()preparation -
setupNetwork
public static void setupNetwork()Prepare for network operations and sendPDU initial PDUs, must be called at beginning of setupClass() -
setUp
- Throws:
IOException
InterruptedException
-
tearDown
- Throws:
IOException
-
tearDownClass
- Throws:
IOException
-
testRoundTripNet
@Test @Order(1) public void testRoundTripNet() -
testRoundTripLog
- Throws:
IOException
InterruptedException
-
main
- Throws:
IOException
InterruptedException
-