From 30ebfa7d6b683fcec586233fa5c68a966c2841ad Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 21 Oct 2013 19:08:35 +1300 Subject: Add gl300 message example --- test/org/traccar/protocol/Gl200ProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java index 21212ee03..2fbbd3229 100644 --- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java @@ -1,6 +1,7 @@ package org.traccar.protocol; import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; import org.junit.Test; public class Gl200ProtocolDecoderTest { @@ -38,6 +39,9 @@ public class Gl200ProtocolDecoderTest { assertNotNull(decoder.decode(null, null, "+RESP:GTFRI,07000D,868487001005941,,0,0,1,1,0.0,0,46.3,-77.039627,38.907573,20120731175232,0310,0260,B44B,EBC9,0015e96913a7,-58,,100,20120731175244,0114")); + assertNull(decoder.decode(null, null, + "+RESP:GTINF,359464030073766,8938003990320469804f,18,99,100,1,0,+2.00,0,20131018084015,00EE,0103090402")); + } } -- cgit v1.2.3