aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/ProtocolTest.java12
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);
}