aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-07-26 22:00:24 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-07-26 22:00:24 +1200
commita6452523a4d3b975e13851c6ab46b4939a43d27f (patch)
tree07b674000c5cbae3e3af5ac058214027746b87eb /test
parent1d937b1dd08d496d7bb94c074892ac0b01fcff6f (diff)
downloadtrackermap-server-a6452523a4d3b975e13851c6ab46b4939a43d27f.tar.gz
trackermap-server-a6452523a4d3b975e13851c6ab46b4939a43d27f.tar.bz2
trackermap-server-a6452523a4d3b975e13851c6ab46b4939a43d27f.zip
Complete PT3000 protocol (fix #285)
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Pt3000ProtocolDecoderTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/org/traccar/protocol/Pt3000ProtocolDecoderTest.java b/test/org/traccar/protocol/Pt3000ProtocolDecoderTest.java
index 546256725..503f9ac36 100644
--- a/test/org/traccar/protocol/Pt3000ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Pt3000ProtocolDecoderTest.java
@@ -1,7 +1,6 @@
package org.traccar.protocol;
import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
import org.junit.Test;
public class Pt3000ProtocolDecoderTest {
@@ -12,11 +11,11 @@ public class Pt3000ProtocolDecoderTest {
Pt3000ProtocolDecoder decoder = new Pt3000ProtocolDecoder(null);
decoder.setDataManager(new TestDataManager());
- /*assertNotNull(decoder.decode(null, null,
+ assertNotNull(decoder.decode(null, null,
"%356939010012099,$GPRMC,124945.752,A,4436.6245,N,01054.4634,E,0.11,358.52,060408,,,A,+393334347445,N028d"));
assertNotNull(decoder.decode(null, null,
- "%356939010014433,$GPRMC,172821.000,A,4019.5147,N,00919.1160,E,0.00,,010613,,,A,+393998525043,N098d"));*/
+ "%356939010014433,$GPRMC,172821.000,A,4019.5147,N,00919.1160,E,0.00,,010613,,,A,+393998525043,N098d"));
}