From 4bd9a1afc970159323a7535d3ed004b499e0fbc3 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 7 Jan 2016 09:30:38 +1300 Subject: Rename protocol from auru to auro --- .../traccar/protocol/AuroProtocolDecoderTest.java | 24 ++++++++++++++++++++++ .../traccar/protocol/AuruProtocolDecoderTest.java | 24 ---------------------- 2 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 test/org/traccar/protocol/AuroProtocolDecoderTest.java delete mode 100644 test/org/traccar/protocol/AuruProtocolDecoderTest.java (limited to 'test') diff --git a/test/org/traccar/protocol/AuroProtocolDecoderTest.java b/test/org/traccar/protocol/AuroProtocolDecoderTest.java new file mode 100644 index 000000000..e9b13c57d --- /dev/null +++ b/test/org/traccar/protocol/AuroProtocolDecoderTest.java @@ -0,0 +1,24 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class AuroProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + AuroProtocolDecoder decoder = new AuroProtocolDecoder(new AuroProtocol()); + + verifyPosition(decoder, text( + "M0028T0000816398975I357325031465123E00001W*****110620150437000068DA#RD01DA240000000001+100408425+013756121100620152137231112240330004400")); + + verifyPosition(decoder, text( + "M0029T0000816398975I357325031465123E00001W*****110620150439000068DA#RD01DA240000000001+100407886+013755936100620152138221952123100003400")); + + verifyPosition(decoder, text( + "M0030T0000816398975I357325031465123E00001W*****110620150441000068DA#RD01DA240000000000+100408391+013756125100620152140102362238320034400")); + + } + +} diff --git a/test/org/traccar/protocol/AuruProtocolDecoderTest.java b/test/org/traccar/protocol/AuruProtocolDecoderTest.java deleted file mode 100644 index 9c4dcf1bc..000000000 --- a/test/org/traccar/protocol/AuruProtocolDecoderTest.java +++ /dev/null @@ -1,24 +0,0 @@ -package org.traccar.protocol; - -import org.junit.Test; -import org.traccar.ProtocolTest; - -public class AuruProtocolDecoderTest extends ProtocolTest { - - @Test - public void testDecode() throws Exception { - - AuruProtocolDecoder decoder = new AuruProtocolDecoder(new AuruProtocol()); - - verifyPosition(decoder, text( - "M0028T0000816398975I357325031465123E00001W*****110620150437000068DA#RD01DA240000000001+100408425+013756121100620152137231112240330004400")); - - verifyPosition(decoder, text( - "M0029T0000816398975I357325031465123E00001W*****110620150439000068DA#RD01DA240000000001+100407886+013755936100620152138221952123100003400")); - - verifyPosition(decoder, text( - "M0030T0000816398975I357325031465123E00001W*****110620150441000068DA#RD01DA240000000000+100408391+013756125100620152140102362238320034400")); - - } - -} -- cgit v1.2.3