Home
last modified time | relevance | path

Searched refs:hasItems (Results 1 – 9 of 9) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DSeparatedItemStringBuilder.java11 private boolean hasItems = false; field in SeparatedItemStringBuilder
25 if (hasItems) { in append()
29 hasItems = true; in append()
33 public boolean hasItems() { in hasItems() method in SeparatedItemStringBuilder
34 return hasItems; in hasItems()
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DIsCollectionContainingTest.java15 import static org.hamcrest.core.IsCollectionContaining.hasItems;
65 … final Matcher<Iterable<String>> matcher1 = hasItems(equalTo("a"), equalTo("b"), equalTo("c")); in matchesMultipleItemsInCollection()
68 final Matcher<Iterable<String>> matcher2 = hasItems("a", "b", "c"); in matchesMultipleItemsInCollection()
71 … final Matcher<Iterable<String>> matcher3 = hasItems(equalTo("a"), equalTo("b"), equalTo("c")); in matchesMultipleItemsInCollection()
74 … final Matcher<Iterable<String>> matcher4 = hasItems(equalTo("a"), equalTo("b"), equalTo("c")); in matchesMultipleItemsInCollection()
77 … final Matcher<Iterable<String>> matcher5 = hasItems(equalTo("a"), equalTo("b"), equalTo("c")); in matchesMultipleItemsInCollection()
83 final Matcher<Iterable<Integer>> matcher = hasItems(3, 4); in reportsMismatchWithAReadableDescriptionForMultipleItems()
/external/junit/src/main/java/org/junit/matchers/
DJUnitMatchers.java39 public static <T> Matcher<Iterable<T>> hasItems(T... elements) { in hasItems() method in JUnitMatchers
40 return CoreMatchers.hasItems(elements); in hasItems()
50 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? super T>... elementMatchers) { in hasItems() method in JUnitMatchers
51 return CoreMatchers.<T>hasItems(elementMatchers); in hasItems()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIsCollectionContaining.java101 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? super T>... itemMatchers) { in hasItems() method in IsCollectionContaining
124 public static <T> Matcher<Iterable<T>> hasItems(T... items) { in hasItems() method in IsCollectionContaining
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCoreMatchers.java204 …public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcrest.Matcher<? supe… in hasItems() method in CoreMatchers
205 return org.hamcrest.core.IsCollectionContaining.<T>hasItems(itemMatchers); in hasItems()
220 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... items) { in hasItems() method in CoreMatchers
221 return org.hamcrest.core.IsCollectionContaining.<T>hasItems(items); in hasItems()
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/
DModifierVisitorGenerator.java66 if (collapseCheck.hasItems()) { in generateVisitMethodBody()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java289 …public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcrest.Matcher<? supe… in hasItems() method in Matchers
290 return org.hamcrest.core.IsCollectionContaining.<T>hasItems(itemMatchers); in hasItems()
304 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... items) { in hasItems() method in Matchers
305 return org.hamcrest.core.IsCollectionContaining.<T>hasItems(items); in hasItems()
/external/hamcrest/
DCHANGES.txt13 * Improve mismatch description of hasItem/hasItems
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/chunks/
DModifierValidator.java112 if (builder.hasItems()) { in visit()