public class BambooMatchers extends Object
Modifier and Type | Method and Description |
---|---|
static <F,T> org.hamcrest.Matcher<F> |
convertAndMatch(Function<F,T> conversion,
org.hamcrest.Matcher<? super T> subMatcher) |
static <F,T> org.hamcrest.Matcher<F> |
convertAndMatch(Function<F,T> conversion,
org.hamcrest.Matcher<? super T> subMatcher,
String featureDescription,
String featureName) |
static <K,V> org.hamcrest.Matcher<Map<? extends K,? extends V>> |
emptyMap()
Copied from Hamcrest sources, as this method is not present in Hamcrest 1.3 and 1.4 has not been released yet
(also, 1.3 is the version defined in Bamboo parent pom in Atlassian platform).
|
static <K,V> org.hamcrest.Matcher<Map<? extends K,? extends V>> |
mapWithSize(int size)
Copied from Hamcrest sources, as this method is not present in Hamcrest 1.3 and 1.4 has not been released yet
(also, 1.3 is the version defined in Bamboo parent pom in Atlassian platform).
|
static <K,V> org.hamcrest.Matcher<Map<? extends K,? extends V>> |
mapWithSize(org.hamcrest.Matcher<? super Integer> sizeMatcher)
Copied from Hamcrest sources, as this method is not present in Hamcrest 1.3 and 1.4 has not been released yet
(also, 1.3 is the version defined in Bamboo parent pom in Atlassian platform).
|
static <T> org.hamcrest.Matcher<T> |
predicateApplies(Predicate<T> predicate) |
public static <T> org.hamcrest.Matcher<T> predicateApplies(@NotNull Predicate<T> predicate)
public static <F,T> org.hamcrest.Matcher<F> convertAndMatch(@NotNull Function<F,T> conversion, @NotNull org.hamcrest.Matcher<? super T> subMatcher)
public static <F,T> org.hamcrest.Matcher<F> convertAndMatch(@NotNull Function<F,T> conversion, @NotNull org.hamcrest.Matcher<? super T> subMatcher, @NotNull String featureDescription, @NotNull String featureName)
@NotNull public static <K,V> org.hamcrest.Matcher<Map<? extends K,? extends V>> mapWithSize(@NotNull org.hamcrest.Matcher<? super Integer> sizeMatcher)
@NotNull public static <K,V> org.hamcrest.Matcher<Map<? extends K,? extends V>> mapWithSize(int size)
@NotNull public static <K,V> org.hamcrest.Matcher<Map<? extends K,? extends V>> emptyMap()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.