aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index 24289822a..2e3929b28 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -13,13 +13,16 @@ public class Gps103ProtocolDecoderTest {
decoder.setDataManager(new TestDataManager());
// Log on request
- //assertNull(decoder.decode(null, null, "##,imei:359586015829802,A"));
+ assertNull(decoder.decode(null, null, "##,imei:359586015829802,A"));
// Heartbeat package
- //assertNull(decoder.decode(null, null, "359586015829802"));
+ assertNull(decoder.decode(null, null, "359586015829802"));
// No GPS signal
- //assertNull(decoder.decode(null, null, "imei:359586015829802,tracker,000000000,13554900601,L,;"));
+ assertNull(decoder.decode(null, null, "imei:359586015829802,tracker,000000000,13554900601,L,;"));
+
+ assertNotNull(decoder.decode(null, null,
+ "imei:359710040656622,tracker,13/02/27 23:40,,F,125952.000,A,3450.9430,S,13828.6753,E,0.00,0"));
assertNotNull(decoder.decode(null, null,
"imei:353451047570260,tracker,1302110948,,F,144807.000,A,0805.6615,S,07859.9763,W,0.00,,"));