aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-03-10 13:12:14 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-03-10 13:12:14 +1300
commita353cbf806f21767f6a173255141dd7db8314fe8 (patch)
tree836b338e37588768d667e5335100d33e6b458054 /test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
parente69316a43169e16d1cb347536177886ed5785873 (diff)
downloadtrackermap-server-a353cbf806f21767f6a173255141dd7db8314fe8.tar.gz
trackermap-server-a353cbf806f21767f6a173255141dd7db8314fe8.tar.bz2
trackermap-server-a353cbf806f21767f6a173255141dd7db8314fe8.zip
Fix TLT-2H protocol (fix #162)
Diffstat (limited to 'test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java b/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
index 8660e733c..070aec4e1 100644
--- a/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
@@ -10,6 +10,10 @@ public class Tlt2hProtocolDecoderTest {
Tlt2hProtocolDecoder decoder = new Tlt2hProtocolDecoder(null);
decoder.setDataManager(new TestDataManager());
+
+ assertNotNull(decoder.decode(null, null,
+ "#357671030946351#V500#0000#AUTO#1\r\n" +
+ "#$GPRMC,223835.000,A,0615.3545,S,10708.5779,E,14.62,97.41,070313,,,D*70\r\n"));
assertNotNull(decoder.decode(null, null,
"#357671030938911#V500#0000#AUTOSTOP#1\r\n" +