Removed InputOption
This commit is contained in:
parent
543e8d1d69
commit
b90c02a2cc
3 changed files with 0 additions and 31 deletions
|
@ -55,7 +55,6 @@ public class InputLocationMode extends Element {
|
|||
}
|
||||
|
||||
private Mode mode;
|
||||
private InputOption selected;
|
||||
|
||||
public InputLocationMode() {
|
||||
super();
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
package info.nightscout.androidaps.plugins.general.automation.elements;
|
||||
|
||||
public class InputOption {
|
||||
private int stringRes;
|
||||
private String value;
|
||||
|
||||
public InputOption(int stringRes, String value) {
|
||||
this.stringRes = stringRes;
|
||||
if (value == null)
|
||||
this.value = "";
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public int getStringRes() {
|
||||
return stringRes;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
}
|
|
@ -15,14 +15,10 @@ import org.powermock.api.mockito.PowerMockito;
|
|||
import org.powermock.core.classloader.annotations.PrepareForTest;
|
||||
import org.powermock.modules.junit4.PowerMockRunner;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
||||
import info.AAPSMocker;
|
||||
import info.nightscout.androidaps.MainApp;
|
||||
import info.nightscout.androidaps.R;
|
||||
import info.nightscout.androidaps.plugins.configBuilder.ProfileFunctions;
|
||||
import info.nightscout.androidaps.plugins.general.automation.elements.InputOption;
|
||||
import info.nightscout.androidaps.plugins.general.automation.elements.InputLocationMode;
|
||||
import info.nightscout.androidaps.services.LocationService;
|
||||
import info.nightscout.androidaps.utils.DateUtil;
|
||||
|
@ -36,11 +32,6 @@ public class TriggerLocationTest {
|
|||
|
||||
long now = 1514766900000L;
|
||||
|
||||
private static final ArrayList<InputOption> modes = new ArrayList<>(Arrays.asList(
|
||||
new InputOption(1, "inside"),
|
||||
new InputOption(2, "outside")
|
||||
));
|
||||
|
||||
@Before
|
||||
public void mock() {
|
||||
AAPSMocker.mockMainApp();
|
||||
|
|
Loading…
Reference in a new issue