aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-04-01 12:51:10 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-04-01 12:51:10 +1300
commit8972c89df0efd530197dcc3d33cb928124a799c7 (patch)
treee08235f08962e29e23e7f844cc69cb7ddcfdb830 /test/org/traccar/protocol
parentcece144cb40875887800251e20b9d44cb609052f (diff)
downloadtrackermap-server-8972c89df0efd530197dcc3d33cb928124a799c7.tar.gz
trackermap-server-8972c89df0efd530197dcc3d33cb928124a799c7.tar.bz2
trackermap-server-8972c89df0efd530197dcc3d33cb928124a799c7.zip
Add Ruptela unit test
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/RuptelaProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/RuptelaProtocolDecoderTest.java b/test/org/traccar/protocol/RuptelaProtocolDecoderTest.java
index 6fff0f674..1074b7eb3 100644
--- a/test/org/traccar/protocol/RuptelaProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/RuptelaProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class RuptelaProtocolDecoderTest extends ProtocolTest {
RuptelaProtocolDecoder decoder = new RuptelaProtocolDecoder(new RuptelaProtocol());
verifyAttributes(decoder, binary(
+ "002e000315bc70d3e2ff0f4f42443130302e30312e30382e30300000c2b30ea77e430000601b000001f40000003c00144aa0"));
+
+ verifyAttributes(decoder, binary(
"0011000315A07F440B1D07534554494f20636f6e66696775726174696f6e2064617461206f6b341C"));
verifyPositions(decoder, binary(