aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/ProgressProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/traccar/protocol/ProgressProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/ProgressProtocolDecoderTest.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/ProgressProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ProgressProtocolDecoderTest.java
new file mode 100644
index 000000000..5f6f564b1
--- /dev/null
+++ b/src/test/java/org/traccar/protocol/ProgressProtocolDecoderTest.java
@@ -0,0 +1,18 @@
+package org.traccar.protocol;
+
+import org.junit.Test;
+import org.traccar.ProtocolTest;
+
+public class ProgressProtocolDecoderTest extends ProtocolTest {
+
+ @Test
+ public void testDecode() throws Exception {
+
+ ProgressProtocolDecoder decoder = new ProgressProtocolDecoder(null);
+
+ verifyNull(decoder, binary(
+ "020037000100000003003131310f003335343836383035313339303036320f00323530303136333832383531353535010000000100000000000000e6bb97b6"));
+
+ }
+
+}