From 8972c89df0efd530197dcc3d33cb928124a799c7 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 1 Apr 2017 12:51:10 +1300 Subject: Add Ruptela unit test --- test/org/traccar/protocol/RuptelaProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar/protocol') 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 @@ -10,6 +10,9 @@ public class RuptelaProtocolDecoderTest extends ProtocolTest { RuptelaProtocolDecoder decoder = new RuptelaProtocolDecoder(new RuptelaProtocol()); + verifyAttributes(decoder, binary( + "002e000315bc70d3e2ff0f4f42443130302e30312e30382e30300000c2b30ea77e430000601b000001f40000003c00144aa0")); + verifyAttributes(decoder, binary( "0011000315A07F440B1D07534554494f20636f6e66696775726174696f6e2064617461206f6b341C")); -- cgit v1.2.3