From 1dcb25afa18a11cf1b6a8dd08bbc7778b2d2f69d Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Sat, 22 Jan 2022 14:49:22 -0800 Subject: [PATCH] new package path edu.nps.moves.dis7.utilities.DisTime; --- test/edu/nps/moves/dis7/test/AllPduRoundTripTest.java | 3 ++- test/edu/nps/moves/dis7/test/PduFactoryTest.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/edu/nps/moves/dis7/test/AllPduRoundTripTest.java b/test/edu/nps/moves/dis7/test/AllPduRoundTripTest.java index a8977fe5f3..c7617802d5 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 7d5bbcdb0a..f7025c0182 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(); -- GitLab