aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-25 12:48:32 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-25 12:48:32 +0400
commit00bd9f44c4e5cbfa427056ed6d6003cca6637649 (patch)
tree28bba6a53fbfb71f04132d0c8e1f6e400e04d68a /test
parentf0ff050dc5e8360b7e22b246032a951263edf595 (diff)
downloadtraccar-server-00bd9f44c4e5cbfa427056ed6d6003cca6637649.tar.gz
traccar-server-00bd9f44c4e5cbfa427056ed6d6003cca6637649.tar.bz2
traccar-server-00bd9f44c4e5cbfa427056ed6d6003cca6637649.zip
Add new GPS103 test cases
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
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
@@ -11,6 +11,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,"));
verifyAttributes(decoder, text(