aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-11-15 07:43:01 -0800
committerAnton Tananaev <anton@traccar.org>2023-11-15 07:43:08 -0800
commit88fdb4e19ba4f4f13deaefa64af1c5ad6896e655 (patch)
tree25cfd15411890e07116c5ec61f517eab9887d94b /src/test
parente398778abace08beb3b6eea2de210b000944548e (diff)
downloadtrackermap-server-88fdb4e19ba4f4f13deaefa64af1c5ad6896e655.tar.gz
trackermap-server-88fdb4e19ba4f4f13deaefa64af1c5ad6896e655.tar.bz2
trackermap-server-88fdb4e19ba4f4f13deaefa64af1c5ad6896e655.zip
Add Lantrix t-1700 test case
Diffstat (limited to 'src/test')
-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 bc5901fb0..2858248bd 100644
--- a/src/test/java/org/traccar/protocol/TaipProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TaipProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class TaipProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new TaipProtocolDecoder(null));
+ verifyNull(decoder, text(
+ ">RTT151123153149-4330468-06503640000009300DF2101 04101203 000 00000000130000040414;ID=8803;#1ABD;*2B<"));
+
verifyAttribute(decoder, text(
">RUS00,111220124402-3138067-06417623000012200FF,000000000000000000000000000,0000000111,15640422,00000,+25.5,00000,51;ID=CST3G0443;#IP1:089F;*34<"),
Position.PREFIX_TEMP + 1, 25.5);