diff options
author | Anton Tananaev <anton@traccar.org> | 2023-05-14 14:07:50 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-05-14 14:07:50 -0700 |
commit | a96a75cc268f2819431b7441090052b01bf61bed (patch) | |
tree | 287c556e270b05a489bc96a4756c82a754af7a41 /src/test/java/org/traccar/handler/events | |
parent | f68d23d79d0321ef47f72fff2388b5f4aac1beff (diff) | |
download | trackermap-server-a96a75cc268f2819431b7441090052b01bf61bed.tar.gz trackermap-server-a96a75cc268f2819431b7441090052b01bf61bed.tar.bz2 trackermap-server-a96a75cc268f2819431b7441090052b01bf61bed.zip |
Per device trip config
Diffstat (limited to 'src/test/java/org/traccar/handler/events')
-rw-r--r-- | src/test/java/org/traccar/handler/events/MotionEventHandlerTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/org/traccar/handler/events/MotionEventHandlerTest.java b/src/test/java/org/traccar/handler/events/MotionEventHandlerTest.java index 2be3f4647..c61ae913d 100644 --- a/src/test/java/org/traccar/handler/events/MotionEventHandlerTest.java +++ b/src/test/java/org/traccar/handler/events/MotionEventHandlerTest.java @@ -36,7 +36,7 @@ public class MotionEventHandlerTest extends BaseTest { @Test public void testMotionWithPosition() throws ParseException { - TripsConfig tripsConfig = new TripsConfig(500, 300000, 300000, 0, false, false); + TripsConfig tripsConfig = new TripsConfig(500, 300000, 300000, 0, false); MotionState state = new MotionState(); @@ -63,7 +63,7 @@ public class MotionEventHandlerTest extends BaseTest { @Test public void testMotionFluctuation() throws ParseException { - TripsConfig tripsConfig = new TripsConfig(500, 300000, 300000, 0, false, false); + TripsConfig tripsConfig = new TripsConfig(500, 300000, 300000, 0, false); MotionState state = new MotionState(); @@ -94,7 +94,7 @@ public class MotionEventHandlerTest extends BaseTest { @Test public void testStopWithPositionIgnition() throws ParseException { - TripsConfig tripsConfig = new TripsConfig(500, 300000, 300000, 0, true, false); + TripsConfig tripsConfig = new TripsConfig(500, 300000, 300000, 0, true); MotionState state = new MotionState(); state.setMotionStreak(true); |