Skip to content
Snippets Groups Projects
Commit 1dcb25af authored by Brutzman, Don's avatar Brutzman, Don
Browse files

new package path edu.nps.moves.dis7.utilities.DisTime;

parent 45ac3bc4
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment