diff --git a/test/edu/nps/moves/dis7/test/AllPduRoundTripTest.java b/test/edu/nps/moves/dis7/test/AllPduRoundTripTest.java index a8977fe5f36e69d4bdd899599b79718d408e1d34..c7617802d53d780cc92a8cde79470930ad95b3e4 100644 --- a/test/edu/nps/moves/dis7/test/AllPduRoundTripTest.java +++ b/test/edu/nps/moves/dis7/test/AllPduRoundTripTest.java @@ -6,6 +6,7 @@ package edu.nps.moves.dis7.test; import edu.nps.moves.dis7.enumerations.Country; import edu.nps.moves.dis7.pdus.Pdu; import edu.nps.moves.dis7.utilities.DisThreadedNetworkInterface; +import edu.nps.moves.dis7.utilities.DisTime; import edu.nps.moves.dis7.utilities.PduFactory; import edu.nps.moves.dis7.utilities.stream.PduPlayer; import edu.nps.moves.dis7.utilities.stream.PduRecorder; @@ -74,7 +75,7 @@ public class AllPduRoundTripTest System.out.println ("*** AllPduRoundTripTest testRoundTripAllPdus() start..."); setupSenderRecorder(); - pduFactory = new PduFactory(Country.PHILIPPINES_PHL, (byte) 11, (byte) 22, (short) 33, PduFactory.TimestampStyle.IEEE_ABSOLUTE); + pduFactory = new PduFactory(Country.PHILIPPINES_PHL, (byte) 11, (byte) 22, (short) 33, DisTime.TimestampStyle.IEEE_ABSOLUTE); pdusSent.add(pduFactory.makeAcknowledgePdu()); pdusSent.add(pduFactory.makeAcknowledgeReliablePdu()); diff --git a/test/edu/nps/moves/dis7/test/PduFactoryTest.java b/test/edu/nps/moves/dis7/test/PduFactoryTest.java index 7d5bbcdb0aaf55ed4ccf1394ad381a7b28733923..f7025c0182df4b64899ef16052b5d91a846cdc1f 100644 --- a/test/edu/nps/moves/dis7/test/PduFactoryTest.java +++ b/test/edu/nps/moves/dis7/test/PduFactoryTest.java @@ -5,6 +5,7 @@ package edu.nps.moves.dis7.test; import edu.nps.moves.dis7.enumerations.Country; +import edu.nps.moves.dis7.utilities.DisTime; import edu.nps.moves.dis7.utilities.PduFactory; import org.junit.jupiter.api.*; import static org.junit.jupiter.api.Assertions.assertNull; @@ -49,7 +50,7 @@ public class PduFactoryTest Throwable ex = null; try { //Arrays.stream(PduFactory.class.getDeclaredMethods()).forEach(m->System.out.println(m.getName())); - PduFactory fact = new PduFactory(Country.PHILIPPINES_PHL, (byte) 11, (byte) 22, (short) 33, PduFactory.TimestampStyle.IEEE_ABSOLUTE); + PduFactory fact = new PduFactory(Country.PHILIPPINES_PHL, (byte) 11, (byte) 22, (short) 33, DisTime.TimestampStyle.IEEE_ABSOLUTE); fact.makeAcknowledgePdu(); fact.makeAcknowledgeReliablePdu();