diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-18 02:28:16 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-18 02:28:16 +1200 |
commit | 3aaaa1de76612e26c6d25f930d94fdf4ee810d7d (patch) | |
tree | 30c4fca8cb7e1e4e22d944f3d58df2168ebb4a2d /test/org/traccar/BaseTest.java | |
parent | ca074b8dea7209293baf8513dfcf36e8d504f69b (diff) | |
download | trackermap-server-3aaaa1de76612e26c6d25f930d94fdf4ee810d7d.tar.gz trackermap-server-3aaaa1de76612e26c6d25f930d94fdf4ee810d7d.tar.bz2 trackermap-server-3aaaa1de76612e26c6d25f930d94fdf4ee810d7d.zip |
Fix GT06 encoder unit test
Diffstat (limited to 'test/org/traccar/BaseTest.java')
-rw-r--r-- | test/org/traccar/BaseTest.java | 24 |
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; + } + }); } |