abstract class AssertionM[-A] extends AnyRef
An AssertionM[A]
is capable of producing assertion results on an A
. As a
proposition, assertions compose using logical conjunction and disjunction,
and can be negated.
- Self Type
- AssertionM[A]
- Alphabetic
- By Inheritance
- AssertionM
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AssertionM()
Abstract Value Members
- abstract def render: Render
- abstract def runM: (⇒ A) ⇒ AssertResultM
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
&&[A1 <: A](that: ⇒ AssertionM[A1])(implicit trace: ZTraceElement): AssertionM[A1]
Returns a new assertion that succeeds only if both assertions succeed.
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
??(string: String): AssertionM[A]
A symbolic alias for
label
. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(that: AssertionM[_]): Boolean
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- AssertionM → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AssertionM → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
label(string: String): AssertionM[A]
Labels this assertion with the specified string.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
negate(implicit trace: ZTraceElement): AssertionM[A]
Returns the negation of this assertion.
-
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
Provides a meaningful string rendering of the assertion.
Provides a meaningful string rendering of the assertion.
- Definition Classes
- AssertionM → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
||[A1 <: A](that: ⇒ AssertionM[A1])(implicit trace: ZTraceElement): AssertionM[A1]
Returns a new assertion that succeeds if either assertion succeeds.