aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-06-15 14:01:36 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-06-15 14:01:36 +1200
commit04cb08b983f2c408195c01e34ea4b6d3df5cda95 (patch)
tree5988b373357bfbd4652f5fe03d6fd892b44f4926 /test/org
parentc6b3f75882715db64dffb54f0a139bae36fa20ca (diff)
downloadtraccar-server-04cb08b983f2c408195c01e34ea4b6d3df5cda95.tar.gz
traccar-server-04cb08b983f2c408195c01e34ea4b6d3df5cda95.tar.bz2
traccar-server-04cb08b983f2c408195c01e34ea4b6d3df5cda95.zip
Add H02 unit test
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/H02ProtocolDecoderTest.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
index fe63ea905..7d1f633e8 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -24,7 +24,13 @@ public class H02ProtocolDecoderTest {
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"));
-
+ assertNotNull(decoder.decode(null, null,
+ "*HQ,2705171109,V1,213324,A,5002.5849,N,01433.7822,E,0.00,000,140613,FFFFFFFF"));
+
+ // binary?
+ // 2427051711092133391406135002584900014337822e000000ffffffffff0000
+ // 2427051711092134091406135002584900014337822e000000ffffffffff0000
+
}
}