Packages

c

org.scalatest.words

NoExceptionWord

final class NoExceptionWord 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
NoExceptionWord.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NoExceptionWord
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NoExceptionWord(pos: Position)

Value Members

  1. def must(beWord: BeWord): ResultOfBeWordForNoException

    This method enables the following syntax:

    This method enables the following syntax:

    noException must be thrownBy { ... }
                ^
    

  2. def mustBe(thrownBy: ResultOfThrownByApplication): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    noException mustBe thrownBy { ... }
                ^
    

  3. def should(beWord: BeWord): ResultOfBeWordForNoException

    This method enables the following syntax:

    This method enables the following syntax:

    noException should be thrownBy { ... }
                ^
    

  4. def shouldBe(thrownBy: ResultOfThrownByApplication): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    noException shouldBe thrownBy { ... }
                ^
    

  5. def toString(): String

    Overrides toString to return "noException"

    Overrides toString to return "noException"

    Definition Classes
    NoExceptionWord → AnyRef → Any