aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-03-31 22:35:39 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-03-31 22:35:39 -0700
commit59416923dcb3a756eaf532cc4259f2f6625c0762 (patch)
tree9082dae6616deac8fda432b7bfd80e4a52b6d9dc /test/org/traccar/protocol/FlextrackProtocolDecoderTest.java
parent79a129dd6327d932133d6b9a50190d3f4927bff9 (diff)
downloadtrackermap-server-59416923dcb3a756eaf532cc4259f2f6625c0762.tar.gz
trackermap-server-59416923dcb3a756eaf532cc4259f2f6625c0762.tar.bz2
trackermap-server-59416923dcb3a756eaf532cc4259f2f6625c0762.zip
Convert project to gradle
Diffstat (limited to 'test/org/traccar/protocol/FlextrackProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/FlextrackProtocolDecoderTest.java32
1 files changed, 0 insertions, 32 deletions
diff --git a/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java b/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java
deleted file mode 100644
index 3f268fde9..000000000
--- a/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package org.traccar.protocol;
-
-import org.junit.Test;
-import org.traccar.ProtocolTest;
-
-
-public class FlextrackProtocolDecoderTest extends ProtocolTest {
-
- @Test
- public void testDecode() throws Exception {
-
- FlextrackProtocolDecoder decoder = new FlextrackProtocolDecoder(null);
-
- verifyNull(decoder, text(
- "-1,LOGON,7000000123,8945000000"));
-
- verifyNull(decoder, text(
- "-1,LOGON,1080424008,8945020110126633198"));
-
- verifyPosition(decoder, text(
- "-2,UNITSTAT,20060101,123442,1080424008,N0.00.0000,E0.00.0000,0,0,0,4129,-61,2,23866,0,999,A214,63,2EE2,3471676"));
-
- verifyPosition(decoder, text(
- "-2,UNITSTAT,20050205,181923,7000004634,N55.46.0812,E009.21.1665,122,198,6,3934,-81,01A8,23802,213,55,37FD,45,0055,12878"),
- position("2005-02-05 18:19:23.000", true, 55.76802, 9.35278));
-
- verifyPosition(decoder, text(
- "-2,UNITSTAT,20050205,181923,7000004634,N55.46.0812,E009.21.1665,122,198,6,3934,-81,01A8,23802,213,55,37FD,45,0055,12878"));
-
- }
-
-}