NeutralMatch

case class NeutralMatch[T] extends MatchResult[T]
trait Serializable
trait Product
trait Equals
trait MatchResult[T]
trait ResultLike
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(matcher: Matcher[T]): MatchResult[T]
override def evaluate[S >: T]: MatchResult[S]
Definition Classes
def setExpectable[S >: T](e: Expectable[S]): MatchResult[S]

Inherited methods

alias for the apply method, to be used outside specs2

alias for the apply method, to be used outside specs2

Inherited from:
MatchResult
def be[S >: T <: AnyRef](s: S): MatchResult[S]
Inherited from:
MatchResult
def be(m: Matcher[T]): MatchResult[T]

apply the matcher

apply the matcher

Inherited from:
MatchResult
def filterTrace(f: List[StackTraceElement] => List[StackTraceElement]): MatchResult[T]

filter the trace of this result (if there is one)

filter the trace of this result (if there is one)

Inherited from:
MatchResult
def have(m: Matcher[T]): MatchResult[T]

apply the matcher

apply the matcher

Inherited from:
MatchResult
def isSuccess: Boolean
Inherited from:
MatchResult
def message: String
Inherited from:
MatchResult
Returns:

the MatchResult with no messages

Inherited from:
MatchResult
Inherited from:
MatchResult
Inherited from:
MatchResult
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def setMessage(message: String): MatchResult[T]

set a new failure message on this match result

set a new failure message on this match result

Inherited from:
MatchResult
def toResult: Result
Inherited from:
MatchResult
def updateMessage(f: String => String): MatchResult[T]

update the failure message of this match result

update the failure message of this match result

Inherited from:
MatchResult

Concrete fields