final class ResultOfATypeInvocation[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
- ResultOfATypeInvocation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[java.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[java.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:
a [IllegalArgumentException] must (be thrownBy { ... }) ^
- def must(notWord: NotWord): PleaseUseNoExceptionShouldSyntaxInstead
This method enables the following syntax:
This method enables the following syntax:
a [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): ResultOfBeWordForAType[T]
This method enables the following syntax:
This method enables the following syntax:
a [RuntimeException] 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:
a [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:
a [IllegalArgumentException] should (be thrownBy { ... }) ^
- def should(notWord: NotWord): PleaseUseNoExceptionShouldSyntaxInstead
This method enables the following syntax:
This method enables the following syntax:
a [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): ResultOfBeWordForAType[T]
This method enables the following syntax:
This method enables the following syntax:
a [RuntimeException] 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:
a [RuntimeException] shouldBe thrownBy { ... } ^
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ResultOfATypeInvocation → 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()