Object/Trait

org.scalatest.matchers.must

Matchers

Related Docs: trait Matchers | package must

Permalink

object Matchers extends Matchers

Companion object that facilitates the importing of Matchers members as an alternative to mixing it the trait. One use case is to import Matchers members so you can use them in the Scala interpreter.

Linear Supertypes
Matchers, Explicitly, MatcherWords, MustVerb, Tolerance, Assertions, TripleEquals, TripleEqualsSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Matchers
  2. Matchers
  3. Explicitly
  4. MatcherWords
  5. MustVerb
  6. Tolerance
  7. Assertions
  8. TripleEquals
  9. TripleEqualsSupport
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class AWord 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.

    Definition Classes
    Matchers
  2. final class AnWord 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.

    Definition Classes
    Matchers
  3. sealed class AnyMustWrapper[T] 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.

    This class is used in conjunction with an implicit conversion to enable must methods to be invoked on objects of type Any.

    Definition Classes
    Matchers
  4. class CheckingEqualizer[L] extends AnyRef

    Permalink
    Definition Classes
    TripleEqualsSupport
  5. sealed class Collected extends Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    Matchers
  6. class DecidedByEquality[A] extends Equality[A]

    Permalink
    Definition Classes
    Explicitly
  7. class DecidedWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  8. class DeterminedByEquivalence[T] extends Equivalence[T]

    Permalink
    Definition Classes
    Explicitly
  9. class DeterminedWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  10. class Equalizer[L] extends AnyRef

    Permalink
    Definition Classes
    TripleEqualsSupport
  11. final class KeyWord 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.

    Definition Classes
    Matchers
  12. final class PlusOrMinusWrapper[T] extends AnyRef

    Permalink
    Definition Classes
    Tolerance
  13. final class RegexWord 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.

    Definition Classes
    Matchers
  14. final class RegexWrapper 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.

    This class is used in conjunction with an implicit conversion to enable withGroup and withGroups methods to be invoked on Regexs.

    Definition Classes
    Matchers
  15. class ResultOfBeWordForAny[T] 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.

    Definition Classes
    Matchers
  16. sealed class ResultOfBeWordForCollectedAny[T] 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 InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    Matchers
  17. final class ResultOfCollectedAny[T] 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 InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    Matchers
  18. final class ResultOfContainWordForCollectedAny[T] 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 InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    Matchers
  19. final class ResultOfEndWithWordForCollectedString 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 InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    Matchers
  20. final class ResultOfEndWithWordForString 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.

    Definition Classes
    Matchers
  21. final class ResultOfFullyMatchWordForCollectedString 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 InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    Matchers
  22. final class ResultOfFullyMatchWordForString 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.

    Definition Classes
    Matchers
  23. final class ResultOfHaveWordForCollectedExtent[A] 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.

    Definition Classes
    Matchers
  24. final class ResultOfHaveWordForExtent[A] 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.

    Definition Classes
    Matchers
  25. final class ResultOfIncludeWordForCollectedString 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 InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    Matchers
  26. final class ResultOfIncludeWordForString 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.

    Definition Classes
    Matchers
  27. final class ResultOfNotWordForCollectedAny[T] 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 InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    Matchers
  28. final class ResultOfStartWithWordForCollectedString 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 InspectorsMatchers for an overview of the matchers DSL.

    Definition Classes
    Matchers
  29. final class ResultOfStartWithWordForString 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.

    Definition Classes
    Matchers
  30. final class StringMustWrapper extends AnyMustWrapper[String] with StringMustWrapperForVerb

    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.

    This class is used in conjunction with an implicit conversion to enable must methods to be invoked on Strings.

    Definition Classes
    Matchers
  31. trait StringMustWrapperForVerb extends AnyRef

    Permalink
    Definition Classes
    MustVerb
  32. class TheAfterWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  33. final class TheSameInstanceAsPhrase 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.

    Definition Classes
    Matchers
  34. final class ValueWord 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.

    Definition Classes
    Matchers

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. def !==[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  3. def !==(right: Null): TripleEqualsInvocation[Null]

    Permalink
    Definition Classes
    TripleEqualsSupport
  4. def !==[T](right: T): TripleEqualsInvocation[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  5. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  6. def <[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanComparison[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    num must (not be < (10) and not be > (17))
                       ^
    

    Definition Classes
    Matchers
  7. def <=[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanOrEqualToComparison[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    num must (not be <= (10) and not be > (17))
                       ^
    

    Definition Classes
    Matchers
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def ===[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  10. def ===(right: Null): TripleEqualsInvocation[Null]

    Permalink
    Definition Classes
    TripleEqualsSupport
  11. def ===[T](right: T): TripleEqualsInvocation[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  12. def >[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanComparison[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    num must (not be > (10) and not be < (7))
                       ^
    

    Definition Classes
    Matchers
  13. def >=[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanOrEqualToComparison[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    num must (not be >= (10) and not be < (7))
                       ^
    

    Definition Classes
    Matchers
  14. def a[T](implicit arg0: ClassTag[T]): ResultOfATypeInvocation[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    a [RuntimeException] must be thrownBy { ... }
    ^
    

    Definition Classes
    Matchers
  15. val a: AWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    badBook must not be a ('goodRead)
                          ^
    

    Definition Classes
    Matchers
  16. val after: TheAfterWord

    Permalink
    Definition Classes
    Explicitly
  17. def all(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    all(str) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  18. def all[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    all(jmap) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  19. def all[K, V, MAP[k, v] <: GenMap[k, v]](xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]

    Permalink

    This method enables the following syntax for scala.collection.GenMap:

    This method enables the following syntax for scala.collection.GenMap:

    all(map) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  20. def all[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  21. def allElementsOf[R](elements: GenTraversable[R]): ResultOfAllElementsOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (allElementsOf(1, 2))
                                  ^
    

    Definition Classes
    Matchers
  22. def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAllOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (allOf(1, 2))
                                  ^
    

    Definition Classes
    Matchers
  23. def an[T](implicit arg0: ClassTag[T]): ResultOfAnTypeInvocation[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    an [Exception] must be thrownBy { ... }
    ^
    

    Definition Classes
    Matchers
  24. val an: AnWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    badBook must not be an (excellentRead)
                          ^
    

    Definition Classes
    Matchers
  25. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  26. macro def assert(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  27. macro def assert(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  28. macro def assertCompiles(code: String)(implicit pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  29. macro def assertDoesNotCompile(code: String)(implicit pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  30. def assertResult(expected: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  31. def assertResult(expected: Any, clue: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  32. def assertThrows[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  33. macro def assertTypeError(code: String)(implicit pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  34. macro def assume(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  35. macro def assume(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  36. def atLeast(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    atLeast(1, str) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  37. def atLeast[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    atLeast(1, jmap) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  38. def atLeast[K, V, MAP[k, v] <: GenMap[k, v]](num: Int, xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]

    Permalink

    This method enables the following syntax for scala.collection.GenMap:

    This method enables the following syntax for scala.collection.GenMap:

    atLeast(1, map) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  39. def atLeast[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    atLeast(1, xs) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  40. def atLeastOneElementOf(elements: GenTraversable[Any]): ResultOfAtLeastOneElementOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (atLeastOneElementOf (List(1, 2)))
                                  ^
    

    Definition Classes
    Matchers
  41. def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtLeastOneOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (atLeastOneOf(1, 2))
                                  ^
    

    Definition Classes
    Matchers
  42. def atMost(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    atMost(3, str) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  43. def atMost[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    atMost(3, jmap) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  44. def atMost[K, V, MAP[k, v] <: GenMap[k, v]](num: Int, xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]

    Permalink

    This method enables the following syntax for scala.collection.GenMap:

    This method enables the following syntax for scala.collection.GenMap:

    atMost(3, map) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  45. def atMost[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    atMost(3, xs) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  46. def atMostOneElementOf[R](elements: GenTraversable[R]): ResultOfAtMostOneElementOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (atMostOneElementOf (List(1, 2)))
                                  ^
    

    Definition Classes
    Matchers
  47. def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtMostOneOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (atMostOneOf(1, 2))
                                  ^
    

    Definition Classes
    Matchers
  48. val be: BeWord

    Permalink
    Definition Classes
    MatcherWords
  49. def between(from: Int, upTo: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    between(1, 3, str) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  50. def between[K, V, JMAP[k, v] <: Map[k, v]](from: Int, upTo: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    between(1, 3, jmap) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  51. def between[E, C[_]](from: Int, upTo: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    between(1, 3, xs) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  52. def cancel(cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  53. def cancel(message: String, cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  54. def cancel(message: String)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  55. def cancel()(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  56. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. val compile: CompileWord

    Permalink
    Definition Classes
    MatcherWords
  58. val contain: ContainWord

    Permalink
    Definition Classes
    MatcherWords
  59. def convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  60. def convertEquivalenceToBToAConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: <:<[B, A]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  61. implicit def convertNumericToPlusOrMinusWrapper[T](pivot: T)(implicit arg0: Numeric[T]): PlusOrMinusWrapper[T]

    Permalink
    Definition Classes
    Tolerance
  62. implicit def convertToAnyMustWrapper[T](o: T)(implicit pos: Position, prettifier: Prettifier): AnyMustWrapper[T]

    Permalink

    Implicitly converts an object of type T to a AnyMustWrapper[T], to enable must methods to be invokable on that object.

    Implicitly converts an object of type T to a AnyMustWrapper[T], to enable must methods to be invokable on that object.

    Definition Classes
    Matchers
  63. def convertToCheckingEqualizer[T](left: T): CheckingEqualizer[T]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  64. implicit def convertToEqualizer[T](left: T): Equalizer[T]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  65. implicit def convertToRegexWrapper(o: Regex): RegexWrapper

    Permalink

    Implicitly converts an object of type scala.util.matching.Regex to a RegexWrapper, to enable withGroup and withGroups methods to be invokable on that object.

    Implicitly converts an object of type scala.util.matching.Regex to a RegexWrapper, to enable withGroup and withGroups methods to be invokable on that object.

    Definition Classes
    Matchers
  66. implicit def convertToStringMustWrapper(o: String)(implicit pos: Position, prettifier: Prettifier): StringMustWrapper

    Permalink

    Implicitly converts an object of type java.lang.String to a StringMustWrapper, to enable must methods to be invokable on that object.

    Implicitly converts an object of type java.lang.String to a StringMustWrapper, to enable must methods to be invokable on that object.

    Definition Classes
    Matchers
  67. implicit def convertToStringMustWrapperForVerb(o: String)(implicit position: Position): StringMustWrapperForVerb

    Permalink
    Definition Classes
    MustVerb
  68. val decided: DecidedWord

    Permalink
    Definition Classes
    Explicitly
  69. def defaultEquality[A]: Equality[A]

    Permalink
    Definition Classes
    TripleEqualsSupport
  70. val defined: DefinedWord

    Permalink
    Definition Classes
    MatcherWords
  71. def definedAt[T](right: T): ResultOfDefinedAt[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    list must (not be definedAt (7) and not be definedAt (9))
                        ^
    

    Definition Classes
    Matchers
  72. val determined: DeterminedWord

    Permalink
    Definition Classes
    Explicitly
  73. val empty: EmptyWord

    Permalink
    Definition Classes
    MatcherWords
  74. val endWith: EndWithWord

    Permalink
    Definition Classes
    MatcherWords
  75. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  76. def equal(o: Null): Matcher[AnyRef]

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    result must equal (null)
                  ^
    

    Definition Classes
    Matchers
  77. def equal[T](spread: Spread[T]): Matcher[T]

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    result must equal (100 +- 1)
                  ^
    

    Definition Classes
    Matchers
  78. def equal(right: Any): MatcherFactory1[Any, Equality]

    Permalink
    Definition Classes
    MatcherWords
  79. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  80. def every(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    every(str) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  81. def every[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    every(jmap) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  82. def every[K, V, MAP[k, v] <: Map[k, v]](xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]

    Permalink

    This method enables the following syntax for scala.collection.GenMap:

    This method enables the following syntax for scala.collection.GenMap:

    every(map) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  83. def every[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    every(xs) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  84. def exactly(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    exactly(str) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  85. def exactly[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    exactly(jmap) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  86. def exactly[K, V, MAP[k, v] <: GenMap[k, v]](num: Int, xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]

    Permalink

    This method enables the following syntax for scala.collection.GenMap:

    This method enables the following syntax for scala.collection.GenMap:

    exactly(map) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  87. def exactly[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    exactly(xs) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  88. val exist: ExistWord

    Permalink
    Definition Classes
    MatcherWords
  89. def fail(cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  90. def fail(message: String, cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  91. def fail(message: String)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  92. def fail()(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  93. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  94. val fullyMatch: FullyMatchWord

    Permalink
    Definition Classes
    MatcherWords
  95. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  97. val have: HaveWord

    Permalink
    Definition Classes
    MatcherWords
  98. def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (inOrder(1, 2))
                                  ^
    

    Definition Classes
    Matchers
  99. def inOrderElementsOf[R](elements: GenTraversable[R]): ResultOfInOrderElementsOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (inOrderElementsOf List(1, 2))
                                  ^
    

    Definition Classes
    Matchers
  100. def inOrderOnly[T](firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderOnlyApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (inOrderOnly(1, 2))
                                  ^
    

    Definition Classes
    Matchers
  101. val include: IncludeWord

    Permalink
    Definition Classes
    MatcherWords
  102. def intercept[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): T

    Permalink
    Definition Classes
    Assertions
  103. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  104. val key: KeyWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    map must not contain key (10)
                           ^
    

    Definition Classes
    Matchers
  105. val length: LengthWord

    Permalink
    Definition Classes
    MatcherWords
  106. def lowPriorityTypeCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], ev: <:<[A, B]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  107. val matchPattern: MatchPatternWord

    Permalink
    Definition Classes
    MatcherWords
  108. def message(expectedMessage: String): ResultOfMessageWordApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    exception must not have message ("file not found")
                              ^
    

    Definition Classes
    Matchers
  109. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  110. def no(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink

    This method enables the following syntax for String:

    This method enables the following syntax for String:

    no(str) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  111. def no[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink

    This method enables the following syntax for java.util.Map:

    This method enables the following syntax for java.util.Map:

    no(jmap) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  112. def no[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    no(xs) must fullymatch regex ("Hel*o world".r)
    ^
    

    Definition Classes
    Matchers
  113. def noElementsOf(elements: GenTraversable[Any]): ResultOfNoElementsOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (noElementsOf List(1, 2))
                                  ^
    

    Definition Classes
    Matchers
  114. def noException(implicit pos: Position): NoExceptionWord

    Permalink
    Definition Classes
    MatcherWords
  115. def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfNoneOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (noneOf(1, 2))
                                  ^
    

    Definition Classes
    Matchers
  116. val not: NotWord

    Permalink
    Definition Classes
    MatcherWords
  117. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  119. def of[T](implicit ev: ClassTag[T]): ResultOfOfTypeInvocation[T]

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    book must have (message ("A TALE OF TWO CITIES") (of [Book]), title ("A Tale of Two Cities"))
                                                        ^
    

    Definition Classes
    Matchers
  120. def oneElementOf(elements: GenTraversable[Any]): ResultOfOneElementOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (oneElementOf (List(1, 2)))
                                  ^
    

    Definition Classes
    Matchers
  121. def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfOneOfApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (oneOf(1, 2))
                                  ^
    

    Definition Classes
    Matchers
  122. def only(xs: Any*)(implicit pos: Position): ResultOfOnlyApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (only(1, 2))
                                  ^
    

    Definition Classes
    Matchers
  123. def pending: Assertion with PendingStatement

    Permalink
    Definition Classes
    Assertions
  124. def pendingUntilFixed(f: ⇒ Unit)(implicit pos: Position): Assertion with PendingStatement

    Permalink
    Definition Classes
    Assertions
  125. val readable: ReadableWord

    Permalink
    Definition Classes
    MatcherWords
  126. val regex: RegexWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    "eight" must not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""".r)
                                  ^
    

    Definition Classes
    Matchers
  127. val size: SizeWord

    Permalink
    Definition Classes
    MatcherWords
  128. val sorted: SortedWord

    Permalink
    Definition Classes
    MatcherWords
  129. val startWith: StartWithWord

    Permalink
    Definition Classes
    MatcherWords
  130. final val succeed: Assertion

    Permalink
    Definition Classes
    Assertions
  131. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  132. def the[T](implicit arg0: ClassTag[T], pos: Position): ResultOfTheTypeInvocation[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    the [FileNotFoundException] must be thrownBy { ... }
    ^
    

    Definition Classes
    Matchers
  133. def theSameElementsAs(xs: GenTraversable[_]): ResultOfTheSameElementsAsApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (theSameElementsAs(List(1, 2, 3)))
                                  ^
    

    Definition Classes
    Matchers
  134. def theSameElementsInOrderAs(xs: GenTraversable[_]): ResultOfTheSameElementsInOrderAsApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    List(1, 2, 3) must contain (theSameElementsInOrderAs(List(1, 2)))
                                  ^
    

    Definition Classes
    Matchers
  135. val theSameInstanceAs: TheSameInstanceAsPhrase

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    oneString must not be theSameInstanceAs (anotherString)
                            ^
    

    Definition Classes
    Matchers
  136. def thrownBy(fun: ⇒ Any): ResultOfThrownByApplication

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    a [RuntimeException] must be thrownBy {...}
                                   ^
    

    Definition Classes
    Matchers
  137. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  138. val typeCheck: TypeCheckWord

    Permalink
    Definition Classes
    MatcherWords
  139. def typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  140. implicit def unconstrainedEquality[A, B](implicit equalityOfA: Equality[A]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  141. val value: ValueWord

    Permalink

    This field enables the following syntax:

    This field enables the following syntax:

    map must not contain value (10)
                           ^
    

    Definition Classes
    Matchers
  142. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  145. def withClue[T](clue: Any)(fun: ⇒ T): T

    Permalink
    Definition Classes
    Assertions
  146. val writable: WritableWord

    Permalink
    Definition Classes
    MatcherWords

Deprecated Value Members

  1. def conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) ⇒ A): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The conversionCheckedConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.

  2. def convertEquivalenceToAToBConversionConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: (A) ⇒ B): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The convertEquivalenceToAToBConversionConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.

  3. def convertEquivalenceToBToAConversionConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: (B) ⇒ A): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The convertEquivalenceToBToAConversionConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.

  4. def lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) ⇒ B): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The lowPriorityConversionCheckedConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.

Inherited from Matchers

Inherited from Explicitly

Inherited from MatcherWords

Inherited from MustVerb

Inherited from Tolerance

Inherited from Assertions

Inherited from TripleEquals

Inherited from TripleEqualsSupport

Inherited from AnyRef

Inherited from Any

Ungrouped