aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/YwtProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-03-31 22:35:39 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-03-31 22:35:39 -0700
commit59416923dcb3a756eaf532cc4259f2f6625c0762 (patch)
tree9082dae6616deac8fda432b7bfd80e4a52b6d9dc /test/org/traccar/protocol/YwtProtocolDecoderTest.java
parent79a129dd6327d932133d6b9a50190d3f4927bff9 (diff)
downloadtrackermap-server-59416923dcb3a756eaf532cc4259f2f6625c0762.tar.gz
trackermap-server-59416923dcb3a756eaf532cc4259f2f6625c0762.tar.bz2
trackermap-server-59416923dcb3a756eaf532cc4259f2f6625c0762.zip
Convert project to gradle
Diffstat (limited to 'test/org/traccar/protocol/YwtProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/YwtProtocolDecoderTest.java31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/org/traccar/protocol/YwtProtocolDecoderTest.java b/test/org/traccar/protocol/YwtProtocolDecoderTest.java
deleted file mode 100644
index 332d15fa5..000000000
--- a/test/org/traccar/protocol/YwtProtocolDecoderTest.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package org.traccar.protocol;
-
-import org.junit.Test;
-import org.traccar.ProtocolTest;
-
-public class YwtProtocolDecoderTest extends ProtocolTest {
-
- @Test
- public void testDecode() throws Exception {
-
- YwtProtocolDecoder decoder = new YwtProtocolDecoder(null);
-
- verifyPosition(decoder, text(
- "%RP,1222102985:1,170509033842,E102.146563,N14.582175,,0,320,10,0,00-00-00-00-00-00-00-00-00-00-00-00,,1db2-02b3-52004,3>941.523-32,7>1,19>-16,20>30.9V"));
-
- verifyNull(decoder, text(
- "%SN,0417061042:0,0,140117041203,404"));
-
- verifyPosition(decoder, text(
- "%GP,3000012345:0,090723182813,E114.602345,N22.069725,,30,160,4,0,00,,2794-10FF-46000,3>0-0"));
-
- verifyPosition(decoder, text(
- "%RP,3000012345:0,090807182815,E114.602345,N22.069725,,30,160,4,0,00"),
- position("2009-08-07 18:28:15.000", true, 22.06973, 114.60235));
-
- verifyPosition(decoder, text(
- "%KP,3000012345:0,090807183115,E114.602345,N22.069725,,30,160,5,0,00;"));
-
- }
-
-}