aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/HaicomProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-19 14:03:56 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-19 14:03:56 +1200
commit4aa2838cd7a71ee1d0c819ce6a37bd2aaddd233d (patch)
tree5eb11de2b2344cd5fb7f7e70079d8567677940d3 /test/org/traccar/protocol/HaicomProtocolDecoderTest.java
parent278712a8720e1e93e63063d7854a1767dd06c3f2 (diff)
downloadtrackermap-server-4aa2838cd7a71ee1d0c819ce6a37bd2aaddd233d.tar.gz
trackermap-server-4aa2838cd7a71ee1d0c819ce6a37bd2aaddd233d.tar.bz2
trackermap-server-4aa2838cd7a71ee1d0c819ce6a37bd2aaddd233d.zip
Fix Haicom hemisphere decoding
Diffstat (limited to 'test/org/traccar/protocol/HaicomProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/HaicomProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/HaicomProtocolDecoderTest.java b/test/org/traccar/protocol/HaicomProtocolDecoderTest.java
index 13659d040..4ccd0fbd4 100644
--- a/test/org/traccar/protocol/HaicomProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/HaicomProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class HaicomProtocolDecoderTest extends ProtocolDecoderTest {
HaicomProtocolDecoder decoder = new HaicomProtocolDecoder(null);
verify(decoder.decode(null, null,
+ "$GPRS012497007097169,T100001,150618,230031,5402267400332464,0004,2014,000001,,,1,00#V040*"));
+
+ verify(decoder.decode(null, null,
"$GPRS123456789012345,602S19A,100915,063515,7240649312041079,0019,3156,111000,10004,0000,11111,00LH#V037"));
verify(decoder.decode(null, null,