mirror of
https://github.com/beemdevelopment/Aegis
synced 2024-07-22 18:34:24 +00:00
Rename the instrumented tests to be more consistent
This commit is contained in:
parent
aad6d78750
commit
4427498d5e
|
@ -33,7 +33,7 @@ public class DeepLinkTest extends AegisTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void doDeepLinkIntent() {
|
||||
public void testDeepLinkIntent() {
|
||||
VaultEntry entry = generateEntry(TotpInfo.class, "Bob", "Google");
|
||||
GoogleAuthInfo info = new GoogleAuthInfo(entry.getInfo(), entry.getName(), entry.getIssuer());
|
||||
launch(info.getUri());
|
||||
|
@ -45,12 +45,12 @@ public class DeepLinkTest extends AegisTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void doDeepLinkIntent_Empty() {
|
||||
public void testDeepLinkIntent_Empty() {
|
||||
launch(null);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void doDeepLinkIntent_Bad() {
|
||||
public void testDeepLinkIntent_Bad() {
|
||||
launch(Uri.parse("otpauth://bad"));
|
||||
onView(withId(android.R.id.button1)).perform(click());
|
||||
}
|
||||
|
|
|
@ -81,7 +81,7 @@ public class IntroTest extends AegisTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void doIntro_None() {
|
||||
public void testIntro_None() {
|
||||
assertFalse(_prefs.isIntroDone());
|
||||
ViewInteraction next = onView(withId(R.id.btnNext));
|
||||
ViewInteraction prev = onView(withId(R.id.btnPrevious));
|
||||
|
@ -103,7 +103,7 @@ public class IntroTest extends AegisTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void doIntro_Password() {
|
||||
public void testIntro_Password() {
|
||||
assertFalse(_prefs.isIntroDone());
|
||||
ViewInteraction next = onView(withId(R.id.btnNext));
|
||||
ViewInteraction prev = onView(withId(R.id.btnPrevious));
|
||||
|
@ -136,7 +136,7 @@ public class IntroTest extends AegisTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void doIntro_Import_Plain() {
|
||||
public void testIntro_Import_Plain() {
|
||||
assertFalse(_prefs.isIntroDone());
|
||||
Uri uri = getResourceUri("aegis_plain.json");
|
||||
Intent resultData = new Intent();
|
||||
|
@ -156,7 +156,7 @@ public class IntroTest extends AegisTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void doIntro_Import_Encrypted() {
|
||||
public void testIntro_Import_Encrypted() {
|
||||
assertFalse(_prefs.isIntroDone());
|
||||
Uri uri = getResourceUri("aegis_encrypted.json");
|
||||
Intent resultData = new Intent();
|
||||
|
|
|
@ -62,7 +62,7 @@ public class OverallTest extends AegisTest {
|
|||
public final TestRule testRule = RuleChain.outerRule(_activityRule).around(new ScreenshotTestRule());
|
||||
|
||||
@Test
|
||||
public void doOverallTest() {
|
||||
public void testOverall() {
|
||||
ViewInteraction next = onView(withId(R.id.btnNext));
|
||||
next.perform(click());
|
||||
onView(withId(R.id.rb_password)).perform(click());
|
||||
|
|
Loading…
Reference in a new issue