org.scalatest.WillMatchers

ResultOfCollectedAny

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.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ResultOfCollectedAny
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  18. def toString(): String

    Overrides to return pretty toString.

    Overrides to return pretty toString.

    returns

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def will(fullyMatchWord: FullyMatchWord)(implicit ev: <:<[T, String]): ResultOfFullyMatchWordForCollectedString

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  26. def will(notExist: ResultOfNotExist)(implicit existence: Existence[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) will not (exist)
            ^
    

  27. def will(existWord: ExistWord)(implicit existence: Existence[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) will exist
            ^
    

  28. def will(containWord: ContainWord): FactResultOfContainWordForCollectedAny[T]

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  29. def will(inv: TripleEqualsInvocationOnSpread[T])(implicit ev: Numeric[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  30. def will[U](inv: TripleEqualsInvocation[U])(implicit constraint: CanEqual[T, U]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) will === (b)
             ^
    

  31. def will(haveWord: HaveWord): ResultOfHaveWordForCollectedExtent[T]

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  32. def will(notWord: NotWord): ResultOfNotWordForCollectedAny[T]

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) will not equal (3)
            ^
    

  33. def will(beWord: BeWord): ResultOfBeWordForCollectedAny[T]

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) will be theSameInstanceAs anotherObject
            ^
    

  34. def will[TYPECLASS1[_], TYPECLASS2[_]](rightMatcherFactory2: MatcherFactory2[T, TYPECLASS1, TYPECLASS2])(implicit typeClass1: TYPECLASS1[T], typeClass2: TYPECLASS2[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  35. def will[TYPECLASS1[_]](rightMatcherFactory1: MatcherFactory1[T, TYPECLASS1])(implicit typeClass1: TYPECLASS1[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) will equal (3)
            ^
    

  36. def will(rightMatcher: Matcher[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) will be (3)
            ^
    

  37. def willBe[U <: T](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[U])(implicit ev: <:<[T, AnyRef]): Fact

    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) willBe an (excellentRead)
            ^
    

  38. def willBe[U <: T](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U])(implicit ev: <:<[T, AnyRef]): Fact

    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) willBe a (goodRead)
            ^
    

  39. def willBe[U <: T](bePropertyMatcher: BePropertyMatcher[U])(implicit ev: <:<[T, AnyRef]): Fact

    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) willBe excellentRead
            ^
    

  40. def willBe(o: Null)(implicit ev: <:<[T, AnyRef]): Fact

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe null
            ^
    

  41. def willBe(resultOfSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication)(implicit toAnyRef: <:<[T, AnyRef]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) willBe theSameInstanceAs (anotherObject)
            ^
    

  42. def willBe(spread: Spread[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) willBe 7.1 +- 0.2
            ^
    

  43. def willBe(beMatcher: BeMatcher[T]): Fact

    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) willBe odd
            ^
    

  44. def willBe(comparison: ResultOfGreaterThanOrEqualToComparison[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  45. def willBe(comparison: ResultOfGreaterThanComparison[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  46. def willBe(comparison: ResultOfLessThanOrEqualToComparison[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  47. def willBe(comparison: ResultOfLessThanComparison[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  48. def willBe(right: Any): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) willBe 7
             ^
    

  49. def willBe(anType: FactResultOfAnTypeInvocation[_]): Fact

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe an [Type]
            ^
    

  50. def willBe(aType: FactResultOfATypeInvocation[_]): Fact

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe a [Type]
            ^
    

  51. def willBe(definedWord: DefinedWord)(implicit definition: Definition[T]): Fact

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe defined
            ^
    

  52. def willBe(emptyWord: EmptyWord)(implicit emptiness: Emptiness[T]): Fact

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe empty
            ^
    

  53. def willBe(writableWord: WritableWord)(implicit writability: Writability[T]): Fact

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe writable
            ^
    

  54. def willBe(readableWord: ReadableWord)(implicit readability: Readability[T]): Fact

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe readable
            ^
    

  55. def willBe(sortedWord: SortedWord)(implicit sortable: Sortable[T]): Fact

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe sorted
            ^
    

  56. def willEqual(right: Null)(implicit ev: <:<[T, AnyRef]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    result willEqual null
           ^
    

  57. def willEqual(spread: Spread[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    result willEqual 7.1 +- 0.2
           ^doCollected
    

  58. def willEqual(right: Any)(implicit equality: Equality[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) willEqual 7
             ^
    

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

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  63. def willNot(existWord: ExistWord)(implicit existence: Existence[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) willNot exist
            ^
    

  64. def willNot(containWord: ContainWord): FactResultOfContainWordForCollectedAny[T]

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  65. def willNot(beWord: BeWord): ResultOfBeWordForCollectedAny[T]

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willNot be theSameInstanceAs anotherInstance
            ^
    

  66. def willNot[TYPECLASS1[_]](rightMatcherFactory1: MatcherFactory1[T, TYPECLASS1])(implicit typeClass1: TYPECLASS1[T]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) willNot (equal (3))
            ^
    

  67. def willNot[U <: T](rightMatcherX1: Matcher[U]): Fact

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) willNot (be (3))
            ^
    

Inherited from AnyRef

Inherited from Any

Ungrouped