diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-08 21:56:44 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-08 21:56:44 +1200 |
commit | 2721bf4adc12eeacf19c00af30e266ae65e6a4a9 (patch) | |
tree | d728cea2cf1c4a1b8d19b12c7bb6aae91e576900 /test/org/traccar/BaseTest.java | |
parent | d36fa0963f8e1045d2f974cd88a0be68aea6f2ef (diff) | |
parent | 640770638943146f5c2e7dcfb0c05b84fc9b3cff (diff) | |
download | trackermap-server-2721bf4adc12eeacf19c00af30e266ae65e6a4a9.tar.gz trackermap-server-2721bf4adc12eeacf19c00af30e266ae65e6a4a9.tar.bz2 trackermap-server-2721bf4adc12eeacf19c00af30e266ae65e6a4a9.zip |
Merge pull request #3514 from Abyss777/skip_filter
Implement skipping filtering by list of attributes
Diffstat (limited to 'test/org/traccar/BaseTest.java')
-rw-r--r-- | test/org/traccar/BaseTest.java | 8 |
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; } }); |