aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-26 06:45:10 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-26 15:45:34 +1300
commitd847f80334498bde6993b8f3a38c7df05d83b47b (patch)
tree8a3f5f9a61b388f08f6f523394869e93f99d3ce3 /test/org/traccar/protocol
parent4938acc7d9d901eed6b33f047a312b9a89bdd957 (diff)
downloadtrackermap-server-d847f80334498bde6993b8f3a38c7df05d83b47b.tar.gz
trackermap-server-d847f80334498bde6993b8f3a38c7df05d83b47b.tar.bz2
trackermap-server-d847f80334498bde6993b8f3a38c7df05d83b47b.zip
Implement EGTS responses
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/EgtsProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/EgtsProtocolDecoderTest.java b/test/org/traccar/protocol/EgtsProtocolDecoderTest.java
index 9a3434bec..7e5720b39 100644
--- a/test/org/traccar/protocol/EgtsProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/EgtsProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class EgtsProtocolDecoderTest extends ProtocolTest {
EgtsProtocolDecoder decoder = new EgtsProtocolDecoder(new EgtsProtocol());
+ verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ "0100000b002400a0d601f01900030081030000000101011600030000004238363434393530333436343333373600014cdc"));
+
verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"0100020B0025003A5701C91A003A5701CD6E68490202101700CBB4740F7617FD924364104F116A0000000000010300001EC2"),
position("2018-03-21 05:38:19.000", true, 51.67569, 55.59189));