aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/SanavProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/SanavProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/SanavProtocolDecoderTest.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/org/traccar/protocol/SanavProtocolDecoderTest.java b/test/org/traccar/protocol/SanavProtocolDecoderTest.java
index 0f881c82a..d7168ff2d 100644
--- a/test/org/traccar/protocol/SanavProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/SanavProtocolDecoderTest.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 SanavProtocolDecoderTest extends ProtocolDecoderTest {
@@ -10,22 +10,22 @@ public class SanavProtocolDecoderTest extends ProtocolDecoderTest {
SanavProtocolDecoder decoder = new SanavProtocolDecoder(new SanavProtocol());
- verify(decoder.decode(null, null,
+ verifyPosition(decoder, text(
"imei=352024028982787&rmc=$GPRMC,103048.000,A,4735.0399,N,01905.2895,E,0.00,0.00,171013,,*05,AUTO-4095mv"));
- verify(decoder.decode(null, null,
+ verifyPosition(decoder, text(
"imei:352024028980000rmc:$GPRMC,093604.354,A,4735.0862,N,01905.2146,E,0.00,0.00,171013,,*09,AUTO-4103mv"));
- verify(decoder.decode(null, null,
+ verifyPosition(decoder, text(
"imei:352024027800000rmc:$GPRMC,000025.000,A,4735.0349,N,01905.2899,E,0.00,202.97,171013,,*03,3950mV,AUTO"));
- verify(decoder.decode(null, null,
+ verifyPosition(decoder, text(
"imei:352024020976845rmc:$GPRMC,000201.000,A,4655.7043,N,01941.3796,E,0.54,159.14,171013,,,A*65,AUTO"));
- verify(decoder.decode(null, null,
+ verifyPosition(decoder, text(
"imei=352024028982787&rmc=$GPRMC,103048.000,A,4735.0399,N,01905.2895,E,0.00,0.00,171013,,"));
- verify(decoder.decode(null, null,
+ verifyPosition(decoder, text(
"65,AUTOimei=352024028982787&rmc=$GPRMC,103048.000,A,4735.0399,N,01905.2895,E,0.00,0.00,171013,,"));
}