Packages

c

org.scalatest.words

ExistWord

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

Instance Constructors

  1. new ExistWord()

Value Members

  1. def and(anotherMatcher: Matcher[Any]): MatcherFactory1[Any, Existence]

    This method enables the following syntax:

    This method enables the following syntax:

    file should (exist and be (existFile))
                       ^
    

  2. def and[TYPECLASS1[_]](anotherMatcherFactory: MatcherFactory1[Any, TYPECLASS1]): MatcherFactory2[Any, Existence, TYPECLASS1]

    This method enables the following syntax:

    This method enables the following syntax:

    file should (exist and equal (existFile))
                       ^
    

  3. def or(anotherMatcher: Matcher[Any]): MatcherFactory1[Any, Existence]

    This method enables the following syntax:

    This method enables the following syntax:

    file should (exist or be (existFile))
                       ^
    

  4. def or[TYPECLASS1[_]](anotherMatcherFactory: MatcherFactory1[Any, TYPECLASS1]): MatcherFactory2[Any, Existence, TYPECLASS1]

    This method enables the following syntax:

    This method enables the following syntax:

    file should (exist or equal (existFile))
                       ^