aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-05-08 21:28:22 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-05-08 21:28:22 +1200
commit86796b2c2c46e866af63c599a83b4de0112b78f1 (patch)
tree303079b1af56ee3fd8ba66baccda9bba57486dad /test/org/traccar
parentc6082b866f404514963ceeb45f38e8bc87e5c7cf (diff)
downloadtrackermap-server-86796b2c2c46e866af63c599a83b4de0112b78f1.tar.gz
trackermap-server-86796b2c2c46e866af63c599a83b4de0112b78f1.tar.bz2
trackermap-server-86796b2c2c46e866af63c599a83b4de0112b78f1.zip
Add H02 unit test
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/H02ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
index 46aee3aee..235373113 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -14,6 +14,9 @@ public class H02ProtocolDecoderTest {
assertNotNull(decoder.decode(null, null,
"*HQ,123456789012345,V1,155850,A,5214.5346,N,2117.4683,E,0.00,270.90,131012,ffffffff,000000,000000,000000,000000"));
+
+ assertNotNull(decoder.decode(null, null,
+ "*HQ,353588010001689,V1,221116,A,1548.8220,S,4753.1679,W,0.00,0.00,300413,ffffffff,0002d4,000004,0001cd,000047"));
assertNotNull(decoder.decode(null, null,
"*HQ,354188045498669,V1,195200,A,701.8915,S,3450.3399,W,0.00,205.70,050213,ffffffff,000243,000000,000000"));