Packages

c

org.scalatest.matchers.dsl

ResultOfTheTypeInvocation

final class ResultOfTheTypeInvocation[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.

Source
ResultOfTheTypeInvocation.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResultOfTheTypeInvocation
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ResultOfTheTypeInvocation(c: Class[_], pos: Position)
  2. new ResultOfTheTypeInvocation(clazzTag: ClassTag[T], pos: Position)

Value Members

  1. val clazz: Class[T]
  2. def thrownBy(fun: => Any): T

    This method enables the following syntax:

    This method enables the following syntax:

    val e = the [FileNotFoundException] thrownBy { ... }
                                        ^
    

  3. def toString(): String
    Definition Classes
    ResultOfTheTypeInvocation → AnyRef → Any