aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-02-24 09:59:18 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-02-24 09:59:44 +1300
commit99cc473979209204a2f618539abad2cfbadf3c82 (patch)
tree4da543ed5be84c00b87fb830a142fbe29b5a8351 /test
parent0d6b84af0aac6f312fd654cba33d8a1a13e2ed25 (diff)
downloadtrackermap-server-99cc473979209204a2f618539abad2cfbadf3c82.tar.gz
trackermap-server-99cc473979209204a2f618539abad2cfbadf3c82.tar.bz2
trackermap-server-99cc473979209204a2f618539abad2cfbadf3c82.zip
More TAIP test cases
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/TaipProtocolDecoderTest.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TaipProtocolDecoderTest.java b/test/org/traccar/protocol/TaipProtocolDecoderTest.java
index beba54d74..cdf5ff4a3 100644
--- a/test/org/traccar/protocol/TaipProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/TaipProtocolDecoderTest.java
@@ -11,6 +11,18 @@ public class TaipProtocolDecoderTest extends ProtocolTest {
TaipProtocolDecoder decoder = new TaipProtocolDecoder(new TaipProtocol());
verifyPosition(decoder, text(
+ ">RPV03874+3477708-0923453100029212;ID=0017;*71<"));
+
+ verifyNull(decoder, text(
+ ">RAL03874+00185+00012;ID=0017;*4A<"));
+
+ verifyNull(decoder, text(
+ ">RCP03874+347771-092345312;ID=0017;*65<"));
+
+ verifyNull(decoder, text(
+ ">RLN03874000+347770828-0923453071+000608270000+0000292309000000000000000000000000000000000000000000000012;ID=0017;*49<"));
+
+ verifyPosition(decoder, text(
">RPV46640+4197412-0752857900015802;ID=5102;*71<"));
verifyNull(decoder, text(