aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-17 12:13:17 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-06-17 12:13:17 +1200
commit6ded2f7b1fc1e6593512f3b2b24400a90991aa89 (patch)
tree0ace65d98717573bb33616f2d448525b990d8288 /test/org
parent3f5122cbaf1710ae8d6c1c7ca9cf6a647f9a3f94 (diff)
downloadtraccar-server-6ded2f7b1fc1e6593512f3b2b24400a90991aa89.tar.gz
traccar-server-6ded2f7b1fc1e6593512f3b2b24400a90991aa89.tar.bz2
traccar-server-6ded2f7b1fc1e6593512f3b2b24400a90991aa89.zip
Implement Atrack command response
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/AtrackProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java b/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
index 93d8db09b..756c09cef 100644
--- a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
@@ -40,6 +40,12 @@ public class AtrackProtocolDecoderTest extends ProtocolTest {
verifyPositions(decoder, binary(
"40501e58003301e000014104d8f19682525ecd5d525ee344525ee35effc88815026ab4d70000020000104403de01000b0000000007d007d000000000000000"));
+ verifyAttributes(decoder, buffer(
+ "$OK\r\n"));
+
+ verifyAttributes(decoder, buffer(
+ "$ERROR=101\r\n"));
+
}
}