aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-02-14 23:21:09 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-02-14 23:21:09 +1300
commitaac29a8a4452b4977779e2ceb7285c17c6369691 (patch)
treea9e9461273a7f2ae93e85affdce1e7cf3f289c6d /test/org/traccar/protocol
parent82965326887d0867f8edf29e638630c2ee85423c (diff)
downloadtrackermap-server-aac29a8a4452b4977779e2ceb7285c17c6369691.tar.gz
trackermap-server-aac29a8a4452b4977779e2ceb7285c17c6369691.tar.bz2
trackermap-server-aac29a8a4452b4977779e2ceb7285c17c6369691.zip
Add TLT-2H unit test
Diffstat (limited to 'test/org/traccar/protocol')
-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 9c2324be7..8660e733c 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,
+ "#357671030938911#V500#0000#AUTOSTOP#1\r\n" +
+ "#00b34d3c$GPRMC,140026.000,A,2623.6452,S,02828.8990,E,0.00,65.44,130213,,,A*4B\r\n"));
assertNotNull(decoder.decode(null, null,
"#123456789000001#V3338#0000#SMS#3\r\n" +