From a445733519b4b38b52b03fbb63a55c7270cb9221 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 21 Jun 2016 10:56:37 +1200 Subject: Add some new T55 test cases --- test/org/traccar/protocol/T55ProtocolDecoderTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/T55ProtocolDecoderTest.java b/test/org/traccar/protocol/T55ProtocolDecoderTest.java index b5b8fe90e..e8e5ba90e 100644 --- a/test/org/traccar/protocol/T55ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/T55ProtocolDecoderTest.java @@ -10,6 +10,12 @@ public class T55ProtocolDecoderTest extends ProtocolTest { T55ProtocolDecoder decoder = new T55ProtocolDecoder(new T55Protocol()); + verifyNothing(decoder, text( + "358244017671308")); + + verifyNotNull(decoder, text( + "$GPRMC,161223.000,A,2517.0545,S,05739.1788,W,0.0,0.0,011196,,,A*61")); + verifyPosition(decoder, text( "4711/022789000688081/$GPRMC,133343,A,5308.56325,N,1029.12850,E,0.000000,0.000000,290316,,*2A")); -- cgit v1.2.3