aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-25 11:07:42 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-06-25 11:07:42 +1200
commitac8f8ec9d7f20f130bd1ff9d8117447363db0b63 (patch)
treeddaba1070a04a04210a9355c4c87b8511693bdbc /test/org/traccar
parenta24f48627b914b6a8fe60bc3b5f76abc4f6fc574 (diff)
downloadtrackermap-server-ac8f8ec9d7f20f130bd1ff9d8117447363db0b63.tar.gz
trackermap-server-ac8f8ec9d7f20f130bd1ff9d8117447363db0b63.tar.bz2
trackermap-server-ac8f8ec9d7f20f130bd1ff9d8117447363db0b63.zip
Add two GT06 test cases
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/Gt06ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index a3c3f71f3..188282bd6 100644
--- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -17,6 +17,12 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
"78780D01086471700328358100093F040D0A"));
verifyNotNull(decoder, binary(
+ "78781f12110616091835d0024bb93007d3fb783dd4c501940500f2006c8504a6e0370d0a"));
+
+ verifyPosition(decoder, binary(
+ "787822221106160a1016c60278019407c7783800040001940504700046fc01030100065f570d0a"));
+
+ verifyNotNull(decoder, binary(
"7878661500000000004459443d537563636573732100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010009e82b0d0a"));
verifyAttributes(decoder, binary(