aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-05 08:38:46 +0900
committerAnton Tananaev <anton.tananaev@gmail.com>2017-10-05 08:38:46 +0900
commit662cbd6f1b2c0eae0bbc59fe9341c043f5b7872a (patch)
treec0573999b62279cba57cb3c757303db864939b27 /test/org/traccar
parent81e6d5825615fbe0be253e500b2c997f304349e6 (diff)
downloadtraccar-server-662cbd6f1b2c0eae0bbc59fe9341c043f5b7872a.tar.gz
traccar-server-662cbd6f1b2c0eae0bbc59fe9341c043f5b7872a.tar.bz2
traccar-server-662cbd6f1b2c0eae0bbc59fe9341c043f5b7872a.zip
Make some parameters optional
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/CradlepointProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/CradlepointProtocolDecoderTest.java b/test/org/traccar/protocol/CradlepointProtocolDecoderTest.java
index 4f37d3e1e..7eae791d5 100644
--- a/test/org/traccar/protocol/CradlepointProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/CradlepointProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class CradlepointProtocolDecoderTest extends ProtocolTest {
CradlepointProtocolDecoder decoder = new CradlepointProtocolDecoder(new CradlepointProtocol());
verifyPosition(decoder, text(
+ "353547063544681,170515,3613.25,N,11559.14,W,0.0,,,,,,,,"));
+
+ verifyPosition(decoder, text(
+ "353547060558130,170519,4337.17,N,11612.34,W,0.0,294.7,,,,,,,"));
+
+ verifyPosition(decoder, text(
"+12084014675,162658,4337.174385,N,11612.338373,W,0.0,,Verizon,,-71,-44,-11,,"));
}