aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-12-05 16:09:49 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-12-05 16:09:49 +1300
commitf61f79c2068c7ed384247107543f27dd19ee2a5a (patch)
treea5422423ff850c273ddea07671eb0994bfa4a7e0 /test/org
parent8c0d4b84f9664aa1d2e578a8a68395dc7e32c88e (diff)
downloadtraccar-server-f61f79c2068c7ed384247107543f27dd19ee2a5a.tar.gz
traccar-server-f61f79c2068c7ed384247107543f27dd19ee2a5a.tar.bz2
traccar-server-f61f79c2068c7ed384247107543f27dd19ee2a5a.zip
Support additional XRB messages
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java b/test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java
index cef1f38f9..0f15f31b4 100644
--- a/test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java
@@ -10,15 +10,15 @@ public class Xrb28ProtocolDecoderTest extends ProtocolTest {
Xrb28ProtocolDecoder decoder = new Xrb28ProtocolDecoder(null);
+ verifyAttributes(decoder, text(
+ "*SCOR,OM,123456789123456,Q0,412,80,28#"));
+
verifyPosition(decoder, text(
"*SCOR,OM,867584030387299,D0,0,012102.00,A,0608.00062,S,10659.70331,E,12,0.69,151118,30.3,M,A#"));
- verifyNull(decoder, text(
+ verifyAttributes(decoder, text(
"*SCOR,OM,863158022988725,H0,0,412,28,80,0#"));
- verifyNull(decoder, text(
- "*HBCR,OM,123456789123456,Q0,412,80#"));
-
verifyAttributes(decoder, text(
"*HBCR,OM,123456789123456,R0,0,55,1234,1497689816#"));