object MatchResult extends Serializable
- Alphabetic
- By Inheritance
- MatchResult
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(matches: Boolean, rawFailureMessage: String, rawNegatedFailureMessage: String, failureMessageArgs: IndexedSeq[Any], negatedFailureMessageArgs: IndexedSeq[Any]): MatchResult
Factory method that constructs a new
MatchResult
with passedmatches
,rawFailureMessage
,rawNegativeFailureMessage
,failureMessageArgs
andnegatedFailureMessageArgs
fields.Factory method that constructs a new
MatchResult
with passedmatches
,rawFailureMessage
,rawNegativeFailureMessage
,failureMessageArgs
andnegatedFailureMessageArgs
fields. TherawMidSentenceFailureMessage
will return the same string asrawFailureMessage
, and therawMidSentenceNegatedFailureMessage
will return the same string asrawNegatedFailureMessage
. ThemidSentenceFailureMessageArgs
will return the same asfailureMessageArgs
, and themidSentenceNegatedFailureMessageArgs
will return the same asnegatedFailureMessageArgs
. This is suitable to create MatchResult with lazy error messages that have same mid-sentence and use different arguments for negated messages.- matches
indicates whether or not the matcher matched
- rawFailureMessage
raw failure message to report if a match fails
- rawNegatedFailureMessage
raw message with a meaning opposite to that of the failure message
- failureMessageArgs
arguments for constructing failure message to report if a match fails
- negatedFailureMessageArgs
arguments for constructing message with a meaning opposite to that of the failure message
- returns
a
MatchResult
instance
- def apply(matches: Boolean, rawFailureMessage: String, rawNegatedFailureMessage: String, args: IndexedSeq[Any]): MatchResult
Factory method that constructs a new
MatchResult
with passedmatches
,rawFailureMessage
,rawNegativeFailureMessage
andargs
fields.Factory method that constructs a new
MatchResult
with passedmatches
,rawFailureMessage
,rawNegativeFailureMessage
andargs
fields. TherawMidSentenceFailureMessage
will return the same string asrawFailureMessage
, and therawMidSentenceNegatedFailureMessage
will return the same string asrawNegatedFailureMessage
. All argument fields will useargs
as arguments. This is suitable to create MatchResult with lazy error messages that have same mid-sentence messages and arguments.- matches
indicates whether or not the matcher matched
- rawFailureMessage
raw failure message to report if a match fails
- rawNegatedFailureMessage
raw message with a meaning opposite to that of the failure message
- args
arguments for error messages construction
- returns
a
MatchResult
instance
- def apply(matches: Boolean, rawFailureMessage: String, rawNegatedFailureMessage: String): MatchResult
Factory method that constructs a new
MatchResult
with passedmatches
,rawFailureMessage
, andrawNegativeFailureMessage
fields.Factory method that constructs a new
MatchResult
with passedmatches
,rawFailureMessage
, andrawNegativeFailureMessage
fields. TherawMidSentenceFailureMessage
will return the same string asrawFailureMessage
, and therawMidSentenceNegatedFailureMessage
will return the same string asrawNegatedFailureMessage
. All argument fields will haveVector.empty
values. This is suitable to create MatchResult with eager error messages that have same mid-sentence messages.- matches
indicates whether or not the matcher matched
- rawFailureMessage
raw failure message to report if a match fails
- rawNegatedFailureMessage
raw message with a meaning opposite to that of the failure message
- returns
a
MatchResult
instance
- def apply(matches: Boolean, rawFailureMessage: String, rawNegatedFailureMessage: String, rawMidSentenceFailureMessage: String, rawMidSentenceNegatedFailureMessage: String): MatchResult
Factory method that constructs a new
MatchResult
with passedmatches
,rawFailureMessage
,rawNegativeFailureMessage
,rawMidSentenceFailureMessage
, andrawMidSentenceNegatedFailureMessage
fields.Factory method that constructs a new
MatchResult
with passedmatches
,rawFailureMessage
,rawNegativeFailureMessage
,rawMidSentenceFailureMessage
, andrawMidSentenceNegatedFailureMessage
fields. All argument fields will haveVector.empty
values. This is suitable to create MatchResult with eager error messages, and its mid-sentence messages need to be different.- matches
indicates whether or not the matcher matched
- rawFailureMessage
raw failure message to report if a match fails
- rawNegatedFailureMessage
raw message with a meaning opposite to that of the failure message
- rawMidSentenceFailureMessage
raw failure message to report if a match fails
- rawMidSentenceNegatedFailureMessage
raw message with a meaning opposite to that of the failure message
- returns
a
MatchResult
instance
- def apply(matches: Boolean, rawFailureMessage: String, rawNegatedFailureMessage: String, rawMidSentenceFailureMessage: String, rawMidSentenceNegatedFailureMessage: String, failureMessageArgs: IndexedSeq[Any], negatedFailureMessageArgs: IndexedSeq[Any]): MatchResult
Factory method that constructs a new
MatchResult
with passedmatches
,failureMessage
,negativeFailureMessage
,midSentenceFailureMessage
,midSentenceNegatedFailureMessage
,failureMessageArgs
, andnegatedFailureMessageArgs
fields.Factory method that constructs a new
MatchResult
with passedmatches
,failureMessage
,negativeFailureMessage
,midSentenceFailureMessage
,midSentenceNegatedFailureMessage
,failureMessageArgs
, andnegatedFailureMessageArgs
fields.failureMessageArgs
, andnegatedFailureMessageArgs
will be used in place ofmidSentenceFailureMessageArgs
andmidSentenceNegatedFailureMessageArgs
.- matches
indicates whether or not the matcher matched
- rawFailureMessage
raw failure message to report if a match fails
- rawNegatedFailureMessage
raw message with a meaning opposite to that of the failure message
- rawMidSentenceFailureMessage
raw failure message to report if a match fails
- rawMidSentenceNegatedFailureMessage
raw message with a meaning opposite to that of the failure message
- failureMessageArgs
arguments for constructing failure message to report if a match fails
- negatedFailureMessageArgs
arguments for constructing message with a meaning opposite to that of the failure message
- returns
a
MatchResult
instance
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()