From 4d35ef57f3dff21348d9ae9fe269176cd885c127 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 3 Aug 2017 02:17:58 +1200 Subject: Add VT400 test cases --- .../org/traccar/protocol/Vt200ProtocolDecoderTest.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test/org') 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 @@ -10,6 +10,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")); -- cgit v1.2.3