aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-06-20 10:10:32 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-06-20 10:10:32 +1200
commit998e5cf31ae2f7d59948ca9570f93072cffb2acd (patch)
tree27b846322856f8309ebca04ccb7f448747f0a390
parentf55df8e959405e3f7c1d0a708843e63acf0742af (diff)
downloadtraccar-server-998e5cf31ae2f7d59948ca9570f93072cffb2acd.tar.gz
traccar-server-998e5cf31ae2f7d59948ca9570f93072cffb2acd.tar.bz2
traccar-server-998e5cf31ae2f7d59948ca9570f93072cffb2acd.zip
Add H02 no timestamp test case
-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 8e0abac58..4ca387f1a 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest {
H02ProtocolDecoder decoder = new H02ProtocolDecoder(new H02Protocol());
+ verifyNothing(decoder, buffer(
+ "*HQ,353505220873067,V1,,V,4605.75732,N,01430.73863,E,0.00,0,,FFFFFFEF,125,194, 64,d3#"));
+
verifyPosition(decoder, buffer(
"*HQ,4210051415,V1,164549,A,0956.3869,N,08406.7068,W,000.00,000,221215,FFFFFBFF,712,01,0,0,6#"),
position("2015-12-22 16:45:49.000", true, 9.93978, -84.11178));