Class

org.scalatest.WillMatchers

ResultOfCollectedAny

Related Doc: package WillMatchers

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.

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. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink

    Overrides to return pretty toString.

    Overrides to return pretty toString.

    returns

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def will(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) will fullyMatch regex ("""(-)?(\d+)(\.\d*)?""")
                ^
    

  21. def will(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) will include regex ("wo.ld")
                ^
    

  22. def will(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) will endWith regex ("wo.ld")
                ^
    

  23. def will(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) will startWith regex ("Hel*o")
                ^
    

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) will not (exist)
            ^
    

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) will exist
            ^
    

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    Permalink

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

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) will not equal (3)
            ^
    

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) will be theSameInstanceAs anotherObject
            ^
    

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

    Permalink

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

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) will equal (3)
            ^
    

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) will be (3)
            ^
    

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

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

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

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

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

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

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe null
            ^
    

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) willBe theSameInstanceAs (anotherObject)
            ^
    

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) willBe 7.1 +- 0.2
            ^
    

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

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

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

  46. def willBe(right: Any): Fact

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) willBe 7
             ^
    

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe an [Type]
            ^
    

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe a [Type]
            ^
    

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe defined
            ^
    

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe empty
            ^
    

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe writable
            ^
    

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe readable
            ^
    

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willBe sorted
            ^
    

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    result willEqual null
           ^
    

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    result willEqual 7.1 +- 0.2
           ^doCollected
    

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all (xs) willEqual 7
             ^
    

  57. def willNot(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) willNot include regex ("wo.ld")
                ^
    

  58. def willNot(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) willNot endWith regex ("wo.ld")
                ^
    

  59. def willNot(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) willNot startWith regex ("Hel*o")
                ^
    

  60. def willNot(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) willNot fullyMatch regex ("""(-)?(\d+)(\.\d*)?""")
                ^
    

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

    all(xs) willNot exist
            ^
    

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) willNot be theSameInstanceAs anotherInstance
            ^
    

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

    Permalink

    This method enables syntax such as the following:

    This method enables syntax such as the following:

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

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

    Permalink

    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