OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hasItems
(Results
1 - 17
of
17
) sorted by null
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
SeparatedItemStringBuilder.java
11
private boolean
hasItems
= false;
25
if (
hasItems
) {
29
hasItems
= true;
33
public boolean
hasItems
() {
34
return
hasItems
;
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
IsCollectionContainingTest.java
15
import static org.hamcrest.core.IsCollectionContaining.
hasItems
;
65
final Matcher<Iterable<String>> matcher1 =
hasItems
(equalTo("a"), equalTo("b"), equalTo("c"));
68
final Matcher<Iterable<String>> matcher2 =
hasItems
("a", "b", "c");
71
final Matcher<Iterable<String>> matcher3 =
hasItems
(equalTo("a"), equalTo("b"), equalTo("c"));
74
final Matcher<Iterable<String>> matcher4 =
hasItems
(equalTo("a"), equalTo("b"), equalTo("c"));
77
final Matcher<Iterable<String>> matcher5 =
hasItems
(equalTo("a"), equalTo("b"), equalTo("c"));
83
final Matcher<Iterable<Integer>> matcher =
hasItems
(3, 4);
/external/junit/src/main/java/org/junit/matchers/
JUnitMatchers.java
36
* @deprecated Please use {@link CoreMatchers#
hasItems
(Object...)} instead.
39
public static <T> Matcher<Iterable<T>>
hasItems
(T... elements) {
40
return CoreMatchers.
hasItems
(elements);
47
* @deprecated Please use {@link CoreMatchers#
hasItems
(Matcher...)} instead.
50
public static <T> Matcher<Iterable<T>>
hasItems
(Matcher<? super T>... elementMatchers) {
51
return CoreMatchers.<T>
hasItems
(elementMatchers);
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
IsCollectionContaining.java
95
* <pre>assertThat(Arrays.asList("foo", "bar", "baz"),
hasItems
(endsWith("z"), endsWith("o")))</pre>
101
public static <T> Matcher<Iterable<T>>
hasItems
(Matcher<? super T>... itemMatchers) {
118
* <pre>assertThat(Arrays.asList("foo", "bar", "baz"),
hasItems
("baz", "foo"))</pre>
124
public static <T> Matcher<Iterable<T>>
hasItems
(T... items) {
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
CoreMatchers.java
198
* <pre>assertThat(Arrays.asList("foo", "bar", "baz"),
hasItems
(endsWith("z"), endsWith("o")))</pre>
204
public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>>
hasItems
(org.hamcrest.Matcher<? super T>... itemMatchers) {
205
return org.hamcrest.core.IsCollectionContaining.<T>
hasItems
(itemMatchers);
214
* <pre>assertThat(Arrays.asList("foo", "bar", "baz"),
hasItems
("baz", "foo"))</pre>
220
public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>>
hasItems
(T... items) {
221
return org.hamcrest.core.IsCollectionContaining.<T>
hasItems
(items);
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/
ModifierVisitorGenerator.java
66
if (collapseCheck.
hasItems
()) {
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
ClientTest.java
19
import static org.hamcrest.CoreMatchers.
hasItems
;
435
assertThat(testResult.getIntent().getCategories(),
hasItems
(Intent.CATEGORY_BROWSABLE));
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
Matchers.java
284
* <pre>assertThat(Arrays.asList("foo", "bar", "baz"),
hasItems
(endsWith("z"), endsWith("o")))</pre>
289
public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>>
hasItems
(org.hamcrest.Matcher<? super T>... itemMatchers) {
290
return org.hamcrest.core.IsCollectionContaining.<T>
hasItems
(itemMatchers);
299
* <pre>assertThat(Arrays.asList("foo", "bar", "baz"),
hasItems
("baz", "foo"))</pre>
304
public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>>
hasItems
(T... items) {
305
return org.hamcrest.core.IsCollectionContaining.<T>
hasItems
(items);
[
all
...]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/chunks/
ModifierValidator.java
112
if (builder.
hasItems
()) {
/cts/tests/tests/keystore/src/android/keystore/cts/
KeyAttestationTest.java
53
import static org.junit.matchers.JUnitMatchers.
hasItems
;
693
assertThat(teeEnforcedDigests,
hasItems
(KM_DIGEST_NONE, KM_DIGEST_SHA_2_256));
[
all
...]
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
ClientTest.java
24
import static org.hamcrest.CoreMatchers.
hasItems
;
[
all
...]
/external/owasp/sanitizer/lib/junit/
junit-dep.jar
junit.jar
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/
junit-4.8.1.jar
/external/libphonenumber/lib/
junit-4.8.1.jar
/external/guice/extensions/struts2/lib/
jsp-2.1.jar
/external/kotlinc/lib/
kotlin-main-kts.jar
Completed in 2140 milliseconds