aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-11-05 10:09:02 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-11-05 10:09:02 -0700
commit479a2b6c938177d10c02ea3c4937d129de774776 (patch)
tree6730f568917096205e7a090fd1e87b6596997672 /src/test/java/org/traccar/protocol
parentfb26fa078fc3299112108a682004f41e767d397b (diff)
downloadtrackermap-server-479a2b6c938177d10c02ea3c4937d129de774776.tar.gz
trackermap-server-479a2b6c938177d10c02ea3c4937d129de774776.tar.bz2
trackermap-server-479a2b6c938177d10c02ea3c4937d129de774776.zip
Relax regular expression (fix #4767)
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-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 1fbe71988..5dd7059e2 100644
--- a/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class StartekProtocolDecoderTest extends ProtocolTest {
var decoder = new StartekProtocolDecoder(null);
+ verifyPosition(decoder, text(
+ "&&W149,865429043319537,000,0,,211103013512,A,22.679003,114.045085,16,1.1,0,271,76,109075,460|0|249F|000010C5,19,0000003E,00,00,0A57|0168|0000|0000,1,0100000C"));
+
verifyAttribute(decoder, text(
"&&:23,860262050015424,129,OKA2"),
Position.KEY_RESULT, "129,OK");