diff options
author | Abyss777 <abyss@fox5.ru> | 2017-05-23 09:47:35 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-05-23 09:47:35 +0500 |
commit | a88bd71e0245e8d2b9e9c9fc8c69304682449073 (patch) | |
tree | c72d90fded2d7009780c1ed126c49e26ced5217b /test/org/traccar | |
parent | 219b64963ab0a4251e6b9a648d4b06fc81293bab (diff) | |
download | traccar-server-a88bd71e0245e8d2b9e9c9fc8c69304682449073.tar.gz traccar-server-a88bd71e0245e8d2b9e9c9fc8c69304682449073.tar.bz2 traccar-server-a88bd71e0245e8d2b9e9c9fc8c69304682449073.zip |
Organize satellites and RSSI values
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/ProtocolTest.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/org/traccar/ProtocolTest.java b/test/org/traccar/ProtocolTest.java index 2eb6871f3..ee5811e49 100644 --- a/test/org/traccar/ProtocolTest.java +++ b/test/org/traccar/ProtocolTest.java @@ -196,6 +196,18 @@ public class ProtocolTest extends BaseTest { Assert.assertTrue(attributes.get(Position.KEY_PDOP) instanceof Number); } + if (attributes.containsKey(Position.KEY_SATELLITES)) { + Assert.assertTrue(attributes.get(Position.KEY_SATELLITES) instanceof Number); + } + + if (attributes.containsKey(Position.KEY_SATELLITES_VISIBLE)) { + Assert.assertTrue(attributes.get(Position.KEY_SATELLITES_VISIBLE) instanceof Number); + } + + if (attributes.containsKey(Position.KEY_RSSI)) { + Assert.assertTrue(attributes.get(Position.KEY_RSSI) instanceof Number); + } + if (attributes.containsKey(Position.KEY_ODOMETER)) { Assert.assertTrue(attributes.get(Position.KEY_ODOMETER) instanceof Number); } |