diff options
Diffstat (limited to 'test/org/traccar/protocol/AquilaProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/AquilaProtocolDecoderTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/org/traccar/protocol/AquilaProtocolDecoderTest.java b/test/org/traccar/protocol/AquilaProtocolDecoderTest.java index 8a0d8bdfd..b906bfe98 100644 --- a/test/org/traccar/protocol/AquilaProtocolDecoderTest.java +++ b/test/org/traccar/protocol/AquilaProtocolDecoderTest.java @@ -1,7 +1,7 @@ package org.traccar.protocol; import org.junit.Test; -import static org.traccar.helper.DecoderVerifier.verify; +import org.traccar.ProtocolDecoderTest; public class AquilaProtocolDecoderTest extends ProtocolDecoderTest { @@ -10,16 +10,16 @@ public class AquilaProtocolDecoderTest extends ProtocolDecoderTest { AquilaProtocolDecoder decoder = new AquilaProtocolDecoder(new AquilaProtocol()); - verify(decoder.decode(null, null, + verifyPosition(decoder, text( "$$SRINI_1MS,141214807,1,12.963515,77.533844,150925161628,A,27,0,8,0,68,0,0,0,0,0,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,*43")); - verify(decoder.decode(null, null, + verifyPosition(decoder, text( "$$CLIENT_1ZF,130329214,1,12.962985,77.576484,140127165433,A,22,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,*26")); - verify(decoder.decode(null, null, + verifyPosition(decoder, text( "$$CLIENT_1WP,141216511,3,12.963123,77.534012,150908163534,A,31,0,0,0,7,0,0,0,0,0,0,0,1,0,1,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,1,1,0,*28")); - verify(decoder.decode(null, null, + verifyPosition(decoder, text( "$$CLIENT_1WP,141216511,3,12.963212,77.533989,150908164041,V,31,0,0,0,8,0,0,0,0,0,0,0,1,0,1,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,1,1,0,*2A")); } |