OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:allOf
(Results
1 - 25
of
245
) sorted by null
1
2
3
4
5
6
7
8
9
10
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
AllOf.java
14
public class
AllOf
<T> extends DiagnosingMatcher<T> {
18
public
AllOf
(Iterable<Matcher<? super T>> matchers) {
42
* <pre>assertThat("myValue",
allOf
(startsWith("my"), containsString("Val")))</pre>
44
public static <T> Matcher<T>
allOf
(Iterable<Matcher<? super T>> matchers) {
45
return new
AllOf
<>(matchers);
51
* <pre>assertThat("myValue",
allOf
(startsWith("my"), containsString("Val")))</pre>
54
public static <T> Matcher<T>
allOf
(Matcher<? super T>... matchers) {
55
return
allOf
((List) Arrays.asList(matchers));
/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/
ViewPagerWithTabStripTest.java
24
import static org.hamcrest.Matchers.
allOf
;
48
onView(
allOf
(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click());
52
onView(
allOf
(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click());
56
onView(
allOf
(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click());
63
onView(
allOf
(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click());
67
onView(
allOf
(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click());
ViewPagerWithTitleStripTest.java
24
import static org.hamcrest.Matchers.
allOf
;
49
onView(
allOf
(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click());
53
onView(
allOf
(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click());
59
onView(
allOf
(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click());
63
onView(
allOf
(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click());
67
onView(
allOf
(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click());
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/swipe/
PageSwiper.java
26
import static org.hamcrest.CoreMatchers.
allOf
;
104
onView(
allOf
(isDisplayed(), withId(R.id.text_view))).perform(swipeAction);
/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/
PreferenceThemeTest.java
41
import static org.hamcrest.Matchers.
allOf
;
68
onView(
allOf
(withId(R.id.icon_frame), withEffectiveVisibility(Visibility.VISIBLE)))
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
FloatingToolbarEspressoUtils.java
31
import static org.hamcrest.Matchers.
allOf
;
63
.inRoot(
allOf
(
105
onView(
allOf
(withId(id), isDisplayed()))
/external/droiddriver/src/io/appium/droiddriver/finders/
By.java
142
* MatchFinder}s in {@link #
allOf
}. For complex cases like below, XPath is superior:
179
* case,
allOf
(second, withAncesor(first)) may work.
200
public static MatchFinder
allOf
(final MatchFinder... finders) {
201
return new MatchFinder(Predicates.
allOf
(getPredicates(finders)));
/external/droiddriver/src/io/appium/droiddriver/scroll/
SentinelStrategy.java
149
super(Predicates.
allOf
(original.predicate, extraPredicate));
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
CoreMatchers.java
9
* <pre>assertThat("myValue",
allOf
(startsWith("my"), containsString("Val")))</pre>
11
public static <T> org.hamcrest.Matcher<T>
allOf
(java.lang.Iterable<org.hamcrest.Matcher<? super T>> matchers) {
12
return org.hamcrest.core.
AllOf
.<T>
allOf
(matchers);
18
* <pre>assertThat("myValue",
allOf
(startsWith("my"), containsString("Val")))</pre>
21
public static <T> org.hamcrest.Matcher<T>
allOf
(org.hamcrest.Matcher<? super T>... matchers) {
22
return org.hamcrest.core.
AllOf
.<T>
allOf
(matchers);
/frameworks/base/test-runner/src/android/test/
RenamingDelegatingContext.java
248
EnumSet.
allOf
(PosixFilePermission.class));
/libcore/ojluni/src/main/java/java/util/
EnumSet.java
129
public static <E extends Enum<E>> EnumSet<E>
allOf
(Class<E> elementType) {
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/
AccessibilityShortcutPreferenceFragmentTest.java
21
import static org.hamcrest.Matchers.
allOf
;
137
onView(
allOf
(withParent(withParent(
allOf
(
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/
AppNotificationSettingsTest.java
35
import static org.hamcrest.Matchers.
allOf
;
93
onView(
allOf
(withId(android.R.id.button1),
103
onView(
allOf
(withText(mGroup1.getName().toString()))).check(
106
onView(
allOf
(withText(mGroup1Channel1.getName().toString())))
114
onView(
allOf
(withText(mGroup1.getName().toString()))).perform(click());
115
intended(
allOf
(hasExtra(EXTRA_SHOW_FRAGMENT,
125
onView(
allOf
(withText(mUngroupedChannel.getName().toString())))
129
onView(
allOf
(withText(mUngroupedChannel.getName().toString()))).perform(click());
130
intended(
allOf
(hasExtra(EXTRA_SHOW_FRAGMENT, ChannelNotificationSettings.class.getName())));
140
onView(
allOf
(withText(mGroup2Channel1.getName().toString()))
[
all
...]
/frameworks/support/car/src/androidTest/java/androidx/car/widget/
PagedListViewSavedStateTest.java
24
import static org.hamcrest.Matchers.
allOf
;
161
onView(
allOf
(withId(R.id.page_down), pagedListView)).perform(click());
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/
SwipeTest.java
30
import static org.hamcrest.CoreMatchers.
allOf
;
126
onView(
allOf
(withId(R.id.text_view), isDisplayed())).check(
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
Matchers.java
8
* <pre>assertThat("myValue",
allOf
(startsWith("my"), containsString("Val")))</pre>
10
public static <T> org.hamcrest.Matcher<T>
allOf
(java.lang.Iterable<org.hamcrest.Matcher<? super T>> matchers) {
11
return org.hamcrest.core.
AllOf
.<T>
allOf
(matchers);
17
* <pre>assertThat("myValue",
allOf
(startsWith("my"), containsString("Val")))</pre>
19
public static <T> org.hamcrest.Matcher<T>
allOf
(org.hamcrest.Matcher<? super T>... matchers) {
20
return org.hamcrest.core.
AllOf
.<T>
allOf
(matchers);
26
* <pre>assertThat("myValue",
allOf
(startsWith("my"), containsString("Val")))</pre>
28
public static <T> org.hamcrest.Matcher<T>
allOf
(org.hamcrest.Matcher<? super T> first, org.hamcrest.Matcher<? super T> second)
[
all
...]
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/drawer/
WearableDrawerLayoutEspressoTest.java
32
import static org.hamcrest.Matchers.
allOf
;
115
allOf
(withId(R.id.navigation_drawer), isOpened(true)),
134
allOf
(withId(R.id.navigation_drawer), isOpened(true)),
151
allOf
(withId(R.id.navigation_drawer), isOpened(true)),
166
allOf
(withId(R.id.navigation_drawer), isOpened(true)),
176
allOf
(withId(R.id.ws_nav_drawer_text), withText("1")),
181
allOf
(withId(R.id.navigation_drawer), isClosed(true)),
220
onView(
allOf
(withId(R.id.ws_navigation_drawer_item_text), isDisplayed()))
269
allOf
(withId(R.id.navigation_drawer), isClosed(true)),
309
waitForMatchingView(
allOf
(withId(R.id.action_drawer), isOpened(true))
[
all
...]
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
WifiSettingsUiTest.java
30
import static org.hamcrest.Matchers.
allOf
;
227
onView(
allOf
(withText(resourceId(STRING, WIFI_SAVED_ACCESS_POINTS_LABEL)),
/prebuilts/devtools/tools/lib/
hamcrest-core-1.3.jar
/prebuilts/misc/common/robolectric/3.1.1/lib/
hamcrest-core-1.3.jar
/prebuilts/misc/common/robolectric/3.4.2/lib/
hamcrest-core-1.3.jar
/prebuilts/misc/common/robolectric/3.5.1/lib/
hamcrest-core-1.3.jar
/prebuilts/misc/common/robolectric/3.6.1/lib/
hamcrest-core-1.3.jar
/prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-core/1.3/
hamcrest-core-1.3.jar
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
AlertDialogTest.java
36
import static org.hamcrest.core.
AllOf
.
allOf
;
446
onData(
allOf
(is(instanceOf(String.class)), is(expectedContent[i]))).inRoot(isDialog()).
454
onData(
allOf
(is(instanceOf(String.class)), is(expectedContent[indexToClick]))).
532
onData(
allOf
(is(instanceOf(String.class)), is(expectedContent[i]))).inRoot(isDialog()).
533
check(matches(
allOf
(
565
onData(
allOf
(is(instanceOf(String.class)), is(expectedContent[1]))).
572
onData(
allOf
(is(instanceOf(String.class)), is(expectedContent[1]))).
580
onData(
allOf
(is(instanceOf(String.class)), is(expectedContent[expectedCount - 1]))).
659
onData(
allOf
(is(instanceOf(String.class)), is(expectedContent[i]))).inRoot(isDialog())
[
all
...]
Completed in 591 milliseconds
1
2
3
4
5
6
7
8
9
10