MatcherFactory4

org.scalatest.matchers.dsl.MatcherFactory4
See theMatcherFactory4 companion object
abstract class MatcherFactory4[-SC, TC1[_], TC2[_], TC3[_], TC4[_]]

A matcher factory that can produce a matcher given four 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.).

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
MatcherFactory4[SC, TC1, TC2, TC3, TC4]

Members list

Type members

Classlikes

final class AndBeWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class AndContainWord(prettifier: Prettifier, pos: Position)

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class AndEndWithWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class AndFullyMatchWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class AndHaveWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class AndIncludeWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class AndNotWord(prettifier: Prettifier, pos: Position)

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final class AndStartWithWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class OrBeWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class OrContainWord(prettifier: Prettifier, pos: Position)

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class OrEndWithWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class OrFullyMatchWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class OrHaveWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class OrIncludeWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class OrNotWord(prettifier: Prettifier, pos: Position)

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final class OrStartWithWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Abstract methods

def matcher[T <: SC : TC4]: Matcher[T]

Factory method that 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.).

Factory method that 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.).

Attributes

Concrete methods

infix def and[U <: SC](rightMatcher: Matcher[U]): MatcherFactory4[U, TC1, TC2, TC3, TC4]

Ands this matcher factory with the passed matcher.

Ands this matcher factory with the passed matcher.

Attributes

infix def and[U <: SC](rightMatcherFactory: MatcherFactory1[U, TC4]): MatcherFactory4[U, TC1, TC2, TC3, TC4]

Ands this matcher factory with the passed MatcherFactory1 that has the same final typeclass as this one.

Ands this matcher factory with the passed MatcherFactory1 that has the same final typeclass as this one.

Attributes

infix def and[U <: SC, TC5[_]](rightMatcherFactory: MatcherFactory1[U, TC5]): MatcherFactory5[U, TC1, TC2, TC3, TC4, TC5]

Ands this matcher factory with the passed matcher factory.

Ands this matcher factory with the passed matcher factory.

Attributes

infix def and[U <: SC, TC5[_], TC6[_]](rightMatcherFactory: MatcherFactory2[U, TC5, TC6]): MatcherFactory6[U, TC1, TC2, TC3, TC4, TC5, TC6]

Ands this matcher factory with the passed matcher factory.

Ands this matcher factory with the passed matcher factory.

Attributes

infix def and[U <: SC, TC5[_], TC6[_], TC7[_]](rightMatcherFactory: MatcherFactory3[U, TC5, TC6, TC7]): MatcherFactory7[U, TC1, TC2, TC3, TC4, TC5, TC6, TC7]

Ands this matcher factory with the passed matcher factory.

Ands this matcher factory with the passed matcher factory.

Attributes

infix def and[U <: SC, TC5[_], TC6[_], TC7[_], TC8[_]](rightMatcherFactory: MatcherFactory4[U, TC5, TC6, TC7, TC8]): MatcherFactory8[U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]

Ands this matcher factory with the passed matcher factory.

Ands this matcher factory with the passed matcher factory.

Attributes

infix def and[U <: SC, TC5[_], TC6[_], TC7[_], TC8[_], TC9[_]](rightMatcherFactory: MatcherFactory5[U, 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.

Ands this matcher factory with the passed matcher factory.

Attributes

infix def and(haveWord: HaveWord): AndHaveWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory and have size (3 - 1)
                   ^

Attributes

infix def and(containWord: ContainWord)(implicit prettifier: Prettifier, pos: Position): AndContainWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory and contain key ("one")
               ^

Attributes

infix def and(beWord: BeWord): AndBeWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory and be a ('file)
               ^

Attributes

infix def and(fullyMatchWord: FullyMatchWord): AndFullyMatchWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory and fullyMatch regex (decimalRegex)
               ^

Attributes

infix def and(includeWord: IncludeWord): AndIncludeWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory and include regex ("wor.d")
               ^

Attributes

infix def and(startWithWord: StartWithWord): AndStartWithWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory and startWith regex ("1.7")
               ^

Attributes

infix def and(endWithWord: EndWithWord): AndEndWithWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory and endWith regex (decimalRegex)
               ^

Attributes

infix def and(notWord: NotWord)(implicit prettifier: Prettifier, pos: Position): AndNotWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory and not contain value (3)
               ^

Attributes

infix def and(existWord: ExistWord): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Existence]

This method enables the following syntax:

This method enables the following syntax:

aMatcherFactory and exist
               ^

Attributes

infix def and(notExist: ResultOfNotExist): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Existence]

This method enables the following syntax:

This method enables the following syntax:

aMatcherFactory and not (exist)
               ^

Attributes

infix def or[U <: SC](rightMatcher: Matcher[U]): MatcherFactory4[U, TC1, TC2, TC3, TC4]

Ors this matcher factory with the passed matcher.

Ors this matcher factory with the passed matcher.

Attributes

infix def or[U <: SC](rightMatcherFactory: MatcherFactory1[U, TC4]): MatcherFactory4[U, TC1, TC2, TC3, TC4]

Ors this matcher factory with the passed MatcherFactory1 that has the same final typeclass as this one.

Ors this matcher factory with the passed MatcherFactory1 that has the same final typeclass as this one.

Attributes

infix def or[U <: SC, TC5[_]](rightMatcherFactory: MatcherFactory1[U, TC5]): MatcherFactory5[U, TC1, TC2, TC3, TC4, TC5]

Ors this matcher factory with the passed matcher factory.

Ors this matcher factory with the passed matcher factory.

Attributes

infix def or[U <: SC, TC5[_], TC6[_]](rightMatcherFactory: MatcherFactory2[U, TC5, TC6]): MatcherFactory6[U, TC1, TC2, TC3, TC4, TC5, TC6]

Ors this matcher factory with the passed matcher factory.

Ors this matcher factory with the passed matcher factory.

Attributes

infix def or[U <: SC, TC5[_], TC6[_], TC7[_]](rightMatcherFactory: MatcherFactory3[U, TC5, TC6, TC7]): MatcherFactory7[U, TC1, TC2, TC3, TC4, TC5, TC6, TC7]

Ors this matcher factory with the passed matcher factory.

Ors this matcher factory with the passed matcher factory.

Attributes

infix def or[U <: SC, TC5[_], TC6[_], TC7[_], TC8[_]](rightMatcherFactory: MatcherFactory4[U, TC5, TC6, TC7, TC8]): MatcherFactory8[U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]

Ors this matcher factory with the passed matcher factory.

Ors this matcher factory with the passed matcher factory.

Attributes

infix def or[U <: SC, TC5[_], TC6[_], TC7[_], TC8[_], TC9[_]](rightMatcherFactory: MatcherFactory5[U, 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.

Ors this matcher factory with the passed matcher factory.

Attributes

infix def or(haveWord: HaveWord): OrHaveWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory or have size (3 - 1)
               ^

Attributes

infix def or(containWord: ContainWord)(implicit prettifier: Prettifier, pos: Position): OrContainWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

(aMatcherFactory or contain value (1))
                ^

Attributes

infix def or(beWord: BeWord): OrBeWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory or be a ('directory)
               ^

Attributes

infix def or(fullyMatchWord: FullyMatchWord): OrFullyMatchWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory or fullyMatch regex (decimal)
               ^

Attributes

infix def or(includeWord: IncludeWord): OrIncludeWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory or include regex ("1.7")
               ^

Attributes

infix def or(startWithWord: StartWithWord): OrStartWithWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory or startWith regex ("1.7")
               ^

Attributes

infix def or(endWithWord: EndWithWord): OrEndWithWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory or endWith regex ("7b")
               ^

Attributes

infix def or(notWord: NotWord)(implicit prettifier: Prettifier, pos: Position): OrNotWord

This method enables the following syntax given a MatcherFactory4:

This method enables the following syntax given a MatcherFactory4:

aMatcherFactory or not contain value (3)
               ^

Attributes

infix def or(existWord: ExistWord): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Existence]

This method enables the following syntax:

This method enables the following syntax:

aMatcherFactory or exist
               ^

Attributes

infix def or(notExist: ResultOfNotExist): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Existence]

This method enables the following syntax:

This method enables the following syntax:

aMatcherFactory or not (exist)
               ^

Attributes