aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-04-18 02:28:16 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-04-18 02:28:16 +1200
commit3aaaa1de76612e26c6d25f930d94fdf4ee810d7d (patch)
tree30c4fca8cb7e1e4e22d944f3d58df2168ebb4a2d /test/org/traccar
parentca074b8dea7209293baf8513dfcf36e8d504f69b (diff)
downloadtraccar-server-3aaaa1de76612e26c6d25f930d94fdf4ee810d7d.tar.gz
traccar-server-3aaaa1de76612e26c6d25f930d94fdf4ee810d7d.tar.bz2
traccar-server-3aaaa1de76612e26c6d25f930d94fdf4ee810d7d.zip
Fix GT06 encoder unit test
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/BaseTest.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/org/traccar/BaseTest.java b/test/org/traccar/BaseTest.java
index 0d74f50e5..6af8610cd 100644
--- a/test/org/traccar/BaseTest.java
+++ b/test/org/traccar/BaseTest.java
@@ -37,6 +37,30 @@ public class BaseTest {
return true;
}
+ @Override
+ public boolean lookupAttributeBoolean(
+ long deviceId, String attributeName, boolean defaultValue, boolean lookupConfig) {
+ return false;
+ }
+
+ @Override
+ public String lookupAttributeString(
+ long deviceId, String attributeName, String defaultValue, boolean lookupConfig) {
+ return null;
+ }
+
+ @Override
+ public int lookupAttributeInteger(
+ long deviceId, String attributeName, int defaultValue, boolean lookupConfig) {
+ return 0;
+ }
+
+ @Override
+ public long lookupAttributeLong(
+ long deviceId, String attributeName, long defaultValue, boolean lookupConfig) {
+ return 0;
+ }
+
});
}