Class/Object

org.scalatest.matchers.dsl

MatcherFactory2

Related Docs: object MatcherFactory2 | package dsl

Permalink

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

Instance Constructors

  1. new MatcherFactory2()

    Permalink

Type Members

  1. final class AndBeWord extends AnyRef

    Permalink

    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.

  2. final class AndContainWord extends AnyRef

    Permalink

    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.

  3. final class AndEndWithWord extends AnyRef

    Permalink

    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.

  4. final class AndFullyMatchWord extends AnyRef

    Permalink

    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.

  5. final class AndHaveWord extends AnyRef

    Permalink

    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.

  6. final class AndIncludeWord extends AnyRef

    Permalink

    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.

  7. final class AndNotWord extends AnyRef

    Permalink

    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.

  8. final class AndStartWithWord extends AnyRef

    Permalink

    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.

  9. final class OrBeWord extends AnyRef

    Permalink

    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.

  10. final class OrContainWord extends AnyRef

    Permalink

    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.

  11. final class OrEndWithWord extends AnyRef

    Permalink

    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.

  12. final class OrFullyMatchWord extends AnyRef

    Permalink

    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.

  13. final class OrHaveWord extends AnyRef

    Permalink

    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.

  14. final class OrIncludeWord extends AnyRef

    Permalink

    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.

  15. final class OrNotWord extends AnyRef

    Permalink

    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.

  16. final class OrStartWithWord extends AnyRef

    Permalink

    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

  1. abstract def matcher[T <: SC](implicit arg0: TC1[T], arg1: TC2[T]): Matcher[T]

    Permalink

    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.).

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def and(notExist: ResultOfNotExist): MatcherFactory3[SC, TC1, TC2, Existence]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory and not (exist)
                    ^
    

  5. def and(existWord: ExistWord): MatcherFactory3[SC, TC1, TC2, Existence]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory and exist
                    ^
    

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

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory and not contain value (3)
                    ^
    

  7. def and(endWithWord: EndWithWord): AndEndWithWord

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory and endWith regex (decimalRegex)
                    ^
    

  8. def and(startWithWord: StartWithWord): AndStartWithWord

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory and startWith regex ("1.7")
                    ^
    

  9. def and(includeWord: IncludeWord): AndIncludeWord

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

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

  10. def and(fullyMatchWord: FullyMatchWord): AndFullyMatchWord

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory and fullyMatch regex (decimalRegex)
                    ^
    

  11. def and(beWord: BeWord): AndBeWord

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory and be a ('file)
                    ^
    

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

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory and contain key ("one")
                    ^
    

  13. def and(haveWord: HaveWord): AndHaveWord

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory and have size (3 - 1)
                        ^
    

  14. 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]

    Permalink

    Ands this matcher factory with the passed matcher factory.

  15. 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]

    Permalink

    Ands this matcher factory with the passed matcher factory.

  16. 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]

    Permalink

    Ands this matcher factory with the passed matcher factory.

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

    Permalink

    Ands this matcher factory with the passed matcher factory.

  18. def and[U <: SC, TC3[_], TC4[_], TC5[_]](rightMatcherFactory: MatcherFactory3[U, TC3, TC4, TC5]): MatcherFactory5[U, TC1, TC2, TC3, TC4, TC5]

    Permalink

    Ands this matcher factory with the passed matcher factory.

  19. def and[U <: SC, TC3[_], TC4[_]](rightMatcherFactory: MatcherFactory2[U, TC3, TC4]): MatcherFactory4[U, TC1, TC2, TC3, TC4]

    Permalink

    Ands this matcher factory with the passed matcher factory.

  20. def and[U <: SC, TC3[_]](rightMatcherFactory: MatcherFactory1[U, TC3]): MatcherFactory3[U, TC1, TC2, TC3]

    Permalink

    Ands this matcher factory with the passed matcher factory.

  21. def and[U <: SC](rightMatcherFactory: MatcherFactory1[U, TC2]): MatcherFactory2[U, TC1, TC2]

    Permalink

    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.

  22. def and[U <: SC](rightMatcher: Matcher[U]): MatcherFactory2[U, TC1, TC2]

    Permalink

    Ands this matcher factory with the passed matcher.

  23. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  24. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. def or(notExist: ResultOfNotExist): MatcherFactory3[SC, TC1, TC2, Existence]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory or not (exist)
                    ^
    

  35. def or(existWord: ExistWord): MatcherFactory3[SC, TC1, TC2, Existence]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory or exist
                    ^
    

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

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not contain value (3)
                    ^
    

  37. def or(endWithWord: EndWithWord): OrEndWithWord

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or endWith regex ("7b")
                    ^
    

  38. def or(startWithWord: StartWithWord): OrStartWithWord

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or startWith regex ("1.7")
                    ^
    

  39. def or(includeWord: IncludeWord): OrIncludeWord

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or include regex ("1.7")
                    ^
    

  40. def or(fullyMatchWord: FullyMatchWord): OrFullyMatchWord

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or fullyMatch regex (decimal)
                    ^
    

  41. def or(beWord: BeWord): OrBeWord

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or be a ('directory)
                    ^
    

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

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    (aMatcherFactory or contain value (1))
                     ^
    

  43. def or(haveWord: HaveWord): OrHaveWord

    Permalink

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or have size (3 - 1)
                    ^
    

  44. 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]

    Permalink

    Ors this matcher factory with the passed matcher factory.

  45. 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]

    Permalink

    Ors this matcher factory with the passed matcher factory.

  46. 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]

    Permalink

    Ors this matcher factory with the passed matcher factory.

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

    Permalink

    Ors this matcher factory with the passed matcher factory.

  48. def or[U <: SC, TC3[_], TC4[_], TC5[_]](rightMatcherFactory: MatcherFactory3[U, TC3, TC4, TC5]): MatcherFactory5[U, TC1, TC2, TC3, TC4, TC5]

    Permalink

    Ors this matcher factory with the passed matcher factory.

  49. def or[U <: SC, TC3[_], TC4[_]](rightMatcherFactory: MatcherFactory2[U, TC3, TC4]): MatcherFactory4[U, TC1, TC2, TC3, TC4]

    Permalink

    Ors this matcher factory with the passed matcher factory.

  50. def or[U <: SC, TC3[_]](rightMatcherFactory: MatcherFactory1[U, TC3]): MatcherFactory3[U, TC1, TC2, TC3]

    Permalink

    Ors this matcher factory with the passed matcher factory.

  51. def or[U <: SC](rightMatcherFactory: MatcherFactory1[U, TC2]): MatcherFactory2[U, TC1, TC2]

    Permalink

    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.

  52. def or[U <: SC](rightMatcher: Matcher[U]): MatcherFactory2[U, TC1, TC2]

    Permalink

    Ors this matcher factory with the passed matcher.

  53. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  54. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  55. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped