Home
last modified time | relevance | path

Searched refs:allOf (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/support/design/tests/src/android/support/design/widget/
DNavigationViewTest.java48 import static org.hamcrest.core.AllOf.allOf;
102 onView(allOf(withText(mMenuStringContent.get(MENU_CONTENT_ITEM_IDS[i])), in testBasics()
118 onView(allOf(withText(mMenuStringContent.get(MENU_CONTENT_ITEM_IDS[i])), in testTextAppearance()
129 onView(allOf(withText(mMenuStringContent.get(MENU_CONTENT_ITEM_IDS[i])), in testTextAppearance()
147 onView(allOf(withText(mMenuStringContent.get(MENU_CONTENT_ITEM_IDS[i])), in testTextColor()
160 onView(allOf(withText(mMenuStringContent.get(MENU_CONTENT_ITEM_IDS[i])), in testTextColor()
183 Matcher menuItemMatcher = allOf( in testBackground()
199 Matcher menuItemMatcher = allOf( in testBackground()
215 Matcher menuItemMatcher = allOf( in testBackground()
288 onView(allOf(withText(mMenuStringContent.get(R.id.destination_home)), in testIconTinting()
[all …]
DBaseDynamicCoordinatorLayoutTest.java32 import static org.hamcrest.Matchers.allOf;
84 return allOf(isAssignableFrom(ViewStub.class), hasParent());
DSnackbarTest.java40 import static org.hamcrest.core.AllOf.allOf;
72 withText(expectedMessage).matches(allOf( in verifySnackbarContent()
78 withText(expectedAction).matches(allOf( in verifySnackbarContent()
DTabLayoutWithViewPagerTest.java47 import static org.hamcrest.Matchers.allOf;
436 onView(allOf(isDescendantOfA(withId(R.id.tabs)), withText("Title " + j))). in testFixedTabMode()
506 Matcher<View> tabMatcher = allOf( in verifyMinMaxTabWidth()
/frameworks/support/v4/tests/java/android/support/v4/view/
DViewPagerWithTabStripTest.java28 import static org.hamcrest.Matchers.allOf;
50 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); in assertStripInteraction()
54 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); in assertStripInteraction()
58 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); in assertStripInteraction()
65 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); in assertStripInteraction()
69 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click()); in assertStripInteraction()
DViewPagerWithTitleStripTest.java28 import static org.hamcrest.Matchers.allOf;
51 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); in assertStripInteraction()
55 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); in assertStripInteraction()
61 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); in assertStripInteraction()
65 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); in assertStripInteraction()
69 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click()); in assertStripInteraction()
DBaseViewPagerTest.java51 import static org.hamcrest.Matchers.allOf;
341 onView(withId(R.id.page_0)).check(matches(allOf( in verifyPageContent()
353 onView(withId(R.id.page_1)).check(matches(allOf( in verifyPageContent()
366 onView(withId(R.id.page_2)).check(matches(allOf( in verifyPageContent()
403 onView(withId(R.id.page_0)).check(matches(allOf( in verifyAdapterChange()
417 onView(withId(R.id.page_1)).check(matches(allOf( in verifyAdapterChange()
431 onView(withId(R.id.page_2)).check(matches(allOf( in verifyAdapterChange()
445 onView(withId(R.id.page_3)).check(matches(allOf( in verifyAdapterChange()
489 allOf(withText(expectedStartTitle), isDisplayed(), startAlignedToParent())))); in verifyTitleStripLayout()
494 allOf(withText(expectedSelectedTitle), isDisplayed(), centerAlignedInParent())))); in verifyTitleStripLayout()
[all …]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DAppCompatTintableViewActions.java34 import static org.hamcrest.core.AllOf.allOf;
45 return allOf(isDisplayingAtLeast(90), TestUtilsMatchers.isTintableBackgroundView()); in setEnabled()
72 return allOf(isDisplayed(), TestUtilsMatchers.isTintableBackgroundView());
100 return allOf(isDisplayed(), TestUtilsMatchers.isTintableBackgroundView());
128 return allOf(TestUtilsMatchers.isTintableBackgroundView());
155 return allOf(TestUtilsMatchers.isTintableBackgroundView());
DTestUtilsActions.java31 import static org.hamcrest.core.AllOf.allOf;
67 return allOf(isDisplayingAtLeast(90), isAssignableFrom(TextView.class));
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DAlertDialogCursorTest.java49 import static org.hamcrest.core.AllOf.allOf;
165 DataInteraction rowInteraction = onData(allOf( in verifySimpleItemsContent()
175 DataInteraction interactionForClick = onData(allOf( in verifySimpleItemsContent()
225 DataInteraction rowInteraction = onData(allOf( in verifyMultiChoiceItemsState()
229 check(matches(allOf( in verifyMultiChoiceItemsState()
258 DataInteraction interactionForClick = onData(allOf( in verifyMultiChoiceItemsContent()
274 interactionForClick = onData(allOf( in verifyMultiChoiceItemsContent()
342 DataInteraction rowInteraction = onData(allOf( in verifySingleChoiceItemsState()
346 check(matches(allOf( in verifySingleChoiceItemsState()
368 DataInteraction interactionForClick = onData(allOf( in verifySingleChoiceItemsContent()
[all …]
DAlertDialogTest.java59 import static org.hamcrest.core.AllOf.allOf;
410 onData(allOf(is(instanceOf(String.class)), is(expectedContent[i]))).inRoot(isDialog()). in verifySimpleItemsContent()
418 onData(allOf(is(instanceOf(String.class)), is(expectedContent[indexToClick]))). in verifySimpleItemsContent()
496 onData(allOf(is(instanceOf(String.class)), is(expectedContent[i]))).inRoot(isDialog()). in verifyMultiChoiceItemsState()
497 check(matches(allOf( in verifyMultiChoiceItemsState()
529 onData(allOf(is(instanceOf(String.class)), is(expectedContent[1]))). in verifyMultiChoiceItemsContent()
536 onData(allOf(is(instanceOf(String.class)), is(expectedContent[1]))). in verifyMultiChoiceItemsContent()
544 onData(allOf(is(instanceOf(String.class)), is(expectedContent[expectedCount - 1]))). in verifyMultiChoiceItemsContent()
623 onData(allOf(is(instanceOf(String.class)), is(expectedContent[i]))).inRoot(isDialog()). in verifySingleChoiceItemsState()
624 check(matches(allOf( in verifySingleChoiceItemsState()
[all …]
DDrawerDynamicLayoutTest.java38 import static org.hamcrest.core.AllOf.allOf;
89 return allOf(isAssignableFrom(ViewStub.class), hasParent());
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DPopupMenuTest.java55 import static org.hamcrest.Matchers.allOf;
435 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
444 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
447 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
452 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
500 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
509 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
512 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DDragHandleUtils.java26 import static org.hamcrest.Matchers.allOf;
55 return onView(allOf(withId(id), isAssignableFrom(Editor.HandleView.class))) in onHandleView()
DContextMenuUtils.java28 import static org.hamcrest.Matchers.allOf;
85 hasDescendant(allOf( in asssertContextMenuContainsItemWithEnabledState()
DFloatingToolbarEspressoUtils.java29 import static org.hamcrest.Matchers.allOf;
91 onView(allOf(withId(id), isDisplayed())) in toggleOverflow()
DDragAction.java22 import static org.hamcrest.Matchers.allOf;
444 return allOf(isCompletelyDisplayed(), isAssignableFrom(mViewClass)); in getConstraints()
/frameworks/support/annotations/src/android/support/annotation/
DRequiresPermission.java93 String[] allOf() default {}; in allOf() method
/frameworks/base/core/java/android/annotation/
DRequiresPermission.java97 String[] allOf() default {}; in allOf() method
/frameworks/support/percent/tests/java/android/support/percent/
DPercentDynamicLayoutTest.java36 import static org.hamcrest.core.AllOf.allOf;
85 return allOf(isAssignableFrom(ViewStub.class), hasParent());
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java126 @RequiresPermission(allOf = {
144 @RequiresPermission(allOf = {
/frameworks/base/core/java/android/os/
DUserManager.java1540 @RequiresPermission( allOf = {
1556 @RequiresPermission( allOf = {
/frameworks/base/docs/html/training/testing/ui-testing/
Despresso-testing.jd383 {@code allOf()} methods to combine multiple matchers, such as
387 onView(allOf(withId(R.id.button_signin), withText("Sign-in")));
392 onView(allOf(withId(R.id.button_signin), not(withText("Sign-out"))));
452 onData(allOf(is(instanceOf(Map.class)),
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java671 @RequiresPermission(allOf = {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java199 return EnumSet.allOf(Capability.class); in getCapabilities()

12