diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-26 02:44:36 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-26 11:45:31 +1200 |
commit | c700bfdb66071ba224ddf01e9827e721562fed7a (patch) | |
tree | efab24c586077373a826dd605652b04431010bd7 /test/org/traccar/protocol | |
parent | 5346d413972191b3089969e4832bed2ffabbfb83 (diff) | |
download | traccar-server-c700bfdb66071ba224ddf01e9827e721562fed7a.tar.gz traccar-server-c700bfdb66071ba224ddf01e9827e721562fed7a.tar.bz2 traccar-server-c700bfdb66071ba224ddf01e9827e721562fed7a.zip |
Implement AutoTrack XL protocol
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/AutoTrackProtocolDecoderTest.java | 18 |
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")); + + } + +} |