aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/FreedomProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-04-23 15:49:56 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-04-23 15:49:56 +1200
commit2a3fad9496decd83f06ae5abf067f8d4337ec741 (patch)
tree69837f0bf89cf6ff78915d70380118575cc5c47a /test/org/traccar/protocol/FreedomProtocolDecoderTest.java
parenta8d2a0170b7ac891ffe784320ac2d1389f11bf68 (diff)
downloadtraccar-server-2a3fad9496decd83f06ae5abf067f8d4337ec741.tar.gz
traccar-server-2a3fad9496decd83f06ae5abf067f8d4337ec741.tar.bz2
traccar-server-2a3fad9496decd83f06ae5abf067f8d4337ec741.zip
Major code refacroting
Diffstat (limited to 'test/org/traccar/protocol/FreedomProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/FreedomProtocolDecoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/FreedomProtocolDecoderTest.java b/test/org/traccar/protocol/FreedomProtocolDecoderTest.java
index e58de3bb1..b39b7a0cd 100644
--- a/test/org/traccar/protocol/FreedomProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/FreedomProtocolDecoderTest.java
@@ -5,12 +5,12 @@ import static org.traccar.helper.DecoderVerifier.verify;
import static org.junit.Assert.assertNull;
import org.junit.Test;
-public class FreedomProtocolDecoderTest {
+public class FreedomProtocolDecoderTest extends ProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- FreedomProtocolDecoder decoder = new FreedomProtocolDecoder(new TestDataManager(), null, null);
+ FreedomProtocolDecoder decoder = new FreedomProtocolDecoder(null);
verify(decoder.decode(null, null,
"IMEI,353358011714362,2014/05/22, 20:49:32, N, Lat:4725.9624, E, Lon:01912.5483, Spd:5.05"));