aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-07-15 23:40:56 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-07-15 23:40:56 -0700
commit398a3a71fef1d7610940a8118bcf9b13782c21f3 (patch)
tree74011eacae188aebee67be8e3f111e5bf3864604 /src/test/java/org/traccar
parentf3f73941c17c0b1d351f65ad3f9924cf6f4fe049 (diff)
downloadtrackermap-server-398a3a71fef1d7610940a8118bcf9b13782c21f3.tar.gz
trackermap-server-398a3a71fef1d7610940a8118bcf9b13782c21f3.tar.bz2
trackermap-server-398a3a71fef1d7610940a8118bcf9b13782c21f3.zip
Decode WiFi info
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/SigfoxProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/SigfoxProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SigfoxProtocolDecoderTest.java
index b8ef735ce..7e7fc24bc 100644
--- a/src/test/java/org/traccar/protocol/SigfoxProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SigfoxProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class SigfoxProtocolDecoderTest extends ProtocolTest {
SigfoxProtocolDecoder decoder = new SigfoxProtocolDecoder(null);
+ verifyAttributes(decoder, request(HttpMethod.POST, "/",
+ buffer("{ \"device\": \"40D310\", \"payload\": \"20061494480389f956042a\", \"time\": 1563043532, \"seqNumber\": 1076 }")));
+
verifyPosition(decoder, request(HttpMethod.POST, "/",
buffer("{ \"device\": \"1CEDCE\", \"payload\": \"2002419b4a91c2c6580e0564\", \"time\": 1559924939, \"seqNumber\": 87 }")));