- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for vs (0.17 sec)
-
maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar
org.hamcrest.core.IsEqual.equalTo; import static org.hamcrest.core.IsInstanceOf.instanceOf; /** * Decorates another Matcher, retaining the behaviour but allowing tests * to be slightly more expressive. * * For example: assertThat(cheese, equalTo(smelly)) * vs. assertThat(cheese, is(equalTo(smelly))) */ public class Is<T> extends BaseMatcher<T> { private final Matcher<T> matcher; public Is(Matcher<T> matcher) { this.matcher = matcher; } @Override public boolean matches(Object arg) { return matcher.matches(arg);...
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/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar
All Implemented Interfaces: Matcher<T>, SelfDescribing public class Is<T> extends BaseMatcher<T> Decorates another Matcher, retaining the behaviour but allowing tests to be slightly more expressive. For example: assertThat(cheese, equalTo(smelly)) vs. assertThat(cheese, is(equalTo(smelly))) Constructor Summary Is(Matcher<T> matcher) Method Summary void describeMismatch(java.lang.Object item, Description mismatchDescription) Generate a description of why the matcher has not accepted the item. void...
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)