aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-08-03 02:17:58 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-08-03 02:17:58 +1200
commit4d35ef57f3dff21348d9ae9fe269176cd885c127 (patch)
tree4505cab653a352a4073f590424dad9f39db4047b /test/org/traccar
parent56110e53d7d86d6b7711a430b6acbc285a5f5605 (diff)
downloadtrackermap-server-4d35ef57f3dff21348d9ae9fe269176cd885c127.tar.gz
trackermap-server-4d35ef57f3dff21348d9ae9fe269176cd885c127.tar.bz2
trackermap-server-4d35ef57f3dff21348d9ae9fe269176cd885c127.zip
Add VT400 test cases
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/Vt200ProtocolDecoderTest.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Vt200ProtocolDecoderTest.java b/test/org/traccar/protocol/Vt200ProtocolDecoderTest.java
index d63bf0062..19155af5a 100644
--- a/test/org/traccar/protocol/Vt200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Vt200ProtocolDecoderTest.java
@@ -11,6 +11,24 @@ public class Vt200ProtocolDecoderTest extends ProtocolTest {
Vt200ProtocolDecoder decoder = new Vt200ProtocolDecoder(new Vt200Protocol());
verifyNull(decoder, binary(
+ "286310373094563082002701033d00010817143327c68a14841e00c27f550e9a000000000c000000084700200120007d01af260b29"));
+
+ verifyNull(decoder, binary(
+ "286310373094562086002101033d0001081714333d15441790420114817637207d090a00000847002001207f00d6f229"));
+
+ verifyNull(decoder, binary(
+ "286310373094562086002101033d000108171433354417932101148139772c9d080a00000847002001207f00dc6729"));
+
+ verifyNull(decoder, binary(
+ "2863103730945600880012180108171433004418103801148375470000dd29"));
+
+ verifyNull(decoder, binary(
+ "28631037309456108800002e29"));
+
+ verifyNull(decoder, binary(
+ "2863103730945630880062033c862631037309456f222014604362936f01081713365601081713571904c800001b2c000034f66827f0840000000000000000000000000047000006e7000001b9022a000023ff000007f2018a00000a10000003f300cd00000d8d0300000302002729"));
+
+ verifyNull(decoder, binary(
"28631037309456008e000801042307171804584229"));
verifyNull(decoder, binary(