aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnatoliy Golubev <darth.naihil@gmail.com>2017-09-10 12:08:44 +0300
committerAnatoliy Golubev <darth.naihil@gmail.com>2017-09-10 12:08:44 +0300
commit871b9a9c611388394dcbc2eb5ed0e5e30a5411c2 (patch)
treec9a4fff6e60d86fb8b3a2d0af4369cbab737f3e8 /test
parentfa3e682e2b309ca89d0cc7dcb11957f9b380c6d4 (diff)
downloadtrackermap-server-871b9a9c611388394dcbc2eb5ed0e5e30a5411c2.tar.gz
trackermap-server-871b9a9c611388394dcbc2eb5ed0e5e30a5411c2.tar.bz2
trackermap-server-871b9a9c611388394dcbc2eb5ed0e5e30a5411c2.zip
Add test case for command response
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/AdmProtocolDecoderTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AdmProtocolDecoderTest.java b/test/org/traccar/protocol/AdmProtocolDecoderTest.java
index 4299001c3..9a7f91d26 100644
--- a/test/org/traccar/protocol/AdmProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AdmProtocolDecoderTest.java
@@ -30,6 +30,8 @@ public class AdmProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"01002200333508202000000000000000007F0D9F030000000000E39A1056E24A8210"));
+ verifyNotNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ "01008449443d3120536f66743d30783531204750533d313036382054696d653d30383a35393a32302031302e30392e31372056616c3d30204c61743d36312e36373738204c6f6e3d35302e3832343520563d3020536174436e743d342b3720537461743d30783030313020496e5f616c61726d3d30783030000000000000000000000000"));
}
}