Packages

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

Instance Constructors

  1. new OrBeWord()

Value Members

  1. def a[U](aMatcher: AMatcher[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or be a (validNumber)
                          ^
    

  2. def a[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or be a (directory)
                          ^
    

  3. def an[U](anMatcher: AnMatcher[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1, where integerNumber is a AnMatcher:

    This method enables the following syntax given a MatcherFactory1, where integerNumber is a AnMatcher:

    aMatcherFactory or be an (integerNumber)
                          ^
    

  4. def an[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1, where apple is a BePropertyMatcher:

    This method enables the following syntax given a MatcherFactory1, where apple is a BePropertyMatcher:

    aMatcherFactory or be an (apple)
                          ^
    

  5. def definedAt[A, U <: PartialFunction[A, _]](right: A): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax, where fraction refers to a PartialFunction:

    This method enables the following syntax, where fraction refers to a PartialFunction:

    aMatcherFactory or be definedAt (8)
                          ^
    

  6. def theSameInstanceAs(anyRef: AnyRef): MatcherFactory1[SC, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or be theSameInstanceAs (otherString)
                          ^