aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-05 14:14:50 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-05 14:14:50 +1300
commite9aa53180dac2dd4a0ed585791959018804c4815 (patch)
treeff36f873f270f53edfce8683265fae7d67c1b5d1 /test/org/traccar
parent08dc9eb08cf5a1f3c474d4ac5e421db4259ec92e (diff)
downloadtrackermap-server-e9aa53180dac2dd4a0ed585791959018804c4815.tar.gz
trackermap-server-e9aa53180dac2dd4a0ed585791959018804c4815.tar.bz2
trackermap-server-e9aa53180dac2dd4a0ed585791959018804c4815.zip
Refactor Flextrack protocol decoder
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/FlextrackProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java b/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java
index 049b0e95e..d7c773b01 100644
--- a/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java
@@ -21,6 +21,10 @@ public class FlextrackProtocolDecoderTest extends ProtocolDecoderTest {
"-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"));
}