org.scalactic

Bool

trait Bool extends AnyRef

A trait that represent a rich-featured boolean value, which includes the following members:

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.

Source
Bool.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Bool
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def failureMessageArgs: IndexedSeq[Any]

    Arguments to construct final failure message with raw message returned from rawFailureMessage.

  2. abstract def midSentenceFailureMessageArgs: IndexedSeq[Any]

    Arguments to construct final mid sentence failure message with raw message returned from rawMidSentenceFailureMessage.

  3. abstract def midSentenceNegatedFailureMessageArgs: IndexedSeq[Any]

    Arguments to construct final negated mid sentence failure message with raw message returned from rawMidSentenceNegatedFailureMessage.

  4. abstract def negatedFailureMessageArgs: IndexedSeq[Any]

    Arguments to construct final negated failure message with raw message returned from rawNegatedFailureMessage.

  5. abstract def rawFailureMessage: String

    raw message to report a failure

  6. abstract def rawMidSentenceFailureMessage: String

    raw mid sentence message to report a failure

  7. abstract def rawMidSentenceNegatedFailureMessage: String

    raw mid sentence message with a meaning opposite to that of the failure message

  8. abstract def rawNegatedFailureMessage: String

    raw message with a meaning opposite to that of the failure message

  9. abstract def value: Boolean

    the Boolean value of this Bool

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def &(bool: Bool): Bool

    Logical and this Bool with another Bool

    Logical and this Bool with another Bool

    bool

    another Bool

    returns

    a Bool that represents the result of logical and

  5. def &&(bool: Bool): Bool

    Logical and this Bool with another Bool

    Logical and this Bool with another Bool

    bool

    another Bool

    returns

    a Bool that represents the result of logical and

  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def failureMessage: String

    Construct and return failure message, by applying arguments returned from failureMessageArgs to raw message returned from rawFailureMessage

  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def midSentenceFailureMessage: String

    Construct and return mid sentence failure message, by applying arguments returned from midSentenceFailureMessageArgs to raw message returned from rawMidSentenceFailureMessage

  18. def midSentenceNegatedFailureMessage: String

    Construct and return mid sentence negated failure message, by applying arguments returned from midSentenceNegatedFailureMessageArgs to raw message returned from rawMidSentenceNegatedFailureMessage

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def negatedFailureMessage: String

    Construct and return negated failure message, by applying arguments returned from negatedFailureMessageArgs to raw message returned from rawNegatedFailureMessage

  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. def unary_!: Bool

    Negate this Bool

    Negate this Bool

    returns

    a Bool that represents the result of negating the original Bool

  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. def |(bool: ⇒ Bool): Bool

    Logical or this Bool with another Bool

    Logical or this Bool with another Bool

    bool

    another Bool

    returns

    a Bool that represents the result of logical or

  30. def ||(bool: ⇒ Bool): Bool

    Logical or this Bool with another Bool

    Logical or this Bool with another Bool

    bool

    another Bool

    returns

    a Bool that represents the result of logical or

Inherited from AnyRef

Inherited from Any

Ungrouped