mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 06:39:54 +01:00
Satisfy the linter.
This commit is contained in:
@@ -62,7 +62,7 @@ public class PromoVideoTest extends ScreenshotTest {
|
|||||||
new ActivityScenarioRule<>(SplashScreenActivity.class);
|
new ActivityScenarioRule<>(SplashScreenActivity.class);
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
protected ContactManager contactManager;
|
ContactManager contactManager;
|
||||||
|
|
||||||
private OverlayView overlayView;
|
private OverlayView overlayView;
|
||||||
|
|
||||||
@@ -212,7 +212,7 @@ public class PromoVideoTest extends ScreenshotTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// click on new contact
|
// click on new contact
|
||||||
doItemClick(withId(R.id.recyclerView), 0);
|
doItemClick(withId(R.id.recyclerView));
|
||||||
|
|
||||||
sleep(DELAY_MEDIUM);
|
sleep(DELAY_MEDIUM);
|
||||||
|
|
||||||
@@ -263,15 +263,14 @@ public class PromoVideoTest extends ScreenshotTest {
|
|||||||
.perform(click());
|
.perform(click());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void doItemClick(final Matcher<View> viewMatcher, int pos)
|
private void doItemClick(final Matcher<View> viewMatcher)
|
||||||
throws InterruptedException {
|
throws InterruptedException {
|
||||||
if (isFilming) {
|
if (isFilming) {
|
||||||
onView(viewMatcher).perform(
|
onView(viewMatcher).perform(
|
||||||
actionOnItemAtPosition(pos, visualClick(overlayView)));
|
actionOnItemAtPosition(0, visualClick(overlayView)));
|
||||||
sleep(500);
|
sleep(500);
|
||||||
}
|
}
|
||||||
onView(viewMatcher).perform(
|
onView(viewMatcher).perform(actionOnItemAtPosition(0, click()));
|
||||||
actionOnItemAtPosition(pos, click()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void closeKeyboard(final Matcher<View> viewMatcher)
|
private void closeKeyboard(final Matcher<View> viewMatcher)
|
||||||
|
|||||||
Reference in New Issue
Block a user