aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-05-25 16:59:05 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-05-25 16:59:05 -0700
commit94373d66363bc1b89e3c6597e72d7c4294101fb5 (patch)
tree3f630d8759f4be39e8d9a940337b79f64333f453 /src
parentd12e72148504a0bfd2578c1726af51e48d45c3e7 (diff)
downloadtrackermap-server-94373d66363bc1b89e3c6597e72d7c4294101fb5.tar.gz
trackermap-server-94373d66363bc1b89e3c6597e72d7c4294101fb5.tar.bz2
trackermap-server-94373d66363bc1b89e3c6597e72d7c4294101fb5.zip
Add Atrack test case
Diffstat (limited to 'src')
-rw-r--r--src/test/java/org/traccar/protocol/AtrackProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/AtrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AtrackProtocolDecoderTest.java
index 3a9382086..0fe18640d 100644
--- a/src/test/java/org/traccar/protocol/AtrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AtrackProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class AtrackProtocolDecoderTest extends ProtocolTest {
AtrackProtocolDecoder decoder = new AtrackProtocolDecoder(null);
verifyPositions(decoder, buffer(
+ "@P,93D1,419,0,357766091026083,1557178589,1557178590,1557178590,-121899637,37406241,338,230,2809,8,0,0,0,0,,2000,2000,\r\n"));
+
+ verifyPositions(decoder, buffer(
"@P,3A34,146,41431,353816057242284,20180622015809,20180622015809,20180622015809,9720689,4014230,61,2,0,20,1,0,0,0,0,2000,2000,12160,42,624,002,20009,20014,\r\n"));
verifyPositions(decoder, buffer(