aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/NavisetFrameDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-08-03 23:16:11 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-08-03 23:16:11 -0700
commitb5e9d84cfeb8d4e6a4e1133a2e0510652be1de6b (patch)
tree36f14a8a052163f2e1b0a770c65204ebc938eff0 /src/test/java/org/traccar/protocol/NavisetFrameDecoderTest.java
parent10da32b83608a882744212373e3ff4ff2716aadf (diff)
downloadtrackermap-server-b5e9d84cfeb8d4e6a4e1133a2e0510652be1de6b.tar.gz
trackermap-server-b5e9d84cfeb8d4e6a4e1133a2e0510652be1de6b.tar.bz2
trackermap-server-b5e9d84cfeb8d4e6a4e1133a2e0510652be1de6b.zip
Implement Naviset protocol
Diffstat (limited to 'src/test/java/org/traccar/protocol/NavisetFrameDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/NavisetFrameDecoderTest.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/NavisetFrameDecoderTest.java b/src/test/java/org/traccar/protocol/NavisetFrameDecoderTest.java
new file mode 100644
index 000000000..450f77144
--- /dev/null
+++ b/src/test/java/org/traccar/protocol/NavisetFrameDecoderTest.java
@@ -0,0 +1,19 @@
+package org.traccar.protocol;
+
+import org.junit.Test;
+import org.traccar.ProtocolTest;
+
+public class NavisetFrameDecoderTest extends ProtocolTest {
+
+ @Test
+ public void testDecode() throws Exception {
+
+ NavisetFrameDecoder decoder = new NavisetFrameDecoder();
+
+ verifyFrame(
+ binary("1310e4073836383230343030353935383436362a060716"),
+ decoder.decode(null, null, binary("1310e4073836383230343030353935383436362a060716")));
+
+ }
+
+}