aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-01-09 11:34:42 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-01-09 11:34:42 +1300
commit663231ec30ed41d60ef352e89ea61e9eb2b735c2 (patch)
treeea32f4b350bc7497bc738d2bb00b476423472efb /test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java
parentbc8a449d384506eac902b76870d7b565f96c05e6 (diff)
downloadtrackermap-server-663231ec30ed41d60ef352e89ea61e9eb2b735c2.tar.gz
trackermap-server-663231ec30ed41d60ef352e89ea61e9eb2b735c2.tar.bz2
trackermap-server-663231ec30ed41d60ef352e89ea61e9eb2b735c2.zip
Merge AutoFon and AutoFon45 protocols
Diffstat (limited to 'test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java b/test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java
deleted file mode 100644
index 2b4154b27..000000000
--- a/test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package org.traccar.protocol;
-
-import org.junit.Test;
-import org.traccar.ProtocolTest;
-
-
-public class AutoFon45ProtocolDecoderTest extends ProtocolTest {
- @Test
- public void testDecode() throws Exception {
- AutoFon45ProtocolDecoder decoder = new AutoFon45ProtocolDecoder(new AutoFon45Protocol());
-
- verifyNothing(decoder, binary(
- "41035151305289931441139602662095148807"));
-
- verifyNothing(decoder, binary(
- "41032125656985547543619173484002123481"));
-
- verifyPosition(decoder, binary(
- "023E00001E004D411EFA01772F185285009C48041F1E366C2961380F26B10B00911C"),
- position("2010-01-27 04:00:08.000", true, 54.73838, 56.10343));
-
- verifyPosition(decoder, binary(
- "023E00001E004D411EFA01772F185285009C48041F1E366C2961380F26B10B00911C"));
- }
-}