diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-01-21 12:29:32 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-01-21 12:29:32 +1300 |
commit | ddc9dbefd717b1b037a4397e55dae34bf13598c0 (patch) | |
tree | fc4068fd06d68d1d48b7ec9bd158d89dd4d18d9f /test | |
parent | da4ff9311bd8573ad0c6aaa04d80c893b4f780e7 (diff) | |
download | traccar-server-ddc9dbefd717b1b037a4397e55dae34bf13598c0.tar.gz traccar-server-ddc9dbefd717b1b037a4397e55dae34bf13598c0.tar.bz2 traccar-server-ddc9dbefd717b1b037a4397e55dae34bf13598c0.zip |
Implement XT013 support (fix #1035)
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/Xt013ProtocolDecoderTest.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Xt013ProtocolDecoderTest.java b/test/org/traccar/protocol/Xt013ProtocolDecoderTest.java new file mode 100644 index 000000000..db375ad19 --- /dev/null +++ b/test/org/traccar/protocol/Xt013ProtocolDecoderTest.java @@ -0,0 +1,20 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.helper.TestDataManager; + +import static org.traccar.helper.DecoderVerifier.verify; + +public class Xt013ProtocolDecoderTest { + + @Test + public void testDecode() throws Exception { + + Xt013ProtocolDecoder decoder = new Xt013ProtocolDecoder(new TestDataManager(), null, null); + + verify(decoder.decode(null, null, + "TK,862950021650364,150118113832,+53.267722,+5.767143,0,86,12,0,F,204,08,C94,336C,22,,4.21,1,,,,,,,,")); + + } + +} |