aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-15 22:15:59 -0400
committerLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-15 22:15:59 -0400
commit33cc8f56d87556a2233c174a39247048bb2e33fd (patch)
tree0c533ec982e95e2f6fc625bb82ed4613e1829f3d /test/org/traccar
parentba78f64d458bf03a3ffbac87369def5f79cbc8ae (diff)
downloadtrackermap-server-33cc8f56d87556a2233c174a39247048bb2e33fd.tar.gz
trackermap-server-33cc8f56d87556a2233c174a39247048bb2e33fd.tar.bz2
trackermap-server-33cc8f56d87556a2233c174a39247048bb2e33fd.zip
Improvements on decoder to decode status, emergency and keep alive
messages from avl.
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/ST210ProtocolDecoderTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/ST210ProtocolDecoderTest.java b/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
index bc2e6e21e..403b5621a 100644
--- a/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
@@ -1,6 +1,7 @@
package org.traccar.protocol;
import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertNull;
import org.junit.Test;
@@ -36,6 +37,10 @@ public class ST210ProtocolDecoderTest {
.decode(null,
null,
"SA200EMG;317652;042;20120718;15:35:41;16d41;-15.618740;-056.083252;000.034;000.00;8;1;41548;12.17;110000;1"));
+ assertNull(decoder
+ .decode(null,
+ null,
+ "SA200ALV;317652"));
}
}