aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-05-12 22:32:36 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-05-12 22:32:36 +1200
commit85067159044c06bded8e64c8d832591c5e567ff2 (patch)
tree912f559ba1d9871ade5e3bd69c2b64cdd64f2df9 /test/org/traccar
parent002f3d47cc4a31268dd2c0b018f70a0042268e0d (diff)
downloadtrackermap-server-85067159044c06bded8e64c8d832591c5e567ff2.tar.gz
trackermap-server-85067159044c06bded8e64c8d832591c5e567ff2.tar.bz2
trackermap-server-85067159044c06bded8e64c8d832591c5e567ff2.zip
Fix STL060 decoder
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/Stl060ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Stl060ProtocolDecoderTest.java b/test/org/traccar/protocol/Stl060ProtocolDecoderTest.java
index eadd8da9b..890de4f2d 100644
--- a/test/org/traccar/protocol/Stl060ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Stl060ProtocolDecoderTest.java
@@ -14,6 +14,12 @@ public class Stl060ProtocolDecoderTest {
verify(decoder.decode(null, null,
"$1,357804048043099,D001,AP29AW0963,23/02/14,14:06:54,17248488N,078342226E,0.08,193.12,1,1,1,1,1,A"));
+
+ verify(decoder.decode(null, null,
+ "$1,357804048043099,D001,AP29AW0963,12/05/14,07:39:57,1724.8564N,07834.2199E,0.00,302.84,1,1,1,1,1,A"));
+
+ verify(decoder.decode(null, null,
+ "$1,357804047969310,D001,AP29AW0963,01/01/13,13:24:47,1723.9582N,07834.0945E,00100,010,0,0,0,0,0,A,"));
}