aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-06 18:17:51 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-06 18:17:51 +1300
commit73112d542cb4a2fa2ac47d85ebe071c9d3c6f894 (patch)
tree13210d992b8fb63208141bc14ed93d8996ccf574 /test/org/traccar/protocol
parent90937edb811fa60ba0e5e4799d0379cec9b60a28 (diff)
downloadtrackermap-server-73112d542cb4a2fa2ac47d85ebe071c9d3c6f894.tar.gz
trackermap-server-73112d542cb4a2fa2ac47d85ebe071c9d3c6f894.tar.bz2
trackermap-server-73112d542cb4a2fa2ac47d85ebe071c9d3c6f894.zip
Refactor ARDI01 protocol decoder
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/Ardi01ProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Ardi01ProtocolDecoderTest.java b/test/org/traccar/protocol/Ardi01ProtocolDecoderTest.java
index be5578683..717dfd958 100644
--- a/test/org/traccar/protocol/Ardi01ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Ardi01ProtocolDecoderTest.java
@@ -11,6 +11,10 @@ public class Ardi01ProtocolDecoderTest extends ProtocolDecoderTest {
Ardi01ProtocolDecoder decoder = new Ardi01ProtocolDecoder(new Ardi01Protocol());
verifyPosition(decoder, text(
+ "013227003054776,20141010052719,24.4736042,56.8445807,110,289,40,7,5,78,-1"),
+ position("2014-10-10 05:27:19.000", true, 56.84458, 24.47360));
+
+ verifyPosition(decoder, text(
"013227003054776,20141010052719,24.4736042,56.8445807,110,289,40,7,5,78,-1"));
}