org.eclipse.xtext.junit4.parameterized
Class ExpectationCollection
java.lang.Object
org.eclipse.xtext.junit4.parameterized.StringCollection<ExpectationCollection.ExpectationItem>
org.eclipse.xtext.junit4.parameterized.ExpectationCollection
- All Implemented Interfaces:
- java.lang.Iterable<ExpectationCollection.ExpectationItem>
public class ExpectationCollection
- extends StringCollection<ExpectationCollection.ExpectationItem>
- Author:
- Moritz Eysholdt - Initial contribution and API
Field Summary |
protected static java.lang.String |
WILDCARD
|
Methods inherited from class org.eclipse.xtext.junit4.parameterized.StringCollection |
createCollection, escape, escapeUnquoted, getQuote, getSeparator, isCaseSensitive, isOrdered, isQuoted, isWhitespaceSensitive, iterator, normalize, setCaseSensitive, setOrdered, setQuote, setQuoted, setSeparator, setWhitespaceSensitive |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WILDCARD
protected static final java.lang.String WILDCARD
- See Also:
- Constant Field Values
ExpectationCollection
public ExpectationCollection()
isPure
public boolean isPure()
matches
public boolean matches(ActualCollection actual)
map
public java.util.List<Pair<java.util.Collection<ExpectationCollection.ExpectationItem>,ActualCollection.ActualItem>> map(ActualCollection actual)
mapUnordered
protected java.util.List<Pair<java.util.Collection<ExpectationCollection.ExpectationItem>,ActualCollection.ActualItem>> mapUnordered(ActualCollection actual)
mapOrdered
protected java.util.List<Pair<java.util.Collection<ExpectationCollection.ExpectationItem>,ActualCollection.ActualItem>> mapOrdered(ActualCollection actual)
matchesOrdered
protected boolean matchesOrdered(ActualCollection actual)
matchesUnordered
protected boolean matchesUnordered(ActualCollection actual)
init
public void init(java.lang.String expectation)
createItem
protected ExpectationCollection.ExpectationItem createItem(java.lang.String item,
boolean negated,
boolean quoted,
boolean escaped)