aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-06-24 11:28:24 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-06-24 11:28:24 +1200
commit88cb4d830cc217a82ee5f9eeb46b85da824b74e2 (patch)
treee7dff98e6d223dd10e63642038d9947102bdaca5 /test/org/traccar/protocol
parentf7f3b191e79d61887126c5883b5ece84d134d0a3 (diff)
downloadtraccar-server-88cb4d830cc217a82ee5f9eeb46b85da824b74e2.tar.gz
traccar-server-88cb4d830cc217a82ee5f9eeb46b85da824b74e2.tar.bz2
traccar-server-88cb4d830cc217a82ee5f9eeb46b85da824b74e2.zip
Add GT06 protocol unit test case
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/Gt06ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index 81f9f81c3..94d665478 100644
--- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -19,6 +19,9 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
verifyAttributes(decoder, binary(
"7979000794050000c9b63e0d0a"));
+ verifyPosition(decoder, binary(
+ "7878251610051b0f1c34c5022515d504b5dcd20738080902d4022bdf009cba5006640201006759680d0a"));
+
verifyNotNull(decoder, binary(
"787866150000000000416c726561647920696e20746865207374617465206f66206675656c20737570706c7920746f20726573756d652c74686520636f6d6d616e64206973206e6f742072756e6e696e672100000000000000000000000000000000000001001981e50d0a"));