restore removed tests
This commit is contained in:
parent
0ab5981665
commit
7d5f61d677
1 changed files with 3 additions and 11 deletions
|
@ -52,18 +52,10 @@ public class NewNSTreatmentDialogTest {
|
||||||
data.put("duration", 0);
|
data.put("duration", 0);
|
||||||
data.put("percentage", 110);
|
data.put("percentage", 110);
|
||||||
data.put("timeshift", 0);
|
data.put("timeshift", 0);
|
||||||
// dialog.createNSTreatment(data);
|
dialog.createNSTreatment(data);
|
||||||
|
|
||||||
// Profile should be sent to NS
|
// Profile should be sent to NS
|
||||||
// Assert.assertEquals(AAPSMocker.TESTPROFILENAME, profileSwitchUpload.profileName);
|
Assert.assertEquals(AAPSMocker.TESTPROFILENAME, profileSwitchUpload.profileName);
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void doProfileSwitch() {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void doProfileSwitch1() {
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
|
@ -75,7 +67,7 @@ public class NewNSTreatmentDialogTest {
|
||||||
AAPSMocker.mockApplicationContext();
|
AAPSMocker.mockApplicationContext();
|
||||||
AAPSMocker.mockStrings();
|
AAPSMocker.mockStrings();
|
||||||
PowerMockito.mockStatic(NSUpload.class);
|
PowerMockito.mockStatic(NSUpload.class);
|
||||||
// AAPSMocker.mockTreatmentService();
|
AAPSMocker.mockTreatmentService();
|
||||||
AAPSMocker.mockBus();
|
AAPSMocker.mockBus();
|
||||||
AAPSMocker.mockDatabaseHelper();
|
AAPSMocker.mockDatabaseHelper();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue