Package edu.nps.moves.dis7.test
Class PduRecorderTest
java.lang.Object
edu.nps.moves.dis7.test.PduRecorderTest
Unit tests for PduRecorder utility class.
Tests configuration, encoding options, and parameter access
without requiring network access.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidCommand-line invocation (CLI) of program, execution starts herestatic voidstatic voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
PduRecorderTest
public PduRecorderTest()default constructor
-
-
Method Details
-
setUpClass
@BeforeAll public static void setUpClass() -
tearDownClass
@AfterAll public static void tearDownClass() -
testFullConstructor
@Test public void testFullConstructor() -
testDefaultAddress
@Test public void testDefaultAddress() -
testDefaultPort
@Test public void testDefaultPort() -
testSetAddress
@Test public void testSetAddress() -
testSetPort
@Test public void testSetPort() -
testSetDescriptor
@Test public void testSetDescriptor() -
testDefaultEncoding
@Test public void testDefaultEncoding() -
testSetEncodingBase64
@Test public void testSetEncodingBase64() -
testSetEncodingBinary
@Test public void testSetEncodingBinary() -
testUnsupportedEncodingIgnored
@Test public void testUnsupportedEncodingIgnored() -
testSetLogFileName
@Test public void testSetLogFileName() -
testDefaultLogFileName
@Test public void testDefaultLogFileName() -
testSetOutputDirectory
@Test public void testSetOutputDirectory() -
testVerboseSettings
@Test public void testVerboseSettings() -
testVerboseReceiptSetting
@Test public void testVerboseReceiptSetting() -
testVerboseSendingSetting
@Test public void testVerboseSendingSetting() -
testVerboseTimestampSetting
@Test public void testVerboseTimestampSetting() -
testReadableTimeStampSetting
@Test public void testReadableTimeStampSetting() -
testZeroBasedTimeStampSetting
@Test public void testZeroBasedTimeStampSetting() -
testIncludeHeadersSetting
@Test public void testIncludeHeadersSetting() -
testEncodingConstants
@Test public void testEncodingConstants() -
testEncodingOptionsList
@Test public void testEncodingOptionsList() -
testCommentMarker
@Test public void testCommentMarker() -
testProgressiveSetters
@Test public void testProgressiveSetters() -
main
Command-line invocation (CLI) of program, execution starts here- Parameters:
args- command-line arguments
-