aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-07-22 12:24:55 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-07-22 12:24:55 +1200
commit2e157393d036f765687d5ff38797e6e600d986e5 (patch)
tree58cd530376a1238953168fd5a70ec3de00bf2882 /test/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java
parentd7d66e3b724cde1a681e5e7f24e930d2bddfe703 (diff)
downloadtrackermap-server-2e157393d036f765687d5ff38797e6e600d986e5.tar.gz
trackermap-server-2e157393d036f765687d5ff38797e6e600d986e5.tar.bz2
trackermap-server-2e157393d036f765687d5ff38797e6e600d986e5.zip
Add binary INF support
Diffstat (limited to 'test/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java
index 42ccd4690..24830a953 100644
--- a/test/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class Gl200BinaryProtocolDecoderTest extends ProtocolTest {
Gl200BinaryProtocolDecoder decoder = new Gl200BinaryProtocolDecoder(new Gl200Protocol());
+ verifyAttributes(decoder, binary(
+ "2b494e4601fd7f0076676231303000000045010202090104020500004100054007e107150b061d0000003f010e02580000000000d0312a1013648935103226313921591f1200000000000302680003189c1ac3001b02680003189c1ac4000d02680003189c1ac5001207e107150b0d3704f658060d0a"));
+
verifyPosition(decoder, binary(
"2b4556540c00fc1fbf005c4501010108563254030003430564312a41090100000000003f007dff75a11a025c6a7807e1070a14041202680003189c1ac500000000000000000000000000000000000007e1070b041134054e5c6e0d0a"));