Class

org.scalatest.MustMatchers

ResultOfCollectedAny

Related Doc: package MustMatchers

Permalink

final class ResultOfCollectedAny[T] extends AnyRef

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

Source
MustMatchers.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ResultOfCollectedAny
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResultOfCollectedAny(collected: Collected, xs: GenTraversable[T], original: Any)

    Permalink

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. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  12. def must(fullyMatchWord: FullyMatchWord)(implicit ev: <:<[T, String]): ResultOfFullyMatchWordForCollectedString

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(string) must fullyMatch regex ("""(-)?(\d+)(\.\d*)?""")
                ^
    

  13. def must(includeWord: IncludeWord)(implicit ev: <:<[T, String]): ResultOfIncludeWordForCollectedString

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(string) must include regex ("wo.ld")
                ^
    

  14. def must(endWithWord: EndWithWord)(implicit ev: <:<[T, String]): ResultOfEndWithWordForCollectedString

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(string) must endWith regex ("wo.ld")
                ^
    

  15. def must(startWithWord: StartWithWord)(implicit ev: <:<[T, String]): ResultOfStartWithWordForCollectedString

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(string) must startWith regex ("Hel*o")
                ^
    

  16. def must(notExist: ResultOfNotExist)(implicit existence: Existence[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) must not (exist)
            ^
    

  17. def must(existWord: ExistWord)(implicit existence: Existence[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) must exist
            ^
    

  18. def must(containWord: ContainWord): ResultOfContainWordForCollectedAny[T]

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) must contain oneOf (1, 2, 3)
             ^
    

  19. def must(inv: TripleEqualsInvocationOnSpread[T])(implicit ev: Numeric[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) must === (100 +- 1)
             ^
    

  20. def must[U](inv: TripleEqualsInvocation[U])(implicit constraint: CanEqual[T, U]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) must === (b)
             ^
    

  21. def must(haveWord: HaveWord): ResultOfHaveWordForCollectedExtent[T]

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (results) must have length (3)
           ^
    all (results) must have size (3)
           ^
    

  22. def must(notWord: NotWord): ResultOfNotWordForCollectedAny[T]

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) must not equal (3)
            ^
    

  23. def must(beWord: BeWord): ResultOfBeWordForCollectedAny[T]

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) must be theSameInstanceAs anotherObject
            ^
    

  24. def must[TYPECLASS1[_], TYPECLASS2[_]](rightMatcherFactory2: MatcherFactory2[T, TYPECLASS1, TYPECLASS2])(implicit typeClass1: TYPECLASS1[T], typeClass2: TYPECLASS2[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) must (equal (expected) and have length 12)
            ^
    

  25. def must[TYPECLASS1[_]](rightMatcherFactory1: MatcherFactory1[T, TYPECLASS1])(implicit typeClass1: TYPECLASS1[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) must equal (3)
            ^
    

  26. def must(rightMatcher: Matcher[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) must be (3)
            ^
    

  27. def mustBe[U <: T](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[U])(implicit ev: <:<[T, AnyRef]): Assertion

    Permalink

    This method enables the following syntax, where excellentRead refers to a BePropertyMatcher[Book]:

    This method enables the following syntax, where excellentRead refers to a BePropertyMatcher[Book]:

    all(xs) mustBe an (excellentRead)
            ^
    

  28. def mustBe[U <: T](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U])(implicit ev: <:<[T, AnyRef]): Assertion

    Permalink

    This method enables the following syntax, where goodRead refers to a BePropertyMatcher[Book]:

    This method enables the following syntax, where goodRead refers to a BePropertyMatcher[Book]:

    all(xs) mustBe a (goodRead)
            ^
    

  29. def mustBe[U <: T](bePropertyMatcher: BePropertyMatcher[U])(implicit ev: <:<[T, AnyRef]): Assertion

    Permalink

    This method enables the following syntax, where excellentRead refers to a BePropertyMatcher[Book]:

    This method enables the following syntax, where excellentRead refers to a BePropertyMatcher[Book]:

    all(xs) mustBe excellentRead
            ^
    

  30. def mustBe(o: Null)(implicit ev: <:<[T, AnyRef]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) mustBe null
            ^
    

  31. def mustBe(resultOfAnWordApplication: ResultOfAnWordToSymbolApplication)(implicit toAnyRef: <:<[T, AnyRef]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) mustBe an ('empty)
            ^
    

  32. def mustBe(resultOfAWordApplication: ResultOfAWordToSymbolApplication)(implicit toAnyRef: <:<[T, AnyRef]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) mustBe a ('empty)
            ^
    

  33. def mustBe(symbol: Symbol)(implicit toAnyRef: <:<[T, AnyRef]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) mustBe 'empty
            ^
    

  34. def mustBe(resultOfSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication)(implicit toAnyRef: <:<[T, AnyRef]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) mustBe theSameInstanceAs (anotherObject)
            ^
    

  35. def mustBe(spread: Spread[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) mustBe 7.1 +- 0.2
            ^
    

  36. def mustBe(beMatcher: BeMatcher[T]): Assertion

    Permalink

    This method enables the following syntax, where odd refers to a BeMatcher[Int]:

    This method enables the following syntax, where odd refers to a BeMatcher[Int]:

    testing
    all(xs) mustBe odd
            ^
    

  37. def mustBe(comparison: ResultOfGreaterThanOrEqualToComparison[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(8, 9, 10) mustBe >= (7)
                  ^
    

  38. def mustBe(comparison: ResultOfGreaterThanComparison[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(8, 9, 10) mustBe > (7)
                  ^
    

  39. def mustBe(comparison: ResultOfLessThanOrEqualToComparison[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(4, 5, 6) mustBe <= (7)
                 ^
    

  40. def mustBe(comparison: ResultOfLessThanComparison[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(4, 5, 6) mustBe < (7)
                 ^
    

  41. def mustBe(right: Any): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) mustBe 7
             ^
    

  42. def mustBe(anType: ResultOfAnTypeInvocation[_]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) mustBe an [Type]
            ^
    

  43. def mustBe(aType: ResultOfATypeInvocation[_]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) mustBe a [Type]
            ^
    

  44. def mustBe(definedWord: DefinedWord)(implicit definition: Definition[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) mustBe defined
            ^
    

  45. def mustBe(emptyWord: EmptyWord)(implicit emptiness: Emptiness[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) mustBe empty
            ^
    

  46. def mustBe(writableWord: WritableWord)(implicit writability: Writability[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) mustBe writable
            ^
    

  47. def mustBe(readableWord: ReadableWord)(implicit readability: Readability[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) mustBe readable
            ^
    

  48. def mustBe(sortedWord: SortedWord)(implicit sortable: Sortable[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) mustBe sorted
            ^
    

  49. def mustEqual(right: Null)(implicit ev: <:<[T, AnyRef]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    result mustEqual null
           ^
    

  50. def mustEqual(spread: Spread[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    result mustEqual 7.1 +- 0.2
           ^doCollected
    

  51. def mustEqual(right: Any)(implicit equality: Equality[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) mustEqual 7
             ^
    

  52. def mustNot(includeWord: IncludeWord)(implicit ev: <:<[T, String]): ResultOfIncludeWordForCollectedString

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(string) mustNot include regex ("wo.ld")
                ^
    

  53. def mustNot(endWithWord: EndWithWord)(implicit ev: <:<[T, String]): ResultOfEndWithWordForCollectedString

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(string) mustNot endWith regex ("wo.ld")
                ^
    

  54. def mustNot(startWithWord: StartWithWord)(implicit ev: <:<[T, String]): ResultOfStartWithWordForCollectedString

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(string) mustNot startWith regex ("Hel*o")
                ^
    

  55. def mustNot(fullyMatchWord: FullyMatchWord)(implicit ev: <:<[T, String]): ResultOfFullyMatchWordForCollectedString

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(string) mustNot fullyMatch regex ("""(-)?(\d+)(\.\d*)?""")
                ^
    

  56. def mustNot(existWord: ExistWord)(implicit existence: Existence[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) mustNot exist
            ^
    

  57. def mustNot(containWord: ContainWord): ResultOfContainWordForCollectedAny[T]

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) mustNot contain (oneOf (1, 2, 3))
             ^
    

  58. def mustNot(beWord: BeWord): ResultOfBeWordForCollectedAny[T]

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) mustNot be theSameInstanceAs anotherInstance
            ^
    

  59. def mustNot[TYPECLASS1[_]](rightMatcherFactory1: MatcherFactory1[T, TYPECLASS1])(implicit typeClass1: TYPECLASS1[T]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) mustNot (equal (3))
            ^
    

  60. def mustNot[U <: T](rightMatcherX1: Matcher[U]): Assertion

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) mustNot (be (3))
            ^
    

  61. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  64. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink

    Overrides to return pretty toString.

    Overrides to return pretty toString.

    returns

    "ResultOfCollectedAny([collected], [xs])"

    Definition Classes
    ResultOfCollectedAny → AnyRef → Any
  66. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped