AndMatch
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
apply a Matcher to the expectable contained in that MatchResult. Depending on the exact type of the MatchResult, that logic may vary.
apply a Matcher to the expectable contained in that MatchResult. Depending on the exact type of the MatchResult, that logic may vary.
Note: this method is marked as "private" to give a clue to the user when semi-column inference fails to apply.
For example in that case:
"string" must not beNull 1 must_== 1
There will be a compilation error as if the apply method was used between the first and second line: ("string" must not beNull).apply(1)
For a more detailed explanation, see: http://bit.ly/12STc95
Attributes
the value being matched
Attributes
- Returns
-
the negation of this result
set a different expectable for this matcher
set a different expectable for this matcher
Attributes
Attributes
- Definition Classes
-
MatchResult -> ResultLike
Inherited methods
alias for the apply method, to be used outside specs2
Attributes
- Inherited from:
- MatchResult
apply the matcher
filter the trace of this result (if there is one)
apply the matcher
Attributes
- Inherited from:
- MatchResult
Attributes
- Inherited from:
- MatchResult
Attributes
- Returns
-
the MatchResult with no messages
- Inherited from:
- MatchResult
Attributes
- Inherited from:
- MatchResult
Attributes
- Inherited from:
- MatchResult
set a new failure message on this match result
update the failure message of this match result
Concrete fields
the value being matched
the value being matched