abstract class MatcherFactory2[-SC, TC1[_], TC2[_]] extends AnyRef
A matcher factory that can produce a matcher given two typeclass instances.
In the type parameters for this class, "SC
" means superclass; "TC
"
(in TC1
, TC2
, etc.) means typeclass.
This class's matcher
factory method will produce a Matcher[T]
, where T
is a subtype of (or the same type
as) SC
, given a typeclass instance for each TCn
implicit parameter (for example, a TC1[T]
, TC2[T]
, etc.).
- Self Type
- MatcherFactory2[SC, TC1, TC2]
- Source
- MatcherFactory2.scala
- Alphabetic
- By Inheritance
- MatcherFactory2
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MatcherFactory2()
Type Members
- final class AndBeWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class AndContainWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class AndEndWithWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class AndFullyMatchWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class AndHaveWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class AndIncludeWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class AndNotWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class AndStartWithWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class OrBeWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class OrContainWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class OrEndWithWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class OrFullyMatchWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class OrHaveWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class OrIncludeWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class OrNotWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL. - final class OrStartWithWord extends AnyRef
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL.
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def and(notExist: ResultOfNotExist): MatcherFactory3[SC, TC1, TC2, Existence]
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory and not (exist) ^
- def and(existWord: ExistWord): MatcherFactory3[SC, TC1, TC2, Existence]
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory and exist ^
- def and(notWord: NotWord)(implicit prettifier: Prettifier, pos: Position): AndNotWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory and not contain value (3) ^
- def and(endWithWord: EndWithWord): AndEndWithWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory and endWith regex (decimalRegex) ^
- def and(startWithWord: StartWithWord): AndStartWithWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory and startWith regex ("1.7") ^
- def and(includeWord: IncludeWord): AndIncludeWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory and include regex ("wor.d") ^
- def and(fullyMatchWord: FullyMatchWord): AndFullyMatchWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory and fullyMatch regex (decimalRegex) ^
- def and(beWord: BeWord): AndBeWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory and be a ('file) ^
- def and(containWord: ContainWord)(implicit prettifier: Prettifier, pos: Position): AndContainWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory and contain key ("one") ^
- def and(haveWord: HaveWord): AndHaveWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory and have size (3 - 1) ^
- def and[U <: SC, TC3[_], TC4[_], TC5[_], TC6[_], TC7[_], TC8[_], TC9[_]](rightMatcherFactory: MatcherFactory7[U, TC3, TC4, TC5, TC6, TC7, TC8, TC9]): MatcherFactory9[U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, TC9]
Ands this matcher factory with the passed matcher factory.
- def and[U <: SC, TC3[_], TC4[_], TC5[_], TC6[_], TC7[_], TC8[_]](rightMatcherFactory: MatcherFactory6[U, TC3, TC4, TC5, TC6, TC7, TC8]): MatcherFactory8[U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
Ands this matcher factory with the passed matcher factory.
- def and[U <: SC, TC3[_], TC4[_], TC5[_], TC6[_], TC7[_]](rightMatcherFactory: MatcherFactory5[U, TC3, TC4, TC5, TC6, TC7]): MatcherFactory7[U, TC1, TC2, TC3, TC4, TC5, TC6, TC7]
Ands this matcher factory with the passed matcher factory.
- def and[U <: SC, TC3[_], TC4[_], TC5[_], TC6[_]](rightMatcherFactory: MatcherFactory4[U, TC3, TC4, TC5, TC6]): MatcherFactory6[U, TC1, TC2, TC3, TC4, TC5, TC6]
Ands this matcher factory with the passed matcher factory.
- def and[U <: SC, TC3[_], TC4[_], TC5[_]](rightMatcherFactory: MatcherFactory3[U, TC3, TC4, TC5]): MatcherFactory5[U, TC1, TC2, TC3, TC4, TC5]
Ands this matcher factory with the passed matcher factory.
- def and[U <: SC, TC3[_], TC4[_]](rightMatcherFactory: MatcherFactory2[U, TC3, TC4]): MatcherFactory4[U, TC1, TC2, TC3, TC4]
Ands this matcher factory with the passed matcher factory.
- def and[U <: SC, TC3[_]](rightMatcherFactory: MatcherFactory1[U, TC3]): MatcherFactory3[U, TC1, TC2, TC3]
Ands this matcher factory with the passed matcher factory.
- def and[U <: SC](rightMatcherFactory: MatcherFactory1[U, TC2]): MatcherFactory2[U, TC1, TC2]
Ands this matcher factory with the passed
MatcherFactory1
that has the same final typeclass as this one. - def and[U <: SC](rightMatcher: Matcher[U]): MatcherFactory2[U, TC1, TC2]
Ands this matcher factory with the passed matcher.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def or(notExist: ResultOfNotExist): MatcherFactory3[SC, TC1, TC2, Existence]
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory or not (exist) ^
- def or(existWord: ExistWord): MatcherFactory3[SC, TC1, TC2, Existence]
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory or exist ^
- def or(notWord: NotWord)(implicit prettifier: Prettifier, pos: Position): OrNotWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory or not contain value (3) ^
- def or(endWithWord: EndWithWord): OrEndWithWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory or endWith regex ("7b") ^
- def or(startWithWord: StartWithWord): OrStartWithWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory or startWith regex ("1.7") ^
- def or(includeWord: IncludeWord): OrIncludeWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory or include regex ("1.7") ^
- def or(fullyMatchWord: FullyMatchWord): OrFullyMatchWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory or fullyMatch regex (decimal) ^
- def or(beWord: BeWord): OrBeWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory or be a ('directory) ^
- def or(containWord: ContainWord)(implicit prettifier: Prettifier, pos: Position): OrContainWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:(aMatcherFactory or contain value (1)) ^
- def or(haveWord: HaveWord): OrHaveWord
This method enables the following syntax given a
MatcherFactory2
:This method enables the following syntax given a
MatcherFactory2
:aMatcherFactory or have size (3 - 1) ^
- def or[U <: SC, TC3[_], TC4[_], TC5[_], TC6[_], TC7[_], TC8[_], TC9[_]](rightMatcherFactory: MatcherFactory7[U, TC3, TC4, TC5, TC6, TC7, TC8, TC9]): MatcherFactory9[U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, TC9]
Ors this matcher factory with the passed matcher factory.
- def or[U <: SC, TC3[_], TC4[_], TC5[_], TC6[_], TC7[_], TC8[_]](rightMatcherFactory: MatcherFactory6[U, TC3, TC4, TC5, TC6, TC7, TC8]): MatcherFactory8[U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
Ors this matcher factory with the passed matcher factory.
- def or[U <: SC, TC3[_], TC4[_], TC5[_], TC6[_], TC7[_]](rightMatcherFactory: MatcherFactory5[U, TC3, TC4, TC5, TC6, TC7]): MatcherFactory7[U, TC1, TC2, TC3, TC4, TC5, TC6, TC7]
Ors this matcher factory with the passed matcher factory.
- def or[U <: SC, TC3[_], TC4[_], TC5[_], TC6[_]](rightMatcherFactory: MatcherFactory4[U, TC3, TC4, TC5, TC6]): MatcherFactory6[U, TC1, TC2, TC3, TC4, TC5, TC6]
Ors this matcher factory with the passed matcher factory.
- def or[U <: SC, TC3[_], TC4[_], TC5[_]](rightMatcherFactory: MatcherFactory3[U, TC3, TC4, TC5]): MatcherFactory5[U, TC1, TC2, TC3, TC4, TC5]
Ors this matcher factory with the passed matcher factory.
- def or[U <: SC, TC3[_], TC4[_]](rightMatcherFactory: MatcherFactory2[U, TC3, TC4]): MatcherFactory4[U, TC1, TC2, TC3, TC4]
Ors this matcher factory with the passed matcher factory.
- def or[U <: SC, TC3[_]](rightMatcherFactory: MatcherFactory1[U, TC3]): MatcherFactory3[U, TC1, TC2, TC3]
Ors this matcher factory with the passed matcher factory.
- def or[U <: SC](rightMatcherFactory: MatcherFactory1[U, TC2]): MatcherFactory2[U, TC1, TC2]
Ors this matcher factory with the passed
MatcherFactory1
that has the same final typeclass as this one. - def or[U <: SC](rightMatcher: Matcher[U]): MatcherFactory2[U, TC1, TC2]
Ors this matcher factory with the passed matcher.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()