aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-10-30 21:59:36 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-10-30 21:59:36 -0700
commit7103c6b2f47a5f9281737ca8fc525de644c2aec9 (patch)
tree1bd20296214ba0dc7205592881f56be0e8e13dd6 /src/test/java/org/traccar
parent61b9b7f4bfa23abc477dbd954851fbb479e6513a (diff)
downloadtraccar-server-7103c6b2f47a5f9281737ca8fc525de644c2aec9.tar.gz
traccar-server-7103c6b2f47a5f9281737ca8fc525de644c2aec9.tar.bz2
traccar-server-7103c6b2f47a5f9281737ca8fc525de644c2aec9.zip
Revert "Add PT215 frame decoder"
This reverts commit 14f5711c
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/Pt215FrameDecoderTest.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/test/java/org/traccar/protocol/Pt215FrameDecoderTest.java b/src/test/java/org/traccar/protocol/Pt215FrameDecoderTest.java
deleted file mode 100644
index 2e3600b99..000000000
--- a/src/test/java/org/traccar/protocol/Pt215FrameDecoderTest.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package org.traccar.protocol;
-
-import org.junit.Test;
-import org.traccar.ProtocolTest;
-
-public class Pt215FrameDecoderTest extends ProtocolTest {
-
- @Test
- public void testDecode() throws Exception {
-
- Pt215FrameDecoder decoder = new Pt215FrameDecoder();
-
- verifyFrame(
- binary("58580d010359339075799656010d0a"),
- decoder.decode(null, null, binary("58580d010359339075799656010d0a")));
-
- verifyFrame(
- binary("5858071340010819640d0a"),
- decoder.decode(null, null, binary("5858071340010819640d0a")));
-
- verifyFrame(
- binary("585815101309160d0f0c9902b7015405f0e82404347afff7000d0a"),
- decoder.decode(null, null, binary("585815101309160d0f0c9902b7015405f0e82404347afff7000d0a")));
-
- }
-
-}