aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-20 20:26:21 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-20 20:26:21 +1300
commit8eb7ced3563809046d0b569247db490201f7ac98 (patch)
treec4ac8a29510d2459cfd34cbe403c3f0142f0dbbc /test/org/traccar/protocol
parentf313718772b72a3ff72a37de3b26b80194432b9e (diff)
downloadtraccar-server-8eb7ced3563809046d0b569247db490201f7ac98.tar.gz
traccar-server-8eb7ced3563809046d0b569247db490201f7ac98.tar.bz2
traccar-server-8eb7ced3563809046d0b569247db490201f7ac98.zip
Handle different event types
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/FreematicsProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/FreematicsProtocolDecoderTest.java b/test/org/traccar/protocol/FreematicsProtocolDecoderTest.java
index 69a585076..a84c4e357 100644
--- a/test/org/traccar/protocol/FreematicsProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/FreematicsProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class FreematicsProtocolDecoderTest extends ProtocolTest {
FreematicsProtocolDecoder decoder = new FreematicsProtocolDecoder(null);
verifyNull(decoder, text(
+ "1#EV=2,TS=1871902,ID=ESP32305C06C40A24*AC"));
+
+ verifyNull(decoder, text(
"0#EV=1,TS=23930,ID=ID1C6606C40A24,SK=TEST_SERVER_KEY*49"));
verifyPositions(decoder, text(