aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-02-02 00:35:53 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-02-02 00:35:53 -0800
commitc0b737b3a8b3a5bb2a383e14d3ae5c14a5260781 (patch)
tree437da14f609a08c5ee3cfdb5e26d6fa78582fc22 /test/org/traccar
parent9d9778d13be1cef31c7891fc9519edfa54efdc2a (diff)
downloadtraccar-server-c0b737b3a8b3a5bb2a383e14d3ae5c14a5260781.tar.gz
traccar-server-c0b737b3a8b3a5bb2a383e14d3ae5c14a5260781.tar.bz2
traccar-server-c0b737b3a8b3a5bb2a383e14d3ae5c14a5260781.zip
Fix TR20 decoder
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/Tr20ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java b/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java
index d43031e06..76355066b 100644
--- a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class Tr20ProtocolDecoderTest extends ProtocolTest {
Tr20ProtocolDecoder decoder = new Tr20ProtocolDecoder(null);
+ verifyPosition(decoder, text(
+ "%%123456789012345,A,120101121800,N6000.0000E13000.0000,0,000,0,01034802,150,[Message]"));
+
verifyNull(decoder, text(
"%%TRACKPRO01,1"));