aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-08-15 23:15:53 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-08-15 23:15:53 +1200
commita21ddfbff975ef9ff3e7e8857697407457010a8b (patch)
tree1cedd79842ad2189cd74860ed3db4fa7cc657458 /test/org/traccar/protocol
parent901e0874736a88b3220b7fabd4c0228a8e972e4d (diff)
downloadtrackermap-server-a21ddfbff975ef9ff3e7e8857697407457010a8b.tar.gz
trackermap-server-a21ddfbff975ef9ff3e7e8857697407457010a8b.tar.bz2
trackermap-server-a21ddfbff975ef9ff3e7e8857697407457010a8b.zip
Added H02 test case
Diffstat (limited to 'test/org/traccar/protocol')
-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 7d1f633e8..c01cb9212 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class H02ProtocolDecoderTest {
H02ProtocolDecoder decoder = new H02ProtocolDecoder(null);
decoder.setDataManager(new TestDataManager());
+
+ assertNull(decoder.decode(null, null,
+ "*HQ,353588020068342,V1,000000,V,0.0000,0,0.0000,0,0.00,0.00,000000,ffffffff,000106,000002,000203,004c87,16"));
assertNotNull(decoder.decode(null, null,
"*HQ,3800008786,V1,062507,V,3048.2437,N,03058.5617,E,000.00,000,250413,FFFFFBFF"));