aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-06-26 02:44:36 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-06-26 11:45:31 +1200
commitc700bfdb66071ba224ddf01e9827e721562fed7a (patch)
treeefab24c586077373a826dd605652b04431010bd7 /test/org
parent5346d413972191b3089969e4832bed2ffabbfb83 (diff)
downloadtrackermap-server-c700bfdb66071ba224ddf01e9827e721562fed7a.tar.gz
trackermap-server-c700bfdb66071ba224ddf01e9827e721562fed7a.tar.bz2
trackermap-server-c700bfdb66071ba224ddf01e9827e721562fed7a.zip
Implement AutoTrack XL protocol
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/AutoTrackProtocolDecoderTest.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AutoTrackProtocolDecoderTest.java b/test/org/traccar/protocol/AutoTrackProtocolDecoderTest.java
new file mode 100644
index 000000000..ba919620b
--- /dev/null
+++ b/test/org/traccar/protocol/AutoTrackProtocolDecoderTest.java
@@ -0,0 +1,18 @@
+package org.traccar.protocol;
+
+import org.junit.Test;
+import org.traccar.ProtocolTest;
+
+public class AutoTrackProtocolDecoderTest extends ProtocolTest {
+
+ @Test
+ public void testDecode() throws Exception {
+
+ AutoTrackProtocolDecoder decoder = new AutoTrackProtocolDecoder(new AutoTrackProtocol());
+
+ verifyNull(decoder, binary(
+ "f1f1f1f1330c00201007090006de7200000000daa3"));
+
+ }
+
+}