aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-07-16 08:31:43 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-07-16 08:31:43 -0700
commit89b62696bdd9afa6a6f5eec65c4282bf4131ffd7 (patch)
treec54681e7bc2cad049cf47c3e8dd6121e45d4f96e /src/test/java/org
parent398a3a71fef1d7610940a8118bcf9b13782c21f3 (diff)
downloadtrackermap-server-89b62696bdd9afa6a6f5eec65c4282bf4131ffd7.tar.gz
trackermap-server-89b62696bdd9afa6a6f5eec65c4282bf4131ffd7.tar.bz2
trackermap-server-89b62696bdd9afa6a6f5eec65c4282bf4131ffd7.zip
Add TAIP unit test
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/TaipProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/TaipProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TaipProtocolDecoderTest.java
index bdbaec8aa..0b9eacb8d 100644
--- a/src/test/java/org/traccar/protocol/TaipProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TaipProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class TaipProtocolDecoderTest extends ProtocolTest {
TaipProtocolDecoder decoder = new TaipProtocolDecoder(null);
+ verifyNull(decoder, text(
+ ">RLN25601000+297185103-0955755990+000059150000+0000000012000000000000000000000000000000000000000000000000000000000012;ID=3580;*48<"));
+
verifyPosition(decoder, text(
">RGP211217112154-2748332-058946350000000FF7F2100;ID=AA01;#0002;*2D<"));