aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/BaseTest.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-08 11:08:38 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-08 11:08:38 +0500
commit640770638943146f5c2e7dcfb0c05b84fc9b3cff (patch)
treed728cea2cf1c4a1b8d19b12c7bb6aae91e576900 /test/org/traccar/BaseTest.java
parentd36fa0963f8e1045d2f974cd88a0be68aea6f2ef (diff)
downloadtrackermap-server-640770638943146f5c2e7dcfb0c05b84fc9b3cff.tar.gz
trackermap-server-640770638943146f5c2e7dcfb0c05b84fc9b3cff.tar.bz2
trackermap-server-640770638943146f5c2e7dcfb0c05b84fc9b3cff.zip
Implement skipping filtering by list of attributes
Diffstat (limited to 'test/org/traccar/BaseTest.java')
-rw-r--r--test/org/traccar/BaseTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/org/traccar/BaseTest.java b/test/org/traccar/BaseTest.java
index 37956f11d..4b9ee5451 100644
--- a/test/org/traccar/BaseTest.java
+++ b/test/org/traccar/BaseTest.java
@@ -40,25 +40,25 @@ public class BaseTest {
@Override
public boolean lookupAttributeBoolean(
long deviceId, String attributeName, boolean defaultValue, boolean lookupConfig) {
- return false;
+ return defaultValue;
}
@Override
public String lookupAttributeString(
long deviceId, String attributeName, String defaultValue, boolean lookupConfig) {
- return null;
+ return defaultValue;
}
@Override
public int lookupAttributeInteger(
long deviceId, String attributeName, int defaultValue, boolean lookupConfig) {
- return 0;
+ return defaultValue;
}
@Override
public long lookupAttributeLong(
long deviceId, String attributeName, long defaultValue, boolean lookupConfig) {
- return 0;
+ return defaultValue;
}
});