ActionTest
This commit is contained in:
parent
bad6edfb8b
commit
6a365b3483
1 changed files with 6 additions and 1 deletions
|
@ -23,7 +23,6 @@ public class ActionTest extends Action {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
void doAction(Callback callback) {
|
void doAction(Callback callback) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -31,6 +30,12 @@ public class ActionTest extends Action {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void hasDialogTest() {
|
||||||
|
Assert.assertEquals(false, hasDialog());
|
||||||
|
generateDialog(null); // coverage only
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void toJSONTest() {
|
public void toJSONTest() {
|
||||||
Assert.assertEquals("{\"type\":\"info.nightscout.androidaps.plugins.general.automation.actions.ActionTest\"}", toJSON());
|
Assert.assertEquals("{\"type\":\"info.nightscout.androidaps.plugins.general.automation.actions.ActionTest\"}", toJSON());
|
||||||
|
|
Loading…
Reference in a new issue