aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/T55ProtocolDecoderTest.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/T55ProtocolDecoderTest.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/T55ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/T55ProtocolDecoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/T55ProtocolDecoderTest.java b/test/org/traccar/protocol/T55ProtocolDecoderTest.java
index 298540e3b..6b286b485 100644
--- a/test/org/traccar/protocol/T55ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/T55ProtocolDecoderTest.java
@@ -8,7 +8,7 @@ public class T55ProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
- T55ProtocolDecoder decoder = new T55ProtocolDecoder(new T55Protocol());
+ T55ProtocolDecoder decoder = new T55ProtocolDecoder(null);
verifyNull(decoder, text(
"$IMEI=355797031609284"));
@@ -107,7 +107,7 @@ public class T55ProtocolDecoderTest extends ProtocolTest {
// Maxon devices can send NMEA before identification
- T55ProtocolDecoder decoder = new T55ProtocolDecoder(new T55Protocol());
+ T55ProtocolDecoder decoder = new T55ProtocolDecoder(null);
verifyNull(decoder, text(
"$GPRMC,012006,A,4828.10,N,1353.52,E,0.00,0.00,180915,020.3,E*42"));