From 3aaaa1de76612e26c6d25f930d94fdf4ee810d7d Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 18 Apr 2017 02:28:16 +1200 Subject: Fix GT06 encoder unit test --- test/org/traccar/BaseTest.java | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'test/org/traccar') 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; + } + }); } -- cgit v1.2.3