aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-29 22:53:59 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-05-29 22:54:41 +1200
commit72b24000aa91d9af69c30c1648f65b06c2511405 (patch)
tree35096073260e3734ac650b8c866f55ddf11a7060 /test/org/traccar
parent83b441c2723c3a0cd3e16d1df898f0e45fbed549 (diff)
downloadtrackermap-server-72b24000aa91d9af69c30c1648f65b06c2511405.tar.gz
trackermap-server-72b24000aa91d9af69c30c1648f65b06c2511405.tar.bz2
trackermap-server-72b24000aa91d9af69c30c1648f65b06c2511405.zip
Add GT06 protocol 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 ad1ec6d47..c677b72ae 100644
--- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -16,6 +16,12 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
verifyNull(decoder, binary(
"78780D01086471700328358100093F040D0A"));
+ verifyAttributes(decoder, binary(
+ "7979000894000000000338ba0d0a"));
+
+ verifyNull(decoder, binary(
+ "79790020940a03516080825457290502194200448892980691312079088572f50004d4350d0a"));
+
verifyPosition(decoder, binary(
"7979007121000000000143757272656e7420706f736974696f6e214c61743a4e35342e3733393333322c4c6f6e3a4532352e3237333237302c436f757273653a3132362e35332c53706565643a302e303030302c4461746554696d653a323031372d30352d3236202031303a32373a3437000bbee30d0a"));