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
|
||||
void doAction(Callback callback) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -31,6 +30,12 @@ public class ActionTest extends Action {
|
|||
return null;
|
||||
}
|
||||
|
||||
@Test
|
||||
public void hasDialogTest() {
|
||||
Assert.assertEquals(false, hasDialog());
|
||||
generateDialog(null); // coverage only
|
||||
}
|
||||
|
||||
@Test
|
||||
public void toJSONTest() {
|
||||
Assert.assertEquals("{\"type\":\"info.nightscout.androidaps.plugins.general.automation.actions.ActionTest\"}", toJSON());
|
||||
|
|
Loading…
Reference in a new issue