aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-26 11:41:31 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-26 15:24:18 +1300
commitb82431f69fff7ea7c602aa41d8eddc6dc1fc6e68 (patch)
tree364411b11948e4ac00d10739d2f5c3e8befe8970 /test/org/traccar/protocol
parent26fffb39efe9ce55cfaeccb724551e0c0a579697 (diff)
downloadtraccar-server-b82431f69fff7ea7c602aa41d8eddc6dc1fc6e68.tar.gz
traccar-server-b82431f69fff7ea7c602aa41d8eddc6dc1fc6e68.tar.bz2
traccar-server-b82431f69fff7ea7c602aa41d8eddc6dc1fc6e68.zip
Add new Xexun unit test case
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/XexunProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/XexunProtocolDecoderTest.java b/test/org/traccar/protocol/XexunProtocolDecoderTest.java
index 76c516caf..d2d921916 100644
--- a/test/org/traccar/protocol/XexunProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/XexunProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class XexunProtocolDecoderTest extends ProtocolTest {
XexunProtocolDecoder decoder = new XexunProtocolDecoder(new XexunProtocol(), false);
+ verifyNothing(decoder, text(
+ "GPRMC,215853.000,A,5304.9600,N,6.7907,E,1.43,80.67,250216,00,0000.0,A*47,F,,imei:351525018007873,"));
+
verifyPosition(decoder, text(
"GPRMC,121535.000,A,5417.2666,N,04822.1264,E,1.452,30.42,031014,0.0,A*4D\r\n,L,imei:355227042011730,"));