aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-04 14:06:27 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-04 14:06:27 +1300
commitf8fb4e0476d050aadb66734836c785c1624fea38 (patch)
tree32445eb6d3b28eb6fcf9491fc959d6ad294a2a76
parent9eb532a1193ed7a00c60a04e2d839a4e611992fd (diff)
downloadtraccar-server-f8fb4e0476d050aadb66734836c785c1624fea38.tar.gz
traccar-server-f8fb4e0476d050aadb66734836c785c1624fea38.tar.bz2
traccar-server-f8fb4e0476d050aadb66734836c785c1624fea38.zip
Add GPS103 OBD test case
-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 acafe3982..668070e1a 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Gps103ProtocolDecoderTest extends ProtocolTest {
Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(new Gps103Protocol());
verifyAttributes(decoder, text(
+ "imei:359710048977327,OBD,180301094003,5000000,0.00,0.00,98,18,68.63%,55,25.10%,1368,14.24,,,,;"));
+
+ verifyAttributes(decoder, text(
"imei:862106025092216,OBD,170605095949,195874,,370.8,808,066,30.0%,+87,13.0%,02444,14.3,,,,;"));
verifyNull(decoder, text(