aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-04-04 14:09:34 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-04-04 14:09:34 -0700
commit3763481d2383ccd442979c7f7e656ef76c62ae95 (patch)
treebfe5f30f54896dd6dd70af55efaf5daa475cc828 /src/test/java/org/traccar
parent47e65469210e4bb0760a65e672f10ebcd7b1e5a0 (diff)
downloadtraccar-server-3763481d2383ccd442979c7f7e656ef76c62ae95.tar.gz
traccar-server-3763481d2383ccd442979c7f7e656ef76c62ae95.tar.bz2
traccar-server-3763481d2383ccd442979c7f7e656ef76c62ae95.zip
Add trip message sample
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/RstProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/RstProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/RstProtocolDecoderTest.java
index fb6dca3e6..0210a353f 100644
--- a/src/test/java/org/traccar/protocol/RstProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/RstProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class RstProtocolDecoderTest extends ProtocolTest {
RstProtocolDecoder decoder = new RstProtocolDecoder(null);
+ verifyNull(decoder, text(
+ "RST;A;RST-MINIv2;V7.04;008051261;124;29;04-04-2021 17:27:26;04-04-2021 17:27:26;-1.280811;-47.931755;7353;79;1;14;7315;26;10;0;1855;0;0;0;0;5;5;-1.280821;-47.931747;04-04-2021 17:52:23;6;-1.280863;-47.931770;04-04-2021 18:12:19;5;-1.280844;-47.931763;04-04-2021 17:28:02;5;-1.280900;-47.931770;04-04-2021 19:04:27;4;-1.280843;-47.931747;04-04-2021 18:21:45;04-04-2021 19:29:59;04-04-2021 19:29:59;-1.280770;-47.931595;1;15;0;0;0;0;FIM;"));
+
verifyPosition(decoder, text(
"RST;L;RST-MINIv2;V7.02;008068078;61;1;27-01-2020 21:36:33;27-01-2020 21:36:33;-16.696159;-49.284275;0;67;786;1;15;0;00;B0;00;19;06;12.42;4.16;79;20;FE;0000;01;E0;00800020;0;467;FIM;"));