aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-09 20:29:04 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-05-09 20:29:22 +1200
commit257fceb3d8d844bdd9edb5f38e90387ab856670a (patch)
treee1232d17f0dc15c56fa57f2ef3446f29436cb4b4
parent144b7b5ee832b01dcc76185fd126fbfee970e1a2 (diff)
downloadtrackermap-server-257fceb3d8d844bdd9edb5f38e90387ab856670a.tar.gz
trackermap-server-257fceb3d8d844bdd9edb5f38e90387ab856670a.tar.bz2
trackermap-server-257fceb3d8d844bdd9edb5f38e90387ab856670a.zip
Add yuwei yw3000-y unit test
-rw-r--r--test/org/traccar/protocol/YwtProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/YwtProtocolDecoderTest.java b/test/org/traccar/protocol/YwtProtocolDecoderTest.java
index 96031d510..bc91efa16 100644
--- a/test/org/traccar/protocol/YwtProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/YwtProtocolDecoderTest.java
@@ -9,6 +9,9 @@ public class YwtProtocolDecoderTest extends ProtocolTest {
public void testDecode() throws Exception {
YwtProtocolDecoder decoder = new YwtProtocolDecoder(new YwtProtocol());
+
+ 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"));