Class

org.scalatest.Matchers

ResultOfNotWordForCollectedAny

Related Doc: package Matchers

Permalink

final 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
Visibility
  1. Public
  2. All

Instance Constructors

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

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be defined
                       ^
    

  6. def be(emptyWord: EmptyWord)(implicit emptiness: Emptiness[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be empty
                       ^
    

  7. def be(writableWord: WritableWord)(implicit writability: Writability[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be writable
                       ^
    

  8. def be(readableWord: ReadableWord)(implicit readability: Readability[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be readable
                       ^
    

  9. def be(sortedWord: SortedWord)(implicit sortable: Sortable[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be sorted
                       ^
    

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be (null)
                       ^
    

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  15. def be(resultOfSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  16. def be[U >: T](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[U]): Assertion

    Permalink

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

  17. def be[U >: T](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U]): Assertion

    Permalink

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

  18. def be(bePropertyMatcher: BePropertyMatcher[T]): Assertion

    Permalink

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

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

    all(xs) should not be (odd)
                       ^
    

  20. def be(comparison: ResultOfGreaterThanComparison[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  21. def be(comparison: ResultOfLessThanComparison[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  22. def be(comparison: ResultOfGreaterThanOrEqualToComparison[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  23. def be(comparison: ResultOfLessThanOrEqualToComparison[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  24. def be(right: Any): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not be (7)
                       ^
    

  25. def clone(): AnyRef

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  27. def contain(resultOfKeyWordApplication: ResultOfKeyWordApplication)(implicit keyMapping: KeyMapping[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  28. def contain(atMostOneElementOf: ResultOfAtMostOneElementOfApplication)(implicit evidence: Aggregating[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  29. def contain(atMostOneOf: ResultOfAtMostOneOfApplication)(implicit aggregating: Aggregating[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  30. def contain(inOrderElementsOf: ResultOfInOrderElementsOfApplication)(implicit evidence: Sequencing[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  32. def contain(only: ResultOfAllElementsOfApplication)(implicit evidence: Aggregating[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  33. def contain(only: ResultOfAllOfApplication)(implicit aggregating: Aggregating[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  34. def contain(only: ResultOfInOrderOnlyApplication)(implicit sequencing: Sequencing[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  35. def contain(only: ResultOfOnlyApplication)(implicit aggregating: Aggregating[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  36. def contain(theSameElementsInOrderAs: ResultOfTheSameElementsInOrderAsApplication)(implicit sequencing: Sequencing[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  37. def contain(theSameElementsAs: ResultOfTheSameElementsAsApplication)(implicit aggregating: Aggregating[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  38. def contain(noElementsOf: ResultOfNoElementsOfApplication)(implicit evidence: Containing[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  39. def contain(noneOf: ResultOfNoneOfApplication)(implicit containing: Containing[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  40. def contain(atLeastOneElementOf: ResultOfAtLeastOneElementOfApplication)(implicit evidence: Aggregating[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  41. def contain(atLeastOneOf: ResultOfAtLeastOneOfApplication)(implicit aggregating: Aggregating[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  42. def contain(oneElementOf: ResultOfOneElementOfApplication)(implicit containing: Containing[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  43. def contain(oneOf: ResultOfOneOfApplication)(implicit containing: Containing[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  44. def contain(expectedElement: Any)(implicit containing: Containing[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  45. def contain(nullValue: Null)(implicit containing: Containing[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all (xs) should not contain (null)
                        ^
    

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

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  47. def endWith(expectedSubstring: String)(implicit ev: <:<[T, String]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

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

    Permalink
    Definition Classes
    AnyRef
  49. def equal(right: Any)(implicit equality: Equality[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

    all(xs) should not equal (7)
                       ^
    

  50. def equals(arg0: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  52. def fullyMatch(resultOfRegexWordApplication: ResultOfRegexWordApplication)(implicit ev: <:<[T, String]): Assertion

    Permalink

    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.

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

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

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

    Permalink

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

  56. def have(resultOfSizeWordApplication: ResultOfSizeWordApplication)(implicit sz: Size[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  57. def have(resultOfLengthWordApplication: ResultOfLengthWordApplication)(implicit len: Length[T]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

  58. def include(expectedSubstring: String)(implicit ev: <:<[T, String]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

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

    Permalink

    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.

  60. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  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. def startWith(resultOfRegexWordApplication: ResultOfRegexWordApplication)(implicit ev: <:<[T, String]): Assertion

    Permalink

    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.

  65. def startWith(right: String)(implicit ev: <:<[T, String]): Assertion

    Permalink

    This method enables the following syntax:

    This method enables the following syntax:

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

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

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

    Permalink

    Overrides to return pretty toString.

    Overrides to return pretty toString.

    returns

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

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

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

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

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

Deprecated Value Members

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

    Permalink

    The deprecation period for the "be ===" syntax has expired, and the syntax will now throw NotAllowedException. Please use should equal, should ===, shouldEqual, should be, or shouldBe instead.

    The deprecation period for the "be ===" syntax has expired, and the syntax will now throw NotAllowedException. Please use should equal, should ===, shouldEqual, should be, or shouldBe instead.

    Note: usually syntax will be removed after its deprecation period. This was left in because otherwise the syntax could in some cases still compile, but silently wouldn't work.

    Annotations
    @deprecated
    Deprecated

    The deprecation period for the be === syntax has expired. Please use should equal, should ===, shouldEqual, should be, or shouldBe instead.

Inherited from AnyRef

Inherited from Any

Ungrouped