aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-05 14:59:40 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-05 14:59:40 +1300
commit1a86616ca2032fa0c3fee7446a6dc545f4f77451 (patch)
tree5670ed0aa2e7ef84cd5da86112e21aed773b2932 /test/org/traccar
parent111ea9bbec5516c36939df8eec4f7ba3edb268bf (diff)
downloadtrackermap-server-1a86616ca2032fa0c3fee7446a6dc545f4f77451.tar.gz
trackermap-server-1a86616ca2032fa0c3fee7446a6dc545f4f77451.tar.bz2
trackermap-server-1a86616ca2032fa0c3fee7446a6dc545f4f77451.zip
Partially refactor AutoFon 45 decoder
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java b/test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java
index 50df04117..547189a1e 100644
--- a/test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java
@@ -15,6 +15,10 @@ public class AutoFon45ProtocolDecoderTest extends ProtocolDecoderTest {
"41032125656985547543619173484002123481"));
verifyPosition(decoder, binary(
+ "023E00001E004D411EFA01772F185285009C48041F1E366C2961380F26B10B00911C"),
+ position("2010-01-27 04:00:08.000", true, 54.73838, 56.10343));
+
+ verifyPosition(decoder, binary(
"023E00001E004D411EFA01772F185285009C48041F1E366C2961380F26B10B00911C"));
}
}