aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/SanavProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-17 16:52:38 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-17 16:52:38 +1300
commitae32084f88df4436e1a2cdcb346ff1e7e286e369 (patch)
tree5ec96dcedf19aa0c435c0e4d38f2ba60f583f9f6 /test/org/traccar/protocol/SanavProtocolDecoderTest.java
parent6f707c42d2798c93009e289a46d2faf918b75eea (diff)
downloadtrackermap-server-ae32084f88df4436e1a2cdcb346ff1e7e286e369.tar.gz
trackermap-server-ae32084f88df4436e1a2cdcb346ff1e7e286e369.tar.bz2
trackermap-server-ae32084f88df4436e1a2cdcb346ff1e7e286e369.zip
Avoid protocol classes in tests
Diffstat (limited to 'test/org/traccar/protocol/SanavProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/SanavProtocolDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/SanavProtocolDecoderTest.java b/test/org/traccar/protocol/SanavProtocolDecoderTest.java
index 3dea71e93..36fd7ecba 100644
--- a/test/org/traccar/protocol/SanavProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/SanavProtocolDecoderTest.java
@@ -8,7 +8,7 @@ public class SanavProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
- SanavProtocolDecoder decoder = new SanavProtocolDecoder(new SanavProtocol());
+ SanavProtocolDecoder decoder = new SanavProtocolDecoder(null);
verifyPosition(decoder, text(
"imei=353197040023431&rmc=$GPRMC,015258.000,A,2457.8101,N,12125.5393,E,0.00,0.00,210111,,*18,AUTO,0300,2.1,10,466,97,34E7,3391,74,466,9 7,3F2D,3391,65,466,97,39C9,3391,79,466,97,3F2C,3391,81,466,97,0000,00 00,83,466,97,0000,0000,85,466,97,0000,0000,85,1,24"));