com.atlassian.bamboo.matcher.collection
Class IsCollectionEqual<T>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<java.lang.Iterable<T>>
com.atlassian.bamboo.matcher.collection.IsCollectionEqual<T>
- All Implemented Interfaces:
- org.hamcrest.Matcher<java.lang.Iterable<T>>, org.hamcrest.SelfDescribing
public class IsCollectionEqual<T>
- extends org.hamcrest.TypeSafeMatcher<java.lang.Iterable<T>>
Constructor Summary |
protected |
IsCollectionEqual(java.lang.Iterable<org.hamcrest.Matcher<? extends T>> elementMatchers)
|
Method Summary |
static
<T> org.hamcrest.Matcher<java.lang.Iterable<T>> |
|
consistsOf(java.lang.Iterable<T> elements)
|
static
<T> org.hamcrest.Matcher<java.lang.Iterable<T>> |
|
consistsOf(T... elements)
|
static
<T> org.hamcrest.Matcher<java.lang.Iterable<T>> |
|
consistsOfElementsThat(java.lang.Iterable<org.hamcrest.Matcher<? extends T>> elementMatchers)
|
static
<T> org.hamcrest.Matcher<java.lang.Iterable<T>> |
|
consistsOfElementsThat(org.hamcrest.Matcher<? extends T>... elementMatchers)
|
void |
describeTo(org.hamcrest.Description description)
|
boolean |
matchesSafely(java.lang.Iterable<T> elements)
|
Methods inherited from class org.hamcrest.TypeSafeMatcher |
matches |
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IsCollectionEqual
protected IsCollectionEqual(java.lang.Iterable<org.hamcrest.Matcher<? extends T>> elementMatchers)
matchesSafely
public boolean matchesSafely(java.lang.Iterable<T> elements)
- Specified by:
matchesSafely
in class org.hamcrest.TypeSafeMatcher<java.lang.Iterable<T>>
describeTo
public void describeTo(org.hamcrest.Description description)
consistsOf
public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> consistsOf(T... elements)
consistsOf
public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> consistsOf(java.lang.Iterable<T> elements)
consistsOfElementsThat
public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> consistsOfElementsThat(org.hamcrest.Matcher<? extends T>... elementMatchers)
consistsOfElementsThat
public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> consistsOfElementsThat(java.lang.Iterable<org.hamcrest.Matcher<? extends T>> elementMatchers)
Copyright © 2011 Atlassian. All Rights Reserved.