From 94e41957eb8aa53a6285e2fe3188f589640f0091 Mon Sep 17 00:00:00 2001 From: Lucas V C Nicolau Date: Mon, 25 Nov 2019 14:16:11 -0300 Subject: Update Xrb28ProtocolDecoderTest.java add new regex matching test cases --- src/test/java/org/traccar/protocol/Xrb28ProtocolDecoderTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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#")); } -- cgit v1.2.3