- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for hasItems (0.2 sec)
-
maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
is(Matcher); public static Matcher is(Class); public static Matcher isA(Class); public static Matcher anything(); public static Matcher anything(String); public static Matcher hasItem(Object); public static Matcher hasItem(Matcher); public static transient Matcher hasItems(Object[]); public static transient Matcher hasItems(Matcher[]); public static Matcher equalTo(Object); public static Matcher any(Class); public static Matcher instanceOf(Class); public static Matcher not(Matcher); public static...
Archive - Registered: Sun Apr 14 03:35:08 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 44K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar
Whilst matching, each traversal of the examined Iterable will stop as soon as a matching item is found. For example: assertThat(Arrays.asList("foo", "bar", "baz"), hasItems("baz", "foo")) Parameters: items - the items to compare against the items provided by the examined Iterable hasItems public static <T> Matcher<java.lang.Iterable<T>> hasItems(Matcher<? super T>... itemMatchers) Creates a matcher for Iterables that matches when consecutive passes over the examined Iterable yield at least one item that...
Archive - Registered: Sun Apr 14 03:35:08 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 236.8K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar
as soon as a matching item is found. * <p/> * For example: * <pre>assertThat(Arrays.asList("foo", "bar", "baz"), hasItems("baz", "foo"))</pre> * * @param items * the items to compare against the items provided by the examined {@link Iterable} */ public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... items) { return org.hamcrest.core.IsCollectionContaini.<T>hasItems(items); } /** * Creates a matcher for {@link Iterable}s that matches when consecutive passes over the * examined...
Archive - Registered: Sun Apr 14 03:35:08 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 31.9K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar
Matchers.class package org.junit.matchers; public synchronized class JUnitMatchers { public void JUnitMatchers(); public static org.hamcrest.Matcher hasItem(Object); public static org.hamcrest.Matcher hasItem(org.hamcrest.Matcher); public static transient org.hamcrest.Matcher hasItems(Object[]); public static transient org.hamcrest.Matcher hasItems(org.hamcrest.Matcher[]); public static org.hamcrest.Matcher everyItem(org.hamcrest.Matcher); public static org.hamcrest.Matcher containsString(String);...
Archive - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Dec 19 19:08:55 GMT 2023 - 373.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java
assertEquals(parentProject, projects.get(0)); // the order of these two is non-deterministic, based on when they're added to the reactor. assertThat(projects, hasItem(pluginProject)); assertThat(projects, hasItem(pluginLevelDepProject)); // the declaring project MUST be listed after the plugin and its plugin-level dep, though. assertEquals(declaringProject, projects.get(3)); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 12.4K bytes - Viewed (0)