Packages

abstract class MatcherFactory1[-SC, TC1[_]] extends AnyRef

A matcher factory that can produce a matcher given one typeclass instance.

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
MatcherFactory1[SC, TC1]
Source
MatcherFactory1.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MatcherFactory1
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MatcherFactory1()

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]): 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): MatcherFactory2[SC, TC1, Existence]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory and not (exist)
                    ^
    

  5. def and(existWord: ExistWord): MatcherFactory2[SC, TC1, 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 MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain value (3)
                    ^
    

  7. def and(endWithWord: EndWithWord): AndEndWithWord

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and endWith regex (decimalRegex)
                    ^
    

  8. def and(startWithWord: StartWithWord): AndStartWithWord

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and startWith regex ("1.7")
                    ^
    

  9. def and(includeWord: IncludeWord): AndIncludeWord

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

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

  10. def and(fullyMatchWord: FullyMatchWord): AndFullyMatchWord

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and fullyMatch regex (decimalRegex)
                    ^
    

  11. def and(beWord: BeWord): AndBeWord

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and be a ('file)
                    ^
    

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

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and contain key ("one")
                    ^
    

  13. def and(haveWord: HaveWord): AndHaveWord

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and have size (3 - 1)
                        ^
    

  14. def and[U <: SC, TC2[_], TC3[_], TC4[_], TC5[_], TC6[_], TC7[_], TC8[_], TC9[_]](rightMatcherFactory: MatcherFactory8[U, TC2, 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, TC2[_], TC3[_], TC4[_], TC5[_], TC6[_], TC7[_], TC8[_]](rightMatcherFactory: MatcherFactory7[U, TC2, 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, TC2[_], TC3[_], TC4[_], TC5[_], TC6[_], TC7[_]](rightMatcherFactory: MatcherFactory6[U, TC2, 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, TC2[_], TC3[_], TC4[_], TC5[_], TC6[_]](rightMatcherFactory: MatcherFactory5[U, TC2, 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, TC2[_], TC3[_], TC4[_], TC5[_]](rightMatcherFactory: MatcherFactory4[U, TC2, TC3, TC4, TC5]): MatcherFactory5[U, TC1, TC2, TC3, TC4, TC5]

    Ands this matcher factory with the passed matcher factory.

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

    Ands this matcher factory with the passed matcher factory.

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

    Ands this matcher factory with the passed matcher factory.

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

    Ands this matcher factory with the passed matcher factory.

  22. def and[U <: SC](rightMatcherFactory: MatcherFactory1[U, TC1]): MatcherFactory1[U, TC1]

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

  23. def and[U <: SC](rightMatcher: Matcher[U]): MatcherFactory1[U, TC1]

    Ands this matcher factory with the passed matcher.

  24. def apply[T <: SC](explicit: TC1[T]): Matcher[T]

    Enables the Explicitly DSL to be used directly on a MatcherFactory1, without invoking the matcher factory method.

    Enables the Explicitly DSL to be used directly on a MatcherFactory1, without invoking the matcher factory method.

    Here's an example of the kind of syntax this apply method can enable:

    result should equal (1) (decided by defaultEquality)
    

  25. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  26. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  29. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def or(notExist: ResultOfNotExist): MatcherFactory2[SC, TC1, Existence]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory or not (exist)
                    ^
    

  37. def or(existWord: ExistWord): MatcherFactory2[SC, TC1, Existence]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory or exist
                    ^
    

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

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or not contain value (3)
                    ^
    

  39. def or(endWithWord: EndWithWord): OrEndWithWord

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or endWith regex ("7b")
                    ^
    

  40. def or(startWithWord: StartWithWord): OrStartWithWord

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or startWith regex ("1.7")
                    ^
    

  41. def or(includeWord: IncludeWord): OrIncludeWord

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or include regex ("1.7")
                    ^
    

  42. def or(fullyMatchWord: FullyMatchWord): OrFullyMatchWord

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or fullyMatch regex (decimal)
                    ^
    

  43. def or(beWord: BeWord): OrBeWord

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or be a ('directory)
                    ^
    

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

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    (aMatcherFactory or contain value (1))
                     ^
    

  45. def or(haveWord: HaveWord): OrHaveWord

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or have size (3 - 1)
                    ^
    

  46. def or[U <: SC, TC2[_], TC3[_], TC4[_], TC5[_], TC6[_], TC7[_], TC8[_], TC9[_]](rightMatcherFactory: MatcherFactory8[U, TC2, 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.

  47. def or[U <: SC, TC2[_], TC3[_], TC4[_], TC5[_], TC6[_], TC7[_], TC8[_]](rightMatcherFactory: MatcherFactory7[U, TC2, 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.

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

    Ors this matcher factory with the passed matcher factory.

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

    Ors this matcher factory with the passed matcher factory.

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

    Ors this matcher factory with the passed matcher factory.

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

    Ors this matcher factory with the passed matcher factory.

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

    Ors this matcher factory with the passed matcher factory.

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

    Ors this matcher factory with the passed matcher factory.

  54. def or[U <: SC](rightMatcherFactory: MatcherFactory1[U, TC1]): MatcherFactory1[U, TC1]

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

  55. def or[U <: SC](rightMatcher: Matcher[U]): MatcherFactory1[U, TC1]

    Ors this matcher factory with the passed matcher.

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

Inherited from AnyRef

Inherited from Any

Ungrouped