From f61f79c2068c7ed384247107543f27dd19ee2a5a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 5 Dec 2018 16:09:49 +1300 Subject: Support additional XRB messages --- test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/org/traccar/protocol') 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#")); -- cgit v1.2.3