Packages

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

Instance Constructors

  1. new MatcherFactory2()

Type Members

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  1. abstract def matcher[T <: SC](implicit arg0: TC1[T], arg1: TC2[T]): 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.).

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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)
                    ^
    

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

    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

    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

    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

    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

    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

    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

    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

    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

    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]

    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]

    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]

    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]

    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]

    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]

    Ands this matcher factory with the passed matcher factory.

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

    Ands this matcher factory with the passed matcher factory.

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

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

    Ands this matcher factory with the passed matcher.

  23. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  24. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. 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)
                    ^
    

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

    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

    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

    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

    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

    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

    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

    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

    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

    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]

    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]

    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]

    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]

    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]

    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]

    Ors this matcher factory with the passed matcher factory.

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

    Ors this matcher factory with the passed matcher factory.

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

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

    Ors this matcher factory with the passed matcher.

  53. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  54. def toString(): String
    Definition Classes
    AnyRef → Any
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped