From a9f5bfb5d69d88ee763c67e8a2f4b4ecc512394b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 15 Jan 2015 11:51:14 +1300 Subject: Implement Ardi_01 protocol --- .../traccar/protocol/Ardi01ProtocolDecoderTest.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/org/traccar/protocol/Ardi01ProtocolDecoderTest.java (limited to 'test/org') diff --git a/test/org/traccar/protocol/Ardi01ProtocolDecoderTest.java b/test/org/traccar/protocol/Ardi01ProtocolDecoderTest.java new file mode 100644 index 000000000..7e4a2eb95 --- /dev/null +++ b/test/org/traccar/protocol/Ardi01ProtocolDecoderTest.java @@ -0,0 +1,21 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.helper.TestDataManager; + +import static org.junit.Assert.assertNull; +import static org.traccar.helper.DecoderVerifier.verify; + +public class Ardi01ProtocolDecoderTest { + + @Test + public void testDecode() throws Exception { + + Ardi01ProtocolDecoder decoder = new Ardi01ProtocolDecoder(new TestDataManager(), null, null); + + verify(decoder.decode(null, null, + "013227003054776,20141010052719,24.4736042,56.8445807,110,289,40,7,5,78,-1")); + + } + +} -- cgit v1.2.3