public class MessageEq<T extends PMessage<T>>
extends org.hamcrest.BaseMatcher<T>
| Modifier and Type | Method and Description |
|---|---|
protected static <T> void |
collectListMismatches(String xPath,
List<T> expected,
List<T> actual,
LinkedList<String> mismatches) |
protected static <K,V> void |
collectMapMismatches(String xPath,
Map<K,V> expected,
Map<K,V> actual,
LinkedList<String> mismatches) |
protected static <T extends PMessage<T>> |
collectMismatches(String xPath,
T expected,
T actual,
LinkedList<String> mismatches) |
protected static <T> void |
collectSetMismatches(String xPath,
Set<T> expected,
Set<T> actual,
LinkedList<String> mismatches) |
void |
describeMismatch(Object actual,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected static String |
limitToString(PMessage<?> message) |
boolean |
matches(Object actual) |
protected static String |
toString(Object o) |
public boolean matches(Object actual)
public void describeTo(org.hamcrest.Description description)
public void describeMismatch(Object actual, org.hamcrest.Description mismatchDescription)
protected static <T extends PMessage<T>> void collectMismatches(String xPath, T expected, T actual, LinkedList<String> mismatches)
protected static <K,V> void collectMapMismatches(String xPath, Map<K,V> expected, Map<K,V> actual, LinkedList<String> mismatches)
protected static <T> void collectSetMismatches(String xPath, Set<T> expected, Set<T> actual, LinkedList<String> mismatches)
protected static <T> void collectListMismatches(String xPath, List<T> expected, List<T> actual, LinkedList<String> mismatches)
Copyright © 2016. All rights reserved.