From 00bd9f44c4e5cbfa427056ed6d6003cca6637649 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 25 Oct 2018 12:48:32 +0400 Subject: Add new GPS103 test cases --- test/org/traccar/protocol/Gps103ProtocolDecoderTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/org/traccar') diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java index 26fada1d9..aac78ed1e 100644 --- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java @@ -10,6 +10,12 @@ public class Gps103ProtocolDecoderTest extends ProtocolTest { Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(null); + verifyNull(decoder, text( + "imei:861359038609986,Equipo 1,---,------,----,214734,241018,26,1,-33.42317,-70.61930,067,229,0674,1.00,08,0,1,---,")); + + verifyNull(decoder, text( + "imei:861359038609986,Equipo 1,---,------,----,214812,241018,14,0,-33.42317,-70.61930,000,000,0000,99.9,00,0,1,---,")); + verifyNull(decoder, text( "imei:123451234512345,L,")); -- cgit v1.2.3