aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-07 23:11:28 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-07 23:11:28 -0700
commite3c8872e2dcf0bd9affb138a8f827bfa7d42d6ac (patch)
tree40ef01cfff5912851cd1bc52bd66ebd955b12799
parent5136e43a11c842bac982fd7c6e9a0d838251d3ac (diff)
downloadtrackermap-server-e3c8872e2dcf0bd9affb138a8f827bfa7d42d6ac.tar.gz
trackermap-server-e3c8872e2dcf0bd9affb138a8f827bfa7d42d6ac.tar.bz2
trackermap-server-e3c8872e2dcf0bd9affb138a8f827bfa7d42d6ac.zip
Add test case
-rw-r--r--src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
index e85672326..ace65ece6 100644
--- a/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
@@ -15,6 +15,9 @@ public class StartekProtocolDecoderTest extends ProtocolTest {
"&&:23,860262050015424,129,OKA2"),
Position.KEY_RESULT, "129,OK");
+ verifyNull(decoder, text(
+ "&&X152,861157040151686,000,18,,210907163833,A,10.232715,-67.880423,11,1.4,0,275,437,34804,734|2|3EE4|00579406,28,00000015,00,00,0000|017D|0000|0000,1,010000,,9A"));
+
verifyPosition(decoder, text(
"&&o125,861157040554384,000,0,,210702235150,A,27.263505,153.037061,11,1.2,0,0,31,5125,505|1|7032|8C89802,20,0000002D,00,00,01E2|019DF0"));