A trait that represent a rich-featured boolean value, which includes the following members:
-
a boolean value
-
methods useful for failure messages construction
-
logical expression methods that makes
Bool
composable
Bool
is used by code generated from BooleanMacro
(which AssertionsMacro
and RequirementsMacro
uses), it needs to be public so that the generated code can be compiled. It is expected that ScalaTest users would ever need to use Bool
directly.
Attributes
- Companion
- object
- Source
- Bool.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Arguments to construct final failure message with raw message returned from rawFailureMessage
.
Arguments to construct final failure message with raw message returned from rawFailureMessage
.
Attributes
- Source
- Bool.scala
Arguments to construct final mid sentence failure message with raw message returned from rawMidSentenceFailureMessage
.
Arguments to construct final mid sentence failure message with raw message returned from rawMidSentenceFailureMessage
.
Attributes
- Source
- Bool.scala
Arguments to construct final negated mid sentence failure message with raw message returned from rawMidSentenceNegatedFailureMessage
.
Arguments to construct final negated mid sentence failure message with raw message returned from rawMidSentenceNegatedFailureMessage
.
Attributes
- Source
- Bool.scala
Arguments to construct final negated failure message with raw message returned from rawNegatedFailureMessage
.
Arguments to construct final negated failure message with raw message returned from rawNegatedFailureMessage
.
Attributes
- Source
- Bool.scala
raw message to report a failure
raw mid sentence message to report a failure
raw mid sentence message with a meaning opposite to that of the failure message
raw mid sentence message with a meaning opposite to that of the failure message
Attributes
- Source
- Bool.scala
raw message with a meaning opposite to that of the failure message
the Boolean
value of this Bool
Concrete methods
Logical and
this Bool
with another Bool
Logical and
this Bool
with another Bool
Value parameters
- bool
-
another
Bool
Attributes
- Returns
-
a
Bool
that represents the result of logicaland
- Source
- Bool.scala
Logical and
this Bool
with another Bool
Logical and
this Bool
with another Bool
Value parameters
- bool
-
another
Bool
Attributes
- Returns
-
a
Bool
that represents the result of logicaland
- Source
- Bool.scala
Construct and return failure message, by applying arguments returned from failureMessageArgs
to raw message returned from rawFailureMessage
Construct and return failure message, by applying arguments returned from failureMessageArgs
to raw message returned from rawFailureMessage
Attributes
- Source
- Bool.scala
Construct and return mid sentence failure message, by applying arguments returned from midSentenceFailureMessageArgs
to raw message returned from rawMidSentenceFailureMessage
Construct and return mid sentence failure message, by applying arguments returned from midSentenceFailureMessageArgs
to raw message returned from rawMidSentenceFailureMessage
Attributes
- Source
- Bool.scala
Construct and return mid sentence negated failure message, by applying arguments returned from midSentenceNegatedFailureMessageArgs
to raw message returned from rawMidSentenceNegatedFailureMessage
Construct and return mid sentence negated failure message, by applying arguments returned from midSentenceNegatedFailureMessageArgs
to raw message returned from rawMidSentenceNegatedFailureMessage
Attributes
- Source
- Bool.scala
Construct and return negated failure message, by applying arguments returned from negatedFailureMessageArgs
to raw message returned from rawNegatedFailureMessage
Construct and return negated failure message, by applying arguments returned from negatedFailureMessageArgs
to raw message returned from rawNegatedFailureMessage
Attributes
- Source
- Bool.scala
Negate this Bool
Negate this Bool
Attributes
- Returns
-
a
Bool
that represents the result of negating the originalBool
- Source
- Bool.scala
Logical or
this Bool
with another Bool
Logical or
this Bool
with another Bool
Value parameters
- bool
-
another
Bool
Attributes
- Returns
-
a
Bool
that represents the result of logicalor
- Source
- Bool.scala
Logical or
this Bool
with another Bool
Logical or
this Bool
with another Bool
Value parameters
- bool
-
another
Bool
Attributes
- Returns
-
a
Bool
that represents the result of logicalor
- Source
- Bool.scala
Abstract fields
Attributes
- Source
- Bool.scala
Concrete fields
Attributes
- Source
- Bool.scala