aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-01-30 21:25:39 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-01-30 21:25:39 +1300
commit5f1a4ade9054a5958f5bb0815ac0d7a2a65fe6b9 (patch)
tree09e99845c4133043da403cb1b89d1d7cd7322dba /test
parent9695184ea5d6bafd521d815e4dd994ca61f04558 (diff)
downloadtraccar-server-5f1a4ade9054a5958f5bb0815ac0d7a2a65fe6b9.tar.gz
traccar-server-5f1a4ade9054a5958f5bb0815ac0d7a2a65fe6b9.tar.bz2
traccar-server-5f1a4ade9054a5958f5bb0815ac0d7a2a65fe6b9.zip
Add unit test for GPS103
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index 823b4fca2..9c294d657 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -20,6 +20,9 @@ public class Gps103ProtocolDecoderTest {
// No GPS signal
//assertNull(decoder.decode(null, null, "imei:359586015829802,tracker,000000000,13554900601,L,;"));
+
+ assertNotNull(decoder.decode(null, null,
+ "imei:359587016817564,tracker,1301251602,,F,080251.000,A,3223.5832,N,11058.9449,W,0.03,"));
assertNotNull(decoder.decode(null, null,
"imei:012497000208821,tracker,1301080525,,F,212511.000,A,2228.5279,S,06855.6328,W,18.62,268.98,"));