aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-08-10 17:45:43 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-08-10 17:45:59 +1200
commita567564ea3d91e0597b17bf6c75bf2595c7c84d6 (patch)
treee3d10d5eecf3b0869d03c1563fe9cd95231e62c3 /test/org
parent69412701cb57346240e723e2760a6211a434120f (diff)
downloadtraccar-server-a567564ea3d91e0597b17bf6c75bf2595c7c84d6.tar.gz
traccar-server-a567564ea3d91e0597b17bf6c75bf2595c7c84d6.tar.bz2
traccar-server-a567564ea3d91e0597b17bf6c75bf2595c7c84d6.zip
Extend Atrack text format support
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/AtrackProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java b/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
index fbe94ce19..2869adc22 100644
--- a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
@@ -34,6 +34,9 @@ public class AtrackProtocolDecoderTest extends ProtocolTest {
decoder.setCustom(true);
+ verifyPosition(decoder, buffer(
+ "@P,CA4B,122,1,358683064932578,1533633976,1533633975,1533633975,121562641,25082649,72,0,1638,15,0,0,1,0,,2000,2000,,%CI%MV%BV,143,0\r\n"));
+
verifyPositions(decoder, binary(
"405025e30096eb730001452efaf6a7d6562fe4f8562fe4f7562fe52c02a006d902273f810064650000e0f5000a0100000000000007d007d000254349255341254d5625425625475125415400090083002a1a000001a8562fe4f8562fe4f7562fe52c02a006d902273f810064020000e0f5000a0100000000000007d007d000254349255341254d5625425625475125415400090083002a1a000001a8"));