aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-26 04:44:55 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-10-26 04:44:55 +1300
commit80e7a43412a72f0189c11baac102af7a335de09b (patch)
tree30ef3511185479412f425f13f8fa2e469e86ab67 /test
parent0a17cc5b40a2e01d215e6d39eaee1fa5c8f06aac (diff)
downloadtrackermap-server-80e7a43412a72f0189c11baac102af7a335de09b.tar.gz
trackermap-server-80e7a43412a72f0189c11baac102af7a335de09b.tar.bz2
trackermap-server-80e7a43412a72f0189c11baac102af7a335de09b.zip
Add support for AB and AC types
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/TotemProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TotemProtocolDecoderTest.java b/test/org/traccar/protocol/TotemProtocolDecoderTest.java
index 40d8d9eba..67c75e08d 100644
--- a/test/org/traccar/protocol/TotemProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/TotemProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class TotemProtocolDecoderTest extends ProtocolTest {
TotemProtocolDecoder decoder = new TotemProtocolDecoder(new TotemProtocol());
verifyPosition(decoder, text(
+ "$$0108AB863835028447675|5004C0001710250234064214059828A058AE121010604000.600000320304.7772N10134.8238E11625B"));
+
+ verifyPosition(decoder, text(
+ "$$0108AA863835028447675|5004C0001710250234134114057728A058AE112108305100.600000660304.7787N10134.8719E116458"));
+
+ verifyPosition(decoder, text(
"$$0112AA864244026065291|180018001409160205244011000027BA0E57063100000001.200000002237.8119N11403.5075E05202D"));
verifyPosition(decoder, text(