aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-11-06 23:08:22 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2012-11-06 23:08:22 +1300
commit85317819e2ff62941ecc76031248792b430ac0b3 (patch)
tree37a77667ccc3c28fe4261a9088bc5cae006d3110 /test
parentf629297ceecfd6fb1ad64adf1549980d30e0343f (diff)
downloadtrackermap-server-85317819e2ff62941ecc76031248792b430ac0b3.tar.gz
trackermap-server-85317819e2ff62941ecc76031248792b430ac0b3.tar.bz2
trackermap-server-85317819e2ff62941ecc76031248792b430ac0b3.zip
Add course to gps103 protocol
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index 0c2b33536..61585d3c1 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -60,7 +60,12 @@ public class Gps103ProtocolDecoderTest {
assertNotNull(decoder.decode(null, null,
"imei:863070010423167,tracker,1211051840,,F,104000.000,A,2220.6483,N,11407.6377,,0,0,"));
-
+
+ assertNotNull(decoder.decode(null, null,
+ "imei:863070010423167,tracker,1211051951,63360926,F,115123.000,A,2220.6322,N,11407.5313,E,0.00,,"));
+
+ assertNotNull(decoder.decode(null, null,
+ "imei:863070010423167,tracker,1211060621,,F,062152.000,A,2220.6914,N,11407.5506,E,15.85,347.84,"));
}
}