aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-01-22 23:52:41 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-01-22 23:52:41 -0800
commiteb2697434dbbb8c12cad26df94e3a367880ac4db (patch)
tree2fd2f504c7542091c858f3fc560c19c91194e321 /src/test/java
parentcdbb912a1552d2e8eb6590dbffb6799ee187b50b (diff)
downloadtrackermap-server-eb2697434dbbb8c12cad26df94e3a367880ac4db.tar.gz
trackermap-server-eb2697434dbbb8c12cad26df94e3a367880ac4db.tar.bz2
trackermap-server-eb2697434dbbb8c12cad26df94e3a367880ac4db.zip
Fix frame decoding issues
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/OmnicommFrameDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/OmnicommFrameDecoderTest.java b/src/test/java/org/traccar/protocol/OmnicommFrameDecoderTest.java
index 06c6e24eb..ae21de107 100644
--- a/src/test/java/org/traccar/protocol/OmnicommFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/OmnicommFrameDecoderTest.java
@@ -11,6 +11,10 @@ public class OmnicommFrameDecoderTest extends ProtocolTest {
OmnicommFrameDecoder decoder = new OmnicommFrameDecoder();
verifyFrame(
+ binary("c08600004566"),
+ decoder.decode(null, null, binary("c08600004566")));
+
+ verifyFrame(
binary("c080080061a61915340100001dec"),
decoder.decode(null, null, binary("c080080061a61915340100001dec")));