aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-06-21 10:56:37 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-06-21 10:57:03 +1200
commita445733519b4b38b52b03fbb63a55c7270cb9221 (patch)
treeee356597c6e813232a07e97555b0e6bfe8d26df0
parent63aa4472c7d851a0b414dd3c295ccce2bc8c827f (diff)
downloadtraccar-server-a445733519b4b38b52b03fbb63a55c7270cb9221.tar.gz
traccar-server-a445733519b4b38b52b03fbb63a55c7270cb9221.tar.bz2
traccar-server-a445733519b4b38b52b03fbb63a55c7270cb9221.zip
Add some new T55 test cases
-rw-r--r--test/org/traccar/protocol/T55ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
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"));