org.scalatest.Matchers

ResultOfCollectedAny

sealed 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
Known Subclasses
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])

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()
  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. def should(notExist: ResultOfNotExist)(implicit existence: Existence[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) should not (exist)
            ^
    

  18. def should(existWord: ExistWord)(implicit existence: Existence[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) should exist
            ^
    

  19. def should(containWord: ContainWord): ResultOfContainWordForCollectedAny[T]

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  20. def should(inv: TripleEqualsInvocationOnSpread[T])(implicit ev: Numeric[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  21. def should[U](inv: TripleEqualsInvocation[U])(implicit constraint: Constraint[T, U]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) should === (b)
             ^
    

  22. def should(haveWord: HaveWord): ResultOfHaveWordForCollectedExtent[T]

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (results) should have length (3)
           
    all (results) should have size (3)
           
    

  23. def should(notWord: NotWord): ResultOfNotWordForCollectedAny[T]

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) should not equal (3)
            ^
    

  24. def should(beWord: BeWord): ResultOfBeWordForCollectedAny[T]

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) should be theSameInstanceAs anotherObject
            ^
    

  25. def should[TYPECLASS1[_], TYPECLASS2[_]](rightMatcherFactory2: MatcherFactory2[T, TYPECLASS1, TYPECLASS2])(implicit typeClass1: TYPECLASS1[T], typeClass2: TYPECLASS2[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  26. def should[TYPECLASS1[_]](rightMatcherFactory1: MatcherFactory1[T, TYPECLASS1])(implicit typeClass1: TYPECLASS1[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) should equal (3)
            ^
    

  27. def should(rightMatcher: Matcher[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) should be (3)
            ^
    

  28. def shouldBe[U <: T](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[U])(implicit ev: <:<[T, AnyRef]): Unit

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

  29. def shouldBe[U <: T](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U])(implicit ev: <:<[T, AnyRef]): Unit

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

  30. def shouldBe[U <: T](bePropertyMatcher: BePropertyMatcher[U])(implicit ev: <:<[T, AnyRef]): Unit

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

  31. def shouldBe(o: Null)(implicit ev: <:<[T, AnyRef]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) shouldBe null
            ^
    

  32. def shouldBe(resultOfAnWordApplication: ResultOfAnWordToSymbolApplication)(implicit toAnyRef: <:<[T, AnyRef]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) shouldBe an ('empty)
            ^
    

  33. def shouldBe(resultOfAWordApplication: ResultOfAWordToSymbolApplication)(implicit toAnyRef: <:<[T, AnyRef]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) shouldBe a ('empty)
            ^
    

  34. def shouldBe(symbol: Symbol)(implicit toAnyRef: <:<[T, AnyRef]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) shouldBe 'empty
            ^
    

  35. def shouldBe(resultOfSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication)(implicit toAnyRef: <:<[T, AnyRef]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) shouldBe theSameInstanceAs (anotherObject)
            ^
    

  36. def shouldBe(spread: Spread[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) shouldBe 7.1 +- 0.2
            ^
    

  37. def shouldBe(beMatcher: BeMatcher[T]): Unit

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

  38. def shouldBe(comparison: ResultOfGreaterThanOrEqualToComparison[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  39. def shouldBe(comparison: ResultOfGreaterThanComparison[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  40. def shouldBe(comparison: ResultOfLessThanOrEqualToComparison[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  41. def shouldBe(comparison: ResultOfLessThanComparison[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  42. def shouldBe(right: Any): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) shouldBe 7
             ^
    

  43. def shouldBe(definedWord: DefinedWord)(implicit definition: Definition[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) shouldBe defined
            ^
    

  44. def shouldBe(emptyWord: EmptyWord)(implicit emptiness: Emptiness[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) shouldBe empty
            ^
    

  45. def shouldBe(writableWord: WritableWord)(implicit writability: Writability[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) shouldBe writable
            ^
    

  46. def shouldBe(readableWord: ReadableWord)(implicit readability: Readability[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) shouldBe readable
            ^
    

  47. def shouldBe(sortedWord: SortedWord)(implicit sortable: Sortable[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) shouldBe sorted
            ^
    

  48. def shouldEqual(right: Null)(implicit ev: <:<[T, AnyRef]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    result shouldEqual null
           ^
    

  49. def shouldEqual(spread: Spread[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    result shouldEqual 7.1 +- 0.2
           ^
    

  50. def shouldEqual(right: Any)(implicit equality: Equality[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) shouldEqual 7
             ^
    

  51. def shouldNot(existWord: ExistWord)(implicit existence: Existence[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) shouldNot exist
            ^
    

  52. def shouldNot(containWord: ContainWord): ResultOfContainWordForCollectedAny[T]

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  53. def shouldNot(beWord: BeWord): ResultOfBeWordForCollectedAny[T]

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) shouldNot be theSameInstanceAs anotherInstance
            ^
    

  54. def shouldNot[TYPECLASS1[_]](rightMatcherFactory1: MatcherFactory1[T, TYPECLASS1])(implicit typeClass1: TYPECLASS1[T]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) shouldNot (equal (3))
            ^
    

  55. def shouldNot[U <: T](rightMatcherX1: Matcher[U]): Unit

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) shouldNot (be (3))
            ^
    

  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  57. def toString(): String

    Overrides to return pretty toString.

    Overrides to return pretty toString.

    returns

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped