aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-03 10:49:52 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-03 10:49:52 +1200
commitd42d4af2d386efae1829dbc4940be1f595031325 (patch)
treef71ee8e0eaca9e75bd464fbd730bb0399504618b /test/org/traccar/protocol
parentdb0ba9badfca80b51acd50a83b8ee7abd5d31522 (diff)
downloadtraccar-server-d42d4af2d386efae1829dbc4940be1f595031325.tar.gz
traccar-server-d42d4af2d386efae1829dbc4940be1f595031325.tar.bz2
traccar-server-d42d4af2d386efae1829dbc4940be1f595031325.zip
Add another Fix protocol test case
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/FoxProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/FoxProtocolDecoderTest.java b/test/org/traccar/protocol/FoxProtocolDecoderTest.java
index 304db1891..c163f31b7 100644
--- a/test/org/traccar/protocol/FoxProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/FoxProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class FoxProtocolDecoderTest extends ProtocolTest {
FoxProtocolDecoder decoder = new FoxProtocolDecoder(new FoxProtocol());
verifyPosition(decoder, text(
+ "<fox><gps id=\"10\" data=\"51,A,010416,085317,4444.4158,N,02025.4466,E,1,182,,1110111111110111 141 0 0 0 0 0 10010000 10142,018C81851800009B\"/></fox>"));
+
+ verifyPosition(decoder, text(
"<fox><gps id=\"90\" data=\"1092,V,010101,000004,0000.0000,N,00000.0000,E,0,0,,1111111111111111 123 0 0 0 0 0 00000000 47664,47664\"/></fox>"));
verifyPosition(decoder, text(