aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-08 16:16:05 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-08 16:16:05 +1200
commitf0c990d0cfc727b25f5de4b1097864d4afadb9cb (patch)
tree15c68b1e0e7e819ef4d2467327d59e5b9db634fc /test
parent62a584aea59666bd95d0a88e917f24fe5999df16 (diff)
downloadtraccar-server-f0c990d0cfc727b25f5de4b1097864d4afadb9cb.tar.gz
traccar-server-f0c990d0cfc727b25f5de4b1097864d4afadb9cb.tar.bz2
traccar-server-f0c990d0cfc727b25f5de4b1097864d4afadb9cb.zip
Add support for TAIP attributes
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/TaipProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TaipProtocolDecoderTest.java b/test/org/traccar/protocol/TaipProtocolDecoderTest.java
index e64513ac5..871ec84b3 100644
--- a/test/org/traccar/protocol/TaipProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/TaipProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class TaipProtocolDecoderTest extends ProtocolTest {
TaipProtocolDecoder decoder = new TaipProtocolDecoder(new TaipProtocol(), false);
verifyPosition(decoder, text(
+ ">REV451891352379+0307152+1016143700000012;SV=8;BL=4416;VO=8055;ID=356612026322000<"));
+
+ verifyPosition(decoder, text(
">RGP230615010248-2682523-065236820000003007F4101;ID=0005;#0002;*2A<"),
position("2015-06-23 01:02:48.000", true, -26.82523, -65.23682));