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.

    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.

    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.

    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.

    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

    the Boolean value of this Bool

Concrete Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. 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

  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. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  10. def failureMessage: String

    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

  11. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  15. def midSentenceFailureMessage: String

    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

  16. def midSentenceNegatedFailureMessage: String

    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

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

    Definition Classes
    AnyRef
  18. def negatedFailureMessage: String

    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

  19. final def notify(): Unit

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

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

    Definition Classes
    AnyRef
  22. def toString(): String

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

    Negate this Bool

    Negate this Bool

    returns

    a Bool that represents the result of negating the original Bool

  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. 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

  28. 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