aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorLucas V C Nicolau <lcsvcn@users.noreply.github.com>2019-11-25 14:16:11 -0300
committerGitHub <noreply@github.com>2019-11-25 14:16:11 -0300
commit94e41957eb8aa53a6285e2fe3188f589640f0091 (patch)
tree187ac0d6cc20b7486d5880e2288817eb5baef113 /src/test/java
parentf0bc9d0ac59d23e6c2aa2b05743ab0ded0f13b5e (diff)
downloadtrackermap-server-94e41957eb8aa53a6285e2fe3188f589640f0091.tar.gz
trackermap-server-94e41957eb8aa53a6285e2fe3188f589640f0091.tar.bz2
trackermap-server-94e41957eb8aa53a6285e2fe3188f589640f0091.zip
Update Xrb28ProtocolDecoderTest.java
add new regex matching test cases
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/Xrb28ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Xrb28ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Xrb28ProtocolDecoderTest.java
index 0f15f31b4..9156182b7 100644
--- a/src/test/java/org/traccar/protocol/Xrb28ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Xrb28ProtocolDecoderTest.java
@@ -27,6 +27,12 @@ public class Xrb28ProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, text(
"*SCOR,OM,863158022988725,D0,0,124458.00,A,2237.7514,N,11408.6214,E,6,0.21,151216,10,M,A#"));
+
+ verifyPosition(decoder, text(
+ "*HBCR,OM,123456789123456,D0,1,124458.00,A,2237.7514,N,11408.6214,E,6,0.21,151216,10,M,A#"));
+
+ verifyPosition(decoder, text(
+ "*SCOR,OM,863158022988725,D0,1,124458.00,A,2237.7514,N,11408.6214,E,6,0.21,151216,10,M,A#"));
}