org.scalatest.Matchers

ResultOfNotWordForCollectedAny

sealed class ResultOfNotWordForCollectedAny[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
Matchers.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ResultOfNotWordForCollectedAny
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

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 be(definedWord: DefinedWord)(implicit definition: Definition[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be defined
                       ^
    

  8. def be(emptyWord: EmptyWord)(implicit emptiness: Emptiness[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be empty
                       ^
    

  9. def be(writableWord: WritableWord)(implicit writability: Writability[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be writable
                       ^
    

  10. def be(readableWord: ReadableWord)(implicit readability: Readability[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be readable
                       ^
    

  11. def be(sortedWord: SortedWord)(implicit sortable: Sortable[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be sorted
                       ^
    

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

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be an ('actionKey)
                       ^
    

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

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be a ('file)
                       ^
    

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

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be ('empty)
                       ^
    

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

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be (null)
                       ^
    

  16. def be[U](resultOfDefinedAt: ResultOfDefinedAt[U])(implicit ev: <:<[T, PartialFunction[U, _]]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be definedAt ("apple")
                       ^
    

  17. def be(resultOfSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be theSameInstanceAs (string)
                       ^
    

  18. def be[U >: T](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[U]): Unit

    This method enables the following syntax, where keyEvent is, for example, of type KeyEvent and actionKey refers to a BePropertyMatcher[KeyEvent]:

    This method enables the following syntax, where keyEvent is, for example, of type KeyEvent and actionKey refers to a BePropertyMatcher[KeyEvent]:

    all(keyEvents) should not be an (actionKey)
                              ^
    

  19. def be[U >: T](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U]): Unit

    This method enables the following syntax, where notFileMock is, for example, of type File and file refers to a BePropertyMatcher[File]:

    This method enables the following syntax, where notFileMock is, for example, of type File and file refers to a BePropertyMatcher[File]:

    all(xs) should not be a (file)
                       ^
    

  20. def be(bePropertyMatcher: BePropertyMatcher[T]): Unit

    This method enables the following syntax, where stack is, for example, of type Stack and empty refers to a BePropertyMatcher[Stack]:

    This method enables the following syntax, where stack is, for example, of type Stack and empty refers to a BePropertyMatcher[Stack]:

    all(xs) should not be (empty)
                       ^
    

  21. def be(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]:

    all(xs) should not be (odd)
                       ^
    

  22. def be(comparison: ResultOfGreaterThanComparison[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be > (7)
                       ^
    

  23. def be(comparison: ResultOfLessThanComparison[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be < (7)
                       ^
    

  24. def be(comparison: ResultOfGreaterThanOrEqualToComparison[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be >= (7)
                       ^
    

  25. def be(comparison: ResultOfLessThanOrEqualToComparison[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be <= (7)
                       ^
    

  26. def be(right: Any): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be (7)
                       ^
    

  27. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. def contain(resultOfValueWordApplication: ResultOfValueWordApplication)(implicit valueMapping: ValueMapping[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(colOfMap) should not contain value (3)
                             ^
    

  29. def contain(resultOfKeyWordApplication: ResultOfKeyWordApplication)(implicit keyMapping: KeyMapping[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(colOfMap) should not contain key ("three")
                             ^
    

  30. def contain(atMostOneOf: ResultOfAtMostOneOfApplication)(implicit aggregating: Aggregating[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all (xs) should not contain atMostOneOf ("one")
                        ^
    

  31. def contain(inOrder: ResultOfInOrderApplication)(implicit sequencing: Sequencing[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all (xs) should not contain inOrder ("one")
                        ^
    

  32. def contain(only: ResultOfAllOfApplication)(implicit aggregating: Aggregating[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all (xs) should not contain allOf ("one")
                        ^
    

  33. def contain(only: ResultOfInOrderOnlyApplication)(implicit sequencing: Sequencing[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all (xs) should not contain inOrderOnly ("one", "two")
                        ^
    

  34. def contain(only: ResultOfOnlyApplication)(implicit aggregating: Aggregating[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all (xs) should not contain only ("one")
                        ^
    

  35. def contain(theSameElementsInOrderAs: ResultOfTheSameElementsInOrderAsApplication)(implicit sequencing: Sequencing[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all (xs) should not contain theSameElementsInOrderAs ("one")
                        ^
    

  36. def contain(theSameElementsAs: ResultOfTheSameElementsAsApplication)(implicit aggregating: Aggregating[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all (xs) should not contain theSameElementsAs ("one")
                        ^
    

  37. def contain(noneOf: ResultOfNoneOfApplication)(implicit containing: Containing[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all (xs) should not contain noneOf ("one")
                        ^
    

  38. def contain(atLeastOneOf: ResultOfAtLeastOneOfApplication)(implicit aggregating: Aggregating[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all (xs) should not contain atLeastOneOf ("one")
                        ^
    

  39. def contain(oneOf: ResultOfOneOfApplication)(implicit containing: Containing[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all (xs) should not contain oneOf ("one")
                        ^
    

  40. def contain(expectedElement: Any)(implicit containing: Containing[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all (xs) should not contain ("one")
                        ^
    

  41. def contain(nullValue: Null)(implicit containing: Containing[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all (xs) should not contain (null)
                        ^
    

  42. def endWith(resultOfRegexWordApplication: ResultOfRegexWordApplication)(implicit ev: <:<[T, String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(string) should not endWith regex ("wor.d")
                           ^
    

  43. def endWith(expectedSubstring: String)(implicit ev: <:<[T, String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(string) should not endWith ("1.7")
                           ^
    

  44. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  45. def equal(right: Any)(implicit equality: Equality[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not equal (7)
                       ^
    

  46. def equals(arg0: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  48. def fullyMatch(resultOfRegexWordApplication: ResultOfRegexWordApplication)(implicit ev: <:<[T, String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

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

    The regular expression passed following the regex token can be either a String or a scala.util.matching.Regex.

  49. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  51. def have[U >: T](firstPropertyMatcher: HavePropertyMatcher[U, _], propertyMatchers: HavePropertyMatcher[U, _]*): Unit

    This method enables the following syntax, where badBook is, for example, of type Book and title ("One Hundred Years of Solitude") results in a HavePropertyMatcher[Book]:

    This method enables the following syntax, where badBook is, for example, of type Book and title ("One Hundred Years of Solitude") results in a HavePropertyMatcher[Book]:

    all(books) should not have (title ("One Hundred Years of Solitude"))
                          ^
    

  52. def have(resultOfSizeWordApplication: ResultOfSizeWordApplication)(implicit sz: Size[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not have size (0)
                       ^
    

  53. def have(resultOfLengthWordApplication: ResultOfLengthWordApplication)(implicit len: Length[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not have length (0)
                       ^
    

  54. def include(expectedSubstring: String)(implicit ev: <:<[T, String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(string) should not include ("world")
                           ^
    

  55. def include(resultOfRegexWordApplication: ResultOfRegexWordApplication)(implicit ev: <:<[T, String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(string) should not include regex ("wo.ld")
                           ^
    

    The regular expression passed following the regex token can be either a String or a scala.util.matching.Regex.

  56. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  60. def startWith(resultOfRegexWordApplication: ResultOfRegexWordApplication)(implicit ev: <:<[T, String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(string) should not startWith regex ("Hel*o")
                           ^
    

    The regular expression passed following the regex token can be either a String or a scala.util.matching.Regex.

  61. def startWith(right: String)(implicit ev: <:<[T, String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    all(string) should not startWith ("1.7")
                           ^
    

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

    Definition Classes
    AnyRef
  63. def toString(): String

    Overrides to return pretty toString.

    Overrides to return pretty toString.

    returns

    "ResultOfNotWordForCollectedAny([collected], [xs], [shouldBeTrue])"

    Definition Classes
    ResultOfNotWordForCollectedAny → AnyRef → Any
  64. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def be(comparison: TripleEqualsInvocation[_]): Unit

    The should be === syntax has been deprecated and will be removed in a future version of ScalaTest. Please use should equal, should ===, shouldEqual, should be, or shouldBe instead. Note, the reason this was deprecated was so that === would mean only one thing in ScalaTest: a customizable, type- checkable equality comparison.

    The should be === syntax has been deprecated and will be removed in a future version of ScalaTest. Please use should equal, should ===, shouldEqual, should be, or shouldBe instead. Note, the reason this was deprecated was so that === would mean only one thing in ScalaTest: a customizable, type- checkable equality comparison.

    This method enables the following syntax:

    all(xs) should not be === (7)
                       ^
    

    Annotations
    @deprecated
    Deprecated

    The should be === syntax has been deprecated. Please use should equal, should ===, shouldEqual, should be, or shouldBe instead.

Inherited from AnyRef

Inherited from Any

Ungrouped