From 7aae459178a79e2f45199b9841979276527935cc Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Sat, 25 Jun 2022 21:15:31 -0700 Subject: [PATCH] default constructor to silence javadoc warning --- test/edu/nps/moves/dis7/test/AllPduRoundTripTest.java | 6 ++++++ test/edu/nps/moves/dis7/test/BitFieldRoundTripTest.java | 6 ++++++ test/edu/nps/moves/dis7/test/CommentPdusTest.java | 6 ++++++ .../edu/nps/moves/dis7/test/CreateAllObjectTypesTest.java | 7 ++++++- .../nps/moves/dis7/test/DataQueryPduRoundTripTest.java | 5 +++++ test/edu/nps/moves/dis7/test/EntityStatePduTest.java | 5 +++++ test/edu/nps/moves/dis7/test/FirePduTest.java | 5 +++++ .../dis7/test/FixedAndVariableDatumRoundTripTest.java | 5 +++++ test/edu/nps/moves/dis7/test/MarshalEnumsTest.java | 7 ++++++- .../nps/moves/dis7/test/NullFieldsEntityMarshallTest.java | 5 +++++ test/edu/nps/moves/dis7/test/ObjectTypeMarshallTest.java | 5 +++++ test/edu/nps/moves/dis7/test/PduFactoryTest.java | 5 +++++ test/edu/nps/moves/dis7/test/PduTest.java | 8 ++++++++ 13 files changed, 73 insertions(+), 2 deletions(-) diff --git a/test/edu/nps/moves/dis7/test/AllPduRoundTripTest.java b/test/edu/nps/moves/dis7/test/AllPduRoundTripTest.java index 67bfb0e479..ca91461b17 100644 --- a/test/edu/nps/moves/dis7/test/AllPduRoundTripTest.java +++ b/test/edu/nps/moves/dis7/test/AllPduRoundTripTest.java @@ -41,6 +41,12 @@ public class AllPduRoundTripTest List<Pdu> pdusRead = new ArrayList<>(); PduFactory pduFactory; PduRecorder pduRecorder; + + /** default constructor */ + public AllPduRoundTripTest() + { + // initialization code here + } /** Prepare */ @BeforeAll diff --git a/test/edu/nps/moves/dis7/test/BitFieldRoundTripTest.java b/test/edu/nps/moves/dis7/test/BitFieldRoundTripTest.java index d95e0949a3..5d35f54fed 100644 --- a/test/edu/nps/moves/dis7/test/BitFieldRoundTripTest.java +++ b/test/edu/nps/moves/dis7/test/BitFieldRoundTripTest.java @@ -24,6 +24,12 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @DisplayName("Bit Field Round Trip Test") public class BitFieldRoundTripTest { + /** default constructor */ + public BitFieldRoundTripTest() + { + // initialization code here + } + Pdu receivedPdu; DisThreadedNetworkInterface disNetworkInterface; DisThreadedNetworkInterface.PduListener pduListener; diff --git a/test/edu/nps/moves/dis7/test/CommentPdusTest.java b/test/edu/nps/moves/dis7/test/CommentPdusTest.java index 1e58048446..8f14565c59 100644 --- a/test/edu/nps/moves/dis7/test/CommentPdusTest.java +++ b/test/edu/nps/moves/dis7/test/CommentPdusTest.java @@ -21,6 +21,12 @@ public class CommentPdusTest DisThreadedNetworkInterface disNetworkInterface; Pdu receivedPdu; DisThreadedNetworkInterface.PduListener pduListener; + + /** default constructor */ + public CommentPdusTest() + { + // initialization code here + } /** Setup initialization before each test */ @BeforeAll diff --git a/test/edu/nps/moves/dis7/test/CreateAllObjectTypesTest.java b/test/edu/nps/moves/dis7/test/CreateAllObjectTypesTest.java index 839274ef60..0d81f17006 100644 --- a/test/edu/nps/moves/dis7/test/CreateAllObjectTypesTest.java +++ b/test/edu/nps/moves/dis7/test/CreateAllObjectTypesTest.java @@ -19,7 +19,12 @@ import static org.junit.jupiter.api.Assertions.assertNull; @DisplayName("All Object Types Create") public class CreateAllObjectTypesTest { - /** preparation **/ + /** default constructor */ + public CreateAllObjectTypesTest() + { + // initialization code here + } + /** preparation **/ @BeforeAll public static void beforeAllTests() { diff --git a/test/edu/nps/moves/dis7/test/DataQueryPduRoundTripTest.java b/test/edu/nps/moves/dis7/test/DataQueryPduRoundTripTest.java index 1cf74f92b0..9c240f68ef 100644 --- a/test/edu/nps/moves/dis7/test/DataQueryPduRoundTripTest.java +++ b/test/edu/nps/moves/dis7/test/DataQueryPduRoundTripTest.java @@ -21,6 +21,11 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @DisplayName("Data Query Pdu Round Test") public class DataQueryPduRoundTripTest { + /** default constructor */ + public DataQueryPduRoundTripTest() + { + // initialization code here + } Pdu receivedPdu; DisThreadedNetworkInterface disNetworkInterface; diff --git a/test/edu/nps/moves/dis7/test/EntityStatePduTest.java b/test/edu/nps/moves/dis7/test/EntityStatePduTest.java index c91e50f5d4..5f3f2fce8d 100644 --- a/test/edu/nps/moves/dis7/test/EntityStatePduTest.java +++ b/test/edu/nps/moves/dis7/test/EntityStatePduTest.java @@ -23,6 +23,11 @@ import static org.junit.jupiter.api.Assertions.*; @DisplayName("Entity State Pdu Test") public class EntityStatePduTest extends PduTest { + /** default constructor */ + public EntityStatePduTest() + { + // initialization code here + } /** Test PDU sending, receiving, marshalling (serialization) and unmarshalling (deserialization) */ @Test @Override diff --git a/test/edu/nps/moves/dis7/test/FirePduTest.java b/test/edu/nps/moves/dis7/test/FirePduTest.java index e18583d814..4c0a128a66 100644 --- a/test/edu/nps/moves/dis7/test/FirePduTest.java +++ b/test/edu/nps/moves/dis7/test/FirePduTest.java @@ -16,6 +16,11 @@ import static org.junit.jupiter.api.Assertions.*; @DisplayName("Fire Pdu Test") public class FirePduTest extends PduTest { + /** default constructor */ + public FirePduTest() + { + // initialization code here + } /** Test PDU sending, receiving, marshalling (serialization) and unmarshalling (deserialization) */ @Test @Override diff --git a/test/edu/nps/moves/dis7/test/FixedAndVariableDatumRoundTripTest.java b/test/edu/nps/moves/dis7/test/FixedAndVariableDatumRoundTripTest.java index 24f6b8fe38..26fa5fda06 100644 --- a/test/edu/nps/moves/dis7/test/FixedAndVariableDatumRoundTripTest.java +++ b/test/edu/nps/moves/dis7/test/FixedAndVariableDatumRoundTripTest.java @@ -20,6 +20,11 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @DisplayName("Fixed and Variable Datum Round Trip Test") public class FixedAndVariableDatumRoundTripTest { + /** default constructor */ + public FixedAndVariableDatumRoundTripTest() + { + // initialization code here + } Pdu receivedPdu; DisThreadedNetworkInterface disNetworkInterface; DisThreadedNetworkInterface.PduListener pduListener; diff --git a/test/edu/nps/moves/dis7/test/MarshalEnumsTest.java b/test/edu/nps/moves/dis7/test/MarshalEnumsTest.java index 0f47e07690..c5602aa4cd 100644 --- a/test/edu/nps/moves/dis7/test/MarshalEnumsTest.java +++ b/test/edu/nps/moves/dis7/test/MarshalEnumsTest.java @@ -18,7 +18,12 @@ import static org.junit.jupiter.api.Assertions.assertNull; @DisplayName("Marshal Enums Test") public class MarshalEnumsTest { - /** preparation **/ + /** default constructor */ + public MarshalEnumsTest() + { + // initialization code here + } + /** preparation **/ @BeforeAll public static void setUpClass() { diff --git a/test/edu/nps/moves/dis7/test/NullFieldsEntityMarshallTest.java b/test/edu/nps/moves/dis7/test/NullFieldsEntityMarshallTest.java index e2208a88dd..ea1d97567e 100644 --- a/test/edu/nps/moves/dis7/test/NullFieldsEntityMarshallTest.java +++ b/test/edu/nps/moves/dis7/test/NullFieldsEntityMarshallTest.java @@ -19,6 +19,11 @@ import static org.junit.jupiter.api.Assertions.*; @DisplayName("Null Fields Entity Marshall Test") public class NullFieldsEntityMarshallTest { + /** default constructor */ + public NullFieldsEntityMarshallTest() + { + // initialization code here + } LAV105 lav105; /** preparation **/ diff --git a/test/edu/nps/moves/dis7/test/ObjectTypeMarshallTest.java b/test/edu/nps/moves/dis7/test/ObjectTypeMarshallTest.java index c8e62349a5..318dbe76b9 100644 --- a/test/edu/nps/moves/dis7/test/ObjectTypeMarshallTest.java +++ b/test/edu/nps/moves/dis7/test/ObjectTypeMarshallTest.java @@ -18,6 +18,11 @@ import static org.junit.jupiter.api.Assertions.assertNull; @DisplayName("Object Type Marshal Test") public class ObjectTypeMarshallTest { + /** default constructor */ + public ObjectTypeMarshallTest() + { + // initialization code here + } /** preparation **/ @BeforeAll public static void setUpClass() diff --git a/test/edu/nps/moves/dis7/test/PduFactoryTest.java b/test/edu/nps/moves/dis7/test/PduFactoryTest.java index f1d2878057..5fe9b87123 100644 --- a/test/edu/nps/moves/dis7/test/PduFactoryTest.java +++ b/test/edu/nps/moves/dis7/test/PduFactoryTest.java @@ -19,6 +19,11 @@ import static org.junit.jupiter.api.Assertions.assertNull; @DisplayName("Pdu Factory Test") public class PduFactoryTest { + /** default constructor */ + public PduFactoryTest() + { + // initialization code here + } /** actions to perform before all tests */ @BeforeAll public static void beforeAllTests() diff --git a/test/edu/nps/moves/dis7/test/PduTest.java b/test/edu/nps/moves/dis7/test/PduTest.java index 6287fcc5e2..24c0d138ca 100644 --- a/test/edu/nps/moves/dis7/test/PduTest.java +++ b/test/edu/nps/moves/dis7/test/PduTest.java @@ -59,6 +59,12 @@ abstract public class PduTest DisThreadedNetworkInterface disNetworkInterface; DisThreadedNetworkInterface.PduListener pduListener; + /** default constructor */ + public PduTest() + { + // initialization code here + } + /** preparation **/ @BeforeAll public static void setUpClass() @@ -260,6 +266,7 @@ abstract public class PduTest } /** + * Accessor to set maximum retry attempts * @return the maximumRetryAttempts value */ public int getMaximumRetryAttempts() @@ -268,6 +275,7 @@ abstract public class PduTest } /** + * Accessor to get maximum retry attempts * @param maximumRetryAttempts the maximumRetryAttempts value to set */ public void setMaximumRetryAttempts(int maximumRetryAttempts) -- GitLab