diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-14 05:33:31 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-14 05:33:31 +1300 |
commit | 4b1b5855ea48624605574c69f5c8ae8f7b8fa54d (patch) | |
tree | fb031917956ef95e10a6aa2d709401ffcdcebfe6 /test/org/traccar/protocol/H02ProtocolDecoderTest.java | |
parent | 4066c24ed1ba8749a1a682acb5b027401d0df70f (diff) | |
download | trackermap-server-4b1b5855ea48624605574c69f5c8ae8f7b8fa54d.tar.gz trackermap-server-4b1b5855ea48624605574c69f5c8ae8f7b8fa54d.tar.bz2 trackermap-server-4b1b5855ea48624605574c69f5c8ae8f7b8fa54d.zip |
Add H02 unit test case
Diffstat (limited to 'test/org/traccar/protocol/H02ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/H02ProtocolDecoderTest.java | 3 |
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#")); |