Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package scalatest

    ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter.

    ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter.

    Definition Classes
    org
  • package matchers

    Classes and traits for matchers.

    Classes and traits for matchers.

    This package is released as part of the scalatest-matchers-core module.

    Definition Classes
    scalatest
  • package dsl

    Classes and traits supporting ScalaTest's matchers DSL.

    Classes and traits supporting ScalaTest's matchers DSL.

    This package is released as part of the scalatest-matchers-core module.

    Definition Classes
    matchers
  • abstract class MatcherFactory2[-SC, TC1[_], TC2[_]] extends AnyRef

    A matcher factory that can produce a matcher given two typeclass instances.

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

    Definition Classes
    dsl
  • AndBeWord
  • AndContainWord
  • AndEndWithWord
  • AndFullyMatchWord
  • AndHaveWord
  • AndIncludeWord
  • AndNotWord
  • AndStartWithWord
  • OrBeWord
  • OrContainWord
  • OrEndWithWord
  • OrFullyMatchWord
  • OrHaveWord
  • OrIncludeWord
  • OrNotWord
  • OrStartWithWord

final class AndBeWord extends AnyRef

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

Source
MatcherFactory2.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AndBeWord
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AndBeWord()

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 a[U](aMatcher: AMatcher[U]): MatcherFactory2[SC with U, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2, where validNumber is an AMatcher:

    This method enables the following syntax given a MatcherFactory2, where validNumber is an AMatcher:

    aMatcherFactory and be a (validNumber)
                           ^
    

  5. def a[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory2[SC with U, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2, where file is a BePropertyMatcher:

    This method enables the following syntax given a MatcherFactory2, where file is a BePropertyMatcher:

    aMatcherFactory and be a (file)
                           ^
    

  6. def an[U](anMatcher: AnMatcher[U]): MatcherFactory2[SC with U, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2, where integerNumber is an AnMatcher:

    This method enables the following syntax given a MatcherFactory2, where integerNumber is an AnMatcher:

    aMatcherFactory and be an (integerNumber)
                           ^
    

  7. def an[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory2[SC with U, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2, where apple is a BePropertyMatcher:

    This method enables the following syntax given a MatcherFactory2, where apple is a BePropertyMatcher:

    aMatcherFactory and be an (apple)
                           ^
    

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def definedAt[A, U <: PartialFunction[A, _]](right: A): MatcherFactory2[SC with U, TC1, TC2]

    This method enables the following syntax, where fraction refers to a PartialFunction:

    This method enables the following syntax, where fraction refers to a PartialFunction:

    aMatcherFactory and be definedAt (8)
                           ^
    

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def theSameInstanceAs(anyRef: AnyRef): MatcherFactory2[SC, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory and be theSameInstanceAs (string)
                           ^
    

  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped