aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-15 08:34:27 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-06-15 08:34:27 +1200
commitce9f1791ff8d10434392ea5853ccacf0cb2548f1 (patch)
tree8052bb0cd7a482ede14fca716b74682e7a007793 /test/org/traccar/protocol
parent94794f9fc02256a0e4a7a6a37c5fc669277af58b (diff)
downloadtrackermap-server-ce9f1791ff8d10434392ea5853ccacf0cb2548f1.tar.gz
trackermap-server-ce9f1791ff8d10434392ea5853ccacf0cb2548f1.tar.bz2
trackermap-server-ce9f1791ff8d10434392ea5853ccacf0cb2548f1.zip
Add GPS103 OBD test case
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index 345a89ad9..ee48ebb27 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class Gps103ProtocolDecoderTest extends ProtocolTest {
Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(new Gps103Protocol());
+ verifyNull(decoder, text(
+ "imei:868683027825532,OBD,170613203014,,,,0,0,0.00%,0,0.00%,0,0.00,,,,;"));
+
verifyAttributes(decoder, text(
"imei:862106025092216,OBD,170612165656,196043,,145803.9,,000,0.0%,+,0.0%,00000,12.6,,,,;"));