diff options
Diffstat (limited to 'test/org/traccar/protocol/CarTrackProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/CarTrackProtocolDecoderTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/org/traccar/protocol/CarTrackProtocolDecoderTest.java b/test/org/traccar/protocol/CarTrackProtocolDecoderTest.java index 1180ac6f2..6b26607d7 100644 --- a/test/org/traccar/protocol/CarTrackProtocolDecoderTest.java +++ b/test/org/traccar/protocol/CarTrackProtocolDecoderTest.java @@ -1,7 +1,7 @@ package org.traccar.protocol; -import static org.traccar.helper.DecoderVerifier.verify; import org.junit.Test; +import org.traccar.ProtocolDecoderTest; public class CarTrackProtocolDecoderTest extends ProtocolDecoderTest { @@ -10,10 +10,10 @@ public class CarTrackProtocolDecoderTest extends ProtocolDecoderTest { CarTrackProtocolDecoder decoder = new CarTrackProtocolDecoder(new CarTrackProtocol()); - verify(decoder.decode(null, null, + verifyPosition(decoder, text( "$$2222234???????&A9955&B102904.000,A,2233.0655,N,11404.9440,E,0.00,,030109,,*17|6.3|&C0100000100&D000024?>&E10000000&Y00100020")); - verify(decoder.decode(null, null, + verifyPosition(decoder, text( "$$2222234???????&A9955&B102904.000,A,2233.0655,N,11404.9440,E,0.00,,030109,,*17|6.3|&C0100000100&D000024?>&E10000000")); |