diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-25 21:51:48 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-25 21:51:48 -0800 |
commit | 4accabd85265ba990411b9979e74591561db0eac (patch) | |
tree | b589ee16375571f2209ba8300b163511f5673783 /src/test/java/org/traccar/protocol | |
parent | 2ed7fb6e8f04c8fcee0e600446deaeda6cd4a86f (diff) | |
download | trackermap-server-4accabd85265ba990411b9979e74591561db0eac.tar.gz trackermap-server-4accabd85265ba990411b9979e74591561db0eac.tar.bz2 trackermap-server-4accabd85265ba990411b9979e74591561db0eac.zip |
Implement SWIFTECH protocol
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r-- | src/test/java/org/traccar/protocol/SwiftechProtocolDecoderTest.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/SwiftechProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SwiftechProtocolDecoderTest.java new file mode 100644 index 000000000..e8ee64518 --- /dev/null +++ b/src/test/java/org/traccar/protocol/SwiftechProtocolDecoderTest.java @@ -0,0 +1,18 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class SwiftechProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + SwiftechProtocolDecoder decoder = new SwiftechProtocolDecoder(null); + + verifyPosition(decoder, text( + "@@864502036102531,,,070739,1100.7798,N,07657.7126,E,0.43,210813,A,1100,1,0,02700,05800,")); + + } + +} |