aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-01 22:45:29 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-06-01 22:48:51 +1200
commit7de54a8363cb3e24a7c53c6c3dfb8c17c2957b30 (patch)
tree97cc351c5104cdf7884741f0e08a717cfa6294c7 /test/org/traccar/protocol
parent035deb166330dd7bf204a2acd2e8045317e0e440 (diff)
downloadtrackermap-server-7de54a8363cb3e24a7c53c6c3dfb8c17c2957b30.tar.gz
trackermap-server-7de54a8363cb3e24a7c53c6c3dfb8c17c2957b30.tar.bz2
trackermap-server-7de54a8363cb3e24a7c53c6c3dfb8c17c2957b30.zip
Add L100 unit test case
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/L100ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/L100ProtocolDecoderTest.java b/test/org/traccar/protocol/L100ProtocolDecoderTest.java
index 53609056e..47159debe 100644
--- a/test/org/traccar/protocol/L100ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/L100ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class L100ProtocolDecoderTest extends ProtocolTest {
L100ProtocolDecoder decoder = new L100ProtocolDecoder(new L100Protocol());
verifyPosition(decoder, binary(
+ "200141544c3836383030343032363939373235372c244750524d432c3039353534322c412c323833382e303130372c4e2c30373731332e333537392c452c302c39382c3031303631372c2c2c2a30332c2330313131313031313030303030302c302c302c302c302e30312c34352e39342c342e302c32352c3430342c342c38382c3361643541544c0234"));
+
+ verifyPosition(decoder, binary(
"200141544c3836313639333033353238353235332c244750524d432c3032323034302c412c323935342e303438312c4e2c30373335332e313639342c452c302c3135302c3238303431372c2c2c2a33362c2330313131313031313030303030302c302c302c302c38322e39322c33372e39322c342e302c32332c3430342c37302c3136332c6231373841544c0265"));
verifyPosition(decoder, binary(