diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-17 16:52:38 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-17 16:52:38 +1300 |
commit | ae32084f88df4436e1a2cdcb346ff1e7e286e369 (patch) | |
tree | 5ec96dcedf19aa0c435c0e4d38f2ba60f583f9f6 /test/org/traccar/protocol/AquilaProtocolDecoderTest.java | |
parent | 6f707c42d2798c93009e289a46d2faf918b75eea (diff) | |
download | traccar-server-ae32084f88df4436e1a2cdcb346ff1e7e286e369.tar.gz traccar-server-ae32084f88df4436e1a2cdcb346ff1e7e286e369.tar.bz2 traccar-server-ae32084f88df4436e1a2cdcb346ff1e7e286e369.zip |
Avoid protocol classes in tests
Diffstat (limited to 'test/org/traccar/protocol/AquilaProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/AquilaProtocolDecoderTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/AquilaProtocolDecoderTest.java b/test/org/traccar/protocol/AquilaProtocolDecoderTest.java index 7de4526f1..793b2c646 100644 --- a/test/org/traccar/protocol/AquilaProtocolDecoderTest.java +++ b/test/org/traccar/protocol/AquilaProtocolDecoderTest.java @@ -8,7 +8,7 @@ public class AquilaProtocolDecoderTest extends ProtocolTest { @Test public void testDecodeA() throws Exception { - AquilaProtocolDecoder decoder = new AquilaProtocolDecoder(new AquilaProtocol()); + AquilaProtocolDecoder decoder = new AquilaProtocolDecoder(null); verifyPosition(decoder, text( "$$CLIENT_1ZF,170215089,20,18.462809,73.824188,170613182744,A,01,123456,*37")); @@ -54,7 +54,7 @@ public class AquilaProtocolDecoderTest extends ProtocolTest { @Test public void testDecodeB() throws Exception { - AquilaProtocolDecoder decoder = new AquilaProtocolDecoder(new AquilaProtocol()); + AquilaProtocolDecoder decoder = new AquilaProtocolDecoder(null); verifyPosition(decoder, text( "$Header,nliven,EMR,861693034634154,NM,09112017155133,A,12.976495,N,77.549713,E,906.0,0.0,23,G,KA01I2000,+919844098440*4B")); |