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/XirgoProtocolDecoderTest.java | |
parent | 6f707c42d2798c93009e289a46d2faf918b75eea (diff) | |
download | trackermap-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/XirgoProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/XirgoProtocolDecoderTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java b/test/org/traccar/protocol/XirgoProtocolDecoderTest.java index cf046c42f..18cf51df0 100644 --- a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java +++ b/test/org/traccar/protocol/XirgoProtocolDecoderTest.java @@ -8,7 +8,7 @@ public class XirgoProtocolDecoderTest extends ProtocolTest { @Test public void testDecodeNew() throws Exception { - XirgoProtocolDecoder decoder = new XirgoProtocolDecoder(new XirgoProtocol()); + XirgoProtocolDecoder decoder = new XirgoProtocolDecoder(null); verifyPosition(decoder, text( "$$352054058132185,4001,2017/04/21,00:01:05,32.54659,-116.90670,143.2,0,0,0,598,0.0,12,0.9,765840,7.0,14.5,19,1,1,0011,8.5,63.2,5,21999,184,255,671,207,100,185##")); @@ -36,7 +36,7 @@ public class XirgoProtocolDecoderTest extends ProtocolTest { @Test public void testDecodeOld() throws Exception { - XirgoProtocolDecoder decoder = new XirgoProtocolDecoder(new XirgoProtocol()); + XirgoProtocolDecoder decoder = new XirgoProtocolDecoder(null); verifyPosition(decoder, text( "$$354660046140722,6001,2013/01/22,15:36:18,25.80907,-80.32531,7.1,19,165.2,11,0.8,11.1,17,1,1,3.9,2##"), |