Trait/Object

org.scalactic

Bool

Related Docs: object Bool | package scalactic

Permalink

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
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def failureMessageArgs: IndexedSeq[Any]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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 val prettifier: Prettifier

    Permalink
  6. abstract def rawFailureMessage: String

    Permalink

    raw message to report a failure

  7. abstract def rawMidSentenceFailureMessage: String

    Permalink

    raw mid sentence message to report a failure

  8. abstract def rawMidSentenceNegatedFailureMessage: String

    Permalink

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

  9. abstract def rawNegatedFailureMessage: String

    Permalink

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

  10. abstract def value: Boolean

    Permalink

    the Boolean value of this Bool

    the Boolean value of this Bool

Concrete Value Members

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

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

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

    Permalink

    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

    Permalink

    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

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

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def failureMessage: String

    Permalink

    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

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

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

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

    Permalink
    Definition Classes
    Any
  15. def midSentenceFailureMessage: String

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  18. def negatedFailureMessage: String

    Permalink

    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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

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

    Permalink

    Negate this Bool

    Negate this Bool

    returns

    a Bool that represents the result of negating the original Bool

  24. final def wait(): Unit

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

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

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

    Permalink

    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

    Permalink

    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