Skip to content

Instantly share code, notes, and snippets.

Darran Kelinske Emeritus-DarranKelinske

Block or report user

Report or block Emeritus-DarranKelinske

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Emeritus-DarranKelinske
Emeritus-DarranKelinske / gist:3ed580732dc36cebdb7bc9059e4a5efe
Created Jan 26, 2017
idling resource that waits for child count to be greater than 0
View gist:3ed580732dc36cebdb7bc9059e4a5efe
public QuestionOptionIdlingResource(ViewInteraction viewInteraction, long timeout) {
this.timeout = timeout;
startTime = System.currentTimeMillis();
viewInteraction.check(new ViewAssertion() {
@Override
public void check(View view, NoMatchingViewException noViewFoundException) {
questionView = (LinearLayout) view;
}
});
You can’t perform that action at this time.