object MatchResult extends Serializable
- Alphabetic
- By Inheritance
- MatchResult
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
MatchResultwith passedmatches,rawFailureMessage,rawNegativeFailureMessage,failureMessageArgsandnegatedFailureMessageArgsfields.Factory method that constructs a new
MatchResultwith passedmatches,rawFailureMessage,rawNegativeFailureMessage,failureMessageArgsandnegatedFailureMessageArgsfields. TherawMidSentenceFailureMessagewill return the same string asrawFailureMessage, and therawMidSentenceNegatedFailureMessagewill return the same string asrawNegatedFailureMessage. ThemidSentenceFailureMessageArgswill return the same asfailureMessageArgs, and themidSentenceNegatedFailureMessageArgswill 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
MatchResultinstance
- def apply(matches: Boolean, rawFailureMessage: String, rawNegatedFailureMessage: String, args: IndexedSeq[Any]): MatchResult
Factory method that constructs a new
MatchResultwith passedmatches,rawFailureMessage,rawNegativeFailureMessageandargsfields.Factory method that constructs a new
MatchResultwith passedmatches,rawFailureMessage,rawNegativeFailureMessageandargsfields. TherawMidSentenceFailureMessagewill return the same string asrawFailureMessage, and therawMidSentenceNegatedFailureMessagewill return the same string asrawNegatedFailureMessage. All argument fields will useargsas 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
MatchResultinstance
- def apply(matches: Boolean, rawFailureMessage: String, rawNegatedFailureMessage: String): MatchResult
Factory method that constructs a new
MatchResultwith passedmatches,rawFailureMessage, andrawNegativeFailureMessagefields.Factory method that constructs a new
MatchResultwith passedmatches,rawFailureMessage, andrawNegativeFailureMessagefields. TherawMidSentenceFailureMessagewill return the same string asrawFailureMessage, and therawMidSentenceNegatedFailureMessagewill return the same string asrawNegatedFailureMessage. All argument fields will haveVector.emptyvalues. 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
MatchResultinstance
- def apply(matches: Boolean, rawFailureMessage: String, rawNegatedFailureMessage: String, rawMidSentenceFailureMessage: String, rawMidSentenceNegatedFailureMessage: String): MatchResult
Factory method that constructs a new
MatchResultwith passedmatches,rawFailureMessage,rawNegativeFailureMessage,rawMidSentenceFailureMessage, andrawMidSentenceNegatedFailureMessagefields.Factory method that constructs a new
MatchResultwith passedmatches,rawFailureMessage,rawNegativeFailureMessage,rawMidSentenceFailureMessage, andrawMidSentenceNegatedFailureMessagefields. All argument fields will haveVector.emptyvalues. 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
MatchResultinstance
- 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
MatchResultwith passedmatches,failureMessage,negativeFailureMessage,midSentenceFailureMessage,midSentenceNegatedFailureMessage,failureMessageArgs, andnegatedFailureMessageArgsfields.Factory method that constructs a new
MatchResultwith passedmatches,failureMessage,negativeFailureMessage,midSentenceFailureMessage,midSentenceNegatedFailureMessage,failureMessageArgs, andnegatedFailureMessageArgsfields.failureMessageArgs, andnegatedFailureMessageArgswill be used in place ofmidSentenceFailureMessageArgsandmidSentenceNegatedFailureMessageArgs.- 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
MatchResultinstance
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[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[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()