aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/AutoGradeProtocolDecoderTest.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/AutoGradeProtocolDecoderTest.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/AutoGradeProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/AutoGradeProtocolDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/AutoGradeProtocolDecoderTest.java b/test/org/traccar/protocol/AutoGradeProtocolDecoderTest.java
index a1b715f1c..f71fcd8eb 100644
--- a/test/org/traccar/protocol/AutoGradeProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AutoGradeProtocolDecoderTest.java
@@ -8,7 +8,7 @@ public class AutoGradeProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
- AutoGradeProtocolDecoder decoder = new AutoGradeProtocolDecoder(new AutoGradeProtocol());
+ AutoGradeProtocolDecoder decoder = new AutoGradeProtocolDecoder(null);
verifyPosition(decoder, text(
"(000000001637868324027912356171116A2250.7611N07556.9425E000.9024427197.36\u008eA0000B0000C0000D0000E0000K0000L0000M0000N0000O0000)"));