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
- MatcherFactory2.scala
- Alphabetic
- By Inheritance
- OrBeWord
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new OrBeWord()
Value Members
-
def
a[U](aMatcher: AMatcher[U]): MatcherFactory2[SC with U, TC1, TC2]
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory or be a (validNumber) ^
-
def
a[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory2[SC with U, TC1, TC2]
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory or be a (directory) ^
-
def
an[U](anMatcher: AnMatcher[U]): MatcherFactory2[SC with U, TC1, TC2]
This method enables the following syntax given a
MatcherFactory2
, whereintegerNumber
is aAnMatcher
:This method enables the following syntax given a
MatcherFactory2
, whereintegerNumber
is aAnMatcher
:aMatcherFactory or be an (integerNumber) ^
-
def
an[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory2[SC with U, TC1, TC2]
This method enables the following syntax given a
MatcherFactory2
, whereapple
is aBePropertyMatcher
:This method enables the following syntax given a
MatcherFactory2
, whereapple
is aBePropertyMatcher
:aMatcherFactory or be an (apple) ^
-
def
definedAt[A, U <: PartialFunction[A, _]](right: A): MatcherFactory2[SC with U, TC1, TC2]
This method enables the following syntax, where
fraction
refers to aPartialFunction
:This method enables the following syntax, where
fraction
refers to aPartialFunction
:aMatcherFactory or be definedAt (8) ^
-
def
theSameInstanceAs(anyRef: AnyRef): MatcherFactory2[SC, TC1, TC2]
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory or be theSameInstanceAs (otherString) ^