aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-06-10 22:38:48 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-06-10 22:38:48 -0700
commit60dbd9827a55ade03f073997270940786b8923cf (patch)
tree384d55b3eb9aa88983860bf507d1656bde82bf34
parent0c7617fb36cd13a5649f62bb021689a833de89db (diff)
downloadtrackermap-server-60dbd9827a55ade03f073997270940786b8923cf.tar.gz
trackermap-server-60dbd9827a55ade03f073997270940786b8923cf.tar.bz2
trackermap-server-60dbd9827a55ade03f073997270940786b8923cf.zip
Add test case
-rw-r--r--src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java
index c1bd8161e..28b3fc5c6 100644
--- a/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class T800xProtocolDecoderTest extends ProtocolTest {
T800xProtocolDecoder decoder = new T800xProtocolDecoder(null);
+ verifyPosition(decoder, binary(
+ "2727040049001b0866425039645728c916190604005240000000007739d2c25b681f420000000080000081000020174105000005458216001e000000f01e00001e30d0000000000000"));
+
verifyAttribute(decoder, binary(
"272705005e000108664250328807851905301107481054002d004d006f00620069006c006500074341542d4e42310a4c54452042414e4420340f333130323430323030303032333030143839303132343032303531303030323330303746"),
Position.KEY_OPERATOR, "T-Mobile");