aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-25 15:44:08 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-25 15:44:08 +0400
commit8fd45f48667a40a9111d8833f5335cfee4ea1fd5 (patch)
tree1d6e6771ab9f8dff7439764edcd7816f8a638ce9 /test/org/traccar
parent8560d199a4440fb83ddbc46b81d0b0b0281d0385 (diff)
downloadtraccar-server-8fd45f48667a40a9111d8833f5335cfee4ea1fd5.tar.gz
traccar-server-8fd45f48667a40a9111d8833f5335cfee4ea1fd5.tar.bz2
traccar-server-8fd45f48667a40a9111d8833f5335cfee4ea1fd5.zip
Support Ericar protocol
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index aac78ed1e..7dc1d36f4 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -10,14 +10,14 @@ 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,---,"));
+ verifyPosition(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,---,"));
+ verifyPosition(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,"));
+ "imei:123451234512345,L,*"));
verifyAttributes(decoder, text(
"imei:868683027758113,OBD,180905200218,,,,0,0,0.39%,70,9.41%,494,0.00,P0137,P0430,,;"));