aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/HaicomProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-05 11:56:32 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-05 11:56:32 +1300
commit8598581c0bdfc7e5ca842da7363e107232943849 (patch)
treeb152efa0e56cf2f116db7d0a6a198e9ae8c5b645 /test/org/traccar/protocol/HaicomProtocolDecoderTest.java
parent3b3f7dddcb9a7ac43651cacc7cf05247a4f7d82b (diff)
downloadtrackermap-server-8598581c0bdfc7e5ca842da7363e107232943849.tar.gz
trackermap-server-8598581c0bdfc7e5ca842da7363e107232943849.tar.bz2
trackermap-server-8598581c0bdfc7e5ca842da7363e107232943849.zip
Refactor Haicom protocol decoder
Diffstat (limited to 'test/org/traccar/protocol/HaicomProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/HaicomProtocolDecoderTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/HaicomProtocolDecoderTest.java b/test/org/traccar/protocol/HaicomProtocolDecoderTest.java
index df1c33a06..f8a35499a 100644
--- a/test/org/traccar/protocol/HaicomProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/HaicomProtocolDecoderTest.java
@@ -11,7 +11,8 @@ public class HaicomProtocolDecoderTest extends ProtocolDecoderTest {
HaicomProtocolDecoder decoder = new HaicomProtocolDecoder(new HaicomProtocol());
verifyPosition(decoder, text(
- "$GPRS012497007097169,T100001,150618,230031,5402267400332464,0004,2014,000001,,,1,00#V040*"));
+ "$GPRS012497007097169,T100001,150618,230031,5402267400332464,0004,2014,000001,,,1,00#V040*"),
+ position("2015-06-18 23:00:31.000", true, 40.37790, -3.54107));
verifyPosition(decoder, text(
"$GPRS123456789012345,602S19A,100915,063515,7240649312041079,0019,3156,111000,10004,0000,11111,00LH#V037"));