final class ResultOfAnTypeInvocation[T] extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers
for an overview of
the matchers DSL.
- Alphabetic
- By Inheritance
- ResultOfAnTypeInvocation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val clazz: Class[T]
- val clazzTag: ClassTag[T]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def must(beThrownBy: ResultOfBeThrownBy)(implicit prettifier: Prettifier, pos: Position): Assertion
This method enables the following syntax:
This method enables the following syntax:
an [RuntimeException] must (be thrownBy { ... }) ^
- def must(notWord: NotWord): PleaseUseNoExceptionShouldSyntaxInstead
This method enables the following syntax:
This method enables the following syntax:
an [RuntimeException] must not ^
This method is here to direct people trying to use the above syntax to use
noException
instead. - def must(beWord: BeWord)(implicit prettifier: Prettifier, pos: Position): ResultOfBeWordForAnType[T]
This method enables the following syntax:
This method enables the following syntax:
an [Exception] must be thrownBy { ... } ^
- def mustBe(thrownBy: ResultOfThrownByApplication)(implicit prettifier: Prettifier, pos: Position): Assertion
This method enables the following syntax:
This method enables the following syntax:
an [RuntimeException] mustBe thrownBy { ... } ^
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def should(beThrownBy: ResultOfBeThrownBy)(implicit prettifier: Prettifier, pos: Position): Assertion
This method enables the following syntax:
This method enables the following syntax:
an [RuntimeException] should (be thrownBy { ... }) ^
- def should(notWord: NotWord): PleaseUseNoExceptionShouldSyntaxInstead
This method enables the following syntax:
This method enables the following syntax:
an [RuntimeException] should not ^
This method is here to direct people trying to use the above syntax to use
noException
instead. - def should(beWord: BeWord)(implicit prettifier: Prettifier, pos: Position): ResultOfBeWordForAnType[T]
This method enables the following syntax:
This method enables the following syntax:
an [Exception] should be thrownBy { ... } ^
- def shouldBe(thrownBy: ResultOfThrownByApplication)(implicit prettifier: Prettifier, pos: Position): Assertion
This method enables the following syntax:
This method enables the following syntax:
an [RuntimeException] shouldBe thrownBy { ... } ^
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ResultOfAnTypeInvocation → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()