aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-05 08:59:20 +1100
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-05 08:59:20 +1100
commit7d4923dffbdf4f30dcb397dd5c202cfdace7ea56 (patch)
treefa9f088a54f65b706523fc41dee5b2280ed6a1ba /test/org
parent59f9f7dc90cd6bb6acad1254389406e21fbacc96 (diff)
downloadtrackermap-server-7d4923dffbdf4f30dcb397dd5c202cfdace7ea56.tar.gz
trackermap-server-7d4923dffbdf4f30dcb397dd5c202cfdace7ea56.tar.bz2
trackermap-server-7d4923dffbdf4f30dcb397dd5c202cfdace7ea56.zip
Add another Navis unit test case
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/NavisProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/NavisProtocolDecoderTest.java b/test/org/traccar/protocol/NavisProtocolDecoderTest.java
index 02de572df..116984b52 100644
--- a/test/org/traccar/protocol/NavisProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/NavisProtocolDecoderTest.java
@@ -13,6 +13,9 @@ public class NavisProtocolDecoderTest extends ProtocolTest {
NavisProtocolDecoder decoder = new NavisProtocolDecoder(new NavisProtocol());
+ verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ "404e544300000000040000005a00c6812a3e410125e3a60700011705071503011030210c0000fa200910e6000000000000000000000001082106150010ae97643f88a39f3f0000000090001fcc6c450000000000000000000000000000000000000000000000f6808080"));
+
verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"404E5443010000007B000000130044342A3E533A383631373835303035323035303739"));