aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-03-16 22:07:33 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-03-16 22:07:33 -0700
commit9c8a8f12ef7ab8579101919a39f753d55e267583 (patch)
tree9c8a965eac42fd5b75dd6a3cc0b15d3fdb604fb4 /src/test/java/org
parent3f790f5b10448d7993f9df6c4550afed4893c6a0 (diff)
downloadtrackermap-server-9c8a8f12ef7ab8579101919a39f753d55e267583.tar.gz
trackermap-server-9c8a8f12ef7ab8579101919a39f753d55e267583.tar.bz2
trackermap-server-9c8a8f12ef7ab8579101919a39f753d55e267583.zip
Add Fifotrack result support
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/FifotrackProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/FifotrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/FifotrackProtocolDecoderTest.java
index 48b74c904..08a5ec244 100644
--- a/src/test/java/org/traccar/protocol/FifotrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/FifotrackProtocolDecoderTest.java
@@ -11,6 +11,10 @@ public class FifotrackProtocolDecoderTest extends ProtocolTest {
FifotrackProtocolDecoder decoder = new FifotrackProtocolDecoder(null);
+ verifyAttribute(decoder, buffer(
+ "$$25,863003046473534,1,B03,OK*4D"),
+ Position.KEY_RESULT, "OK");
+
verifyPosition(decoder, buffer(
"$$118,863003046473534,258,A01,,201007231735,V,3.067783,101.672858,0,176,96,189890,0,A0,03,0,502|19|5C1|93349F,196|4E0|6C,1,*13"));