aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-14 05:33:31 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-14 05:33:31 +1300
commit4b1b5855ea48624605574c69f5c8ae8f7b8fa54d (patch)
treefb031917956ef95e10a6aa2d709401ffcdcebfe6 /test/org
parent4066c24ed1ba8749a1a682acb5b027401d0df70f (diff)
downloadtrackermap-server-4b1b5855ea48624605574c69f5c8ae8f7b8fa54d.tar.gz
trackermap-server-4b1b5855ea48624605574c69f5c8ae8f7b8fa54d.tar.bz2
trackermap-server-4b1b5855ea48624605574c69f5c8ae8f7b8fa54d.zip
Add H02 unit test case
Diffstat (limited to 'test/org')
-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 9fed9943c..b2e336076 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,356803210091319,BS,,2d4,a,1b63,1969,26,1b63,10b2,31,0,0,25,,ffffffff,60#"));
+
verifyAttributes(decoder, buffer(
"*HQ,1400046168,NBR,160169,460,0,1,4,9338,3692,150,9338,3691,145,9338,3690,140,9338,3692,139,180813,FFFFFBFF#"));