org.scalatest.matchers

TypeMatcherHelper

object TypeMatcherHelper

TypeMatcherHelper is called by TypeMatcherMacro to support a [Type] and an [Type] syntax.

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

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

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

    Definition Classes
    Any
  6. def aTypeMatcher(aType: ResultOfATypeInvocation[_]): Matcher[Any]

    Create a type matcher for the given ResultOfATypeInvocation.

    Create a type matcher for the given ResultOfATypeInvocation.

    aType

    an instance of ResultOfATypeInvocation

    returns

    a type Matcher

  7. def anTypeMatcher(anType: ResultOfAnTypeInvocation[_]): Matcher[Any]

    Create a type matcher for the given ResultOfAnTypeInvocation.

    Create a type matcher for the given ResultOfAnTypeInvocation.

    anType

    an instance of ResultOfAnTypeInvocation

    returns

    a type Matcher

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def checkAType(left: Any, aType: ResultOfATypeInvocation[_]): Unit

    Check if the given left is an instance of the type as described in the given ResultOfATypeInvocation.

    Check if the given left is an instance of the type as described in the given ResultOfATypeInvocation. A TestFailedException will be thrown if left is not an instance of the type given by ResultOfATypeInvocation.

    left

    the left-hand-side (LHS) to be checked for the type

    aType

    an instance of ResultOfATypeInvocation

  10. def checkATypeShouldBeTrue(left: Any, aType: ResultOfATypeInvocation[_], shouldBeTrue: Boolean): Unit

    Based on shouldBeTrue value, check if the given left is an instance of the type as described in the given ResultOfATypeInvocation.

    Based on shouldBeTrue value, check if the given left is an instance of the type as described in the given ResultOfATypeInvocation. If shouldBeTrue is true, a TestFailedException will be thrown if left is not an instance of the type given by ResultOfATypeInvocation. If shouldBeTrue is false, a TestFailedException will be thrown if left is an instance of the type given by ResultOfATypeInvocation.

    left

    the left-hand-side (LHS) to be checked for the type

    aType

    an instance of ResultOfATypeInvocation

  11. def checkAnType(left: Any, anType: ResultOfAnTypeInvocation[_]): Unit

    Check if the given left is an instance of the type as described in the given ResultOfAnTypeInvocation.

    Check if the given left is an instance of the type as described in the given ResultOfAnTypeInvocation. A TestFailedException will be thrown if left is not an instance of the type given by ResultOfAnTypeInvocation.

    left

    the left-hand-side (LHS) to be checked for the type

    anType

    an instance of ResultOfAnTypeInvocation

  12. def checkAnTypeShouldBeTrue(left: Any, anType: ResultOfAnTypeInvocation[_], shouldBeTrue: Boolean): Unit

    Based on shouldBeTrue value, check if the given left is an instance of the type as described in the given ResultOfAnTypeInvocation.

    Based on shouldBeTrue value, check if the given left is an instance of the type as described in the given ResultOfAnTypeInvocation. If shouldBeTrue is true, a TestFailedException will be thrown if left is not an instance of the type given by ResultOfAnTypeInvocation. If shouldBeTrue is false, a TestFailedException will be thrown if left is an instance of the type given by ResultOfAnTypeInvocation.

    left

    the left-hand-side (LHS) to be checked for the type

    anType

    an instance of ResultOfAnTypeInvocation

  13. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def notATypeMatcher(aType: ResultOfATypeInvocation[_]): Matcher[Any]

    Create a negated type matcher for the given ResultOfATypeInvocation.

    Create a negated type matcher for the given ResultOfATypeInvocation.

    aType

    an instance of ResultOfATypeInvocation

    returns

    a negated type Matcher

  22. def notAnTypeMatcher(anType: ResultOfAnTypeInvocation[_]): Matcher[Any]

    Create a negated type matcher for the given ResultOfAnTypeInvocation.

    Create a negated type matcher for the given ResultOfAnTypeInvocation.

    anType

    an instance of ResultOfAnTypeInvocation

    returns

    a negated type Matcher

  23. final def notify(): Unit

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

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

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped