aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-10-06 11:58:05 +0500
committerAbyss777 <abyss@fox5.ru>2016-10-06 11:58:05 +0500
commita076c67bbdc2ed7d293f6044f4b51493b7e2d3c3 (patch)
tree2e1e3cc6de95801e5adc6fcc1e8c9c68ca23dbc2 /test/org
parent534aa00430e507a43b581707a74ab08bce7d5827 (diff)
downloadtrackermap-server-a076c67bbdc2ed7d293f6044f4b51493b7e2d3c3.tar.gz
trackermap-server-a076c67bbdc2ed7d293f6044f4b51493b7e2d3c3.tar.bz2
trackermap-server-a076c67bbdc2ed7d293f6044f4b51493b7e2d3c3.zip
Handle ACK packets as command result
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/Gl200ProtocolDecoderTest.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
index 68c4b66a0..914db782e 100644
--- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
@@ -163,6 +163,15 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest {
verifyNothing(decoder, text(
"+ACK:GTHBD,1A0401,135790246811220,,20100214093254,11F0"));
+ verifyAttributes(decoder, text(
+ "+ACK:GTRTO,1A0800,860599000773978,GL300,VER,FFFF,20161006053520,0C19"));
+
+ verifyAttributes(decoder, text(
+ "+ACK:GTJDC,0A0102,135790246811220,,0016,20090214093254,11F0"));
+
+ verifyAttributes(decoder, text(
+ "+ACK:GTGEO,1A0102,135790246811220,,0,0008,20100310172830,11F0"));
+
}
}