org.scalatest.words

ResultOfNotWordForAny

sealed class ResultOfNotWordForAny[T] extends AnyRef

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

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

Instance Constructors

  1. new ResultOfNotWordForAny(left: T, 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(resultOfSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication)(implicit ev: <:<[T, AnyRef]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    otherString should not be theSameInstanceAs (string)
                           ^
    

  8. def be[U >: T](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[U])(implicit ev: <:<[T, AnyRef]): 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]:

    keyEvent should not be an (actionKey)
                        ^
    

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

    This method enables the following syntax:

    This method enables the following syntax:

    keyEvent should not be an ('actionKey)
                        ^
    

  10. def be[U >: T](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U])(implicit ev: <:<[T, AnyRef]): 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]:

    notFileMock should not be a (file)
                           ^
    

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

    This method enables the following syntax:

    This method enables the following syntax:

    notFileMock should not be a ('file)
                           ^
    

  12. def be(bePropertyMatcher: BePropertyMatcher[T])(implicit ev: <:<[T, AnyRef]): 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]:

    stack should not be (empty)
                         ^
    

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

    This method enables the following syntax:

    This method enables the following syntax:

    stack should not be ('empty)
                     ^
    

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

    This method enables the following syntax:

    This method enables the following syntax:

    map should not be (null)
                   ^
    

  15. def be(interval: Interval[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    sevenDotOh should not be (6.5 +- 0.2)
                          ^
    

  16. def be(resultOfAnWordToAnMatcherApplication: ResultOfAnWordToAnMatcherApplication[T]): Unit

    This method enables the following syntax, where oddNumber refers to an AnMatcher[Int]:

    This method enables the following syntax, where oddNumber refers to an AnMatcher[Int]:

    2 should not be an (oddNumber)
                 ^
    

  17. def be(resultOfAWordToAMatcherApplication: ResultOfAWordToAMatcherApplication[T]): Unit

    This method enables the following syntax, where positiveNumber refers to an AMatcher[Int]:

    This method enables the following syntax, where positiveNumber refers to an AMatcher[Int]:

    2 should not be a (positiveNumber)
                 ^
    

  18. 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]:

    2 should not be (odd)
                 ^
    

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

    This method enables the following syntax:

    This method enables the following syntax:

    result should not be === (7)
                      ^
    

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

    This method enables the following syntax:

    This method enables the following syntax:

    result should not be > (7)
                      ^
    

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

    This method enables the following syntax:

    This method enables the following syntax:

    result should not be < (7)
                      ^
    

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

    This method enables the following syntax:

    This method enables the following syntax:

    result should not be >= (7)
                      ^
    

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

    This method enables the following syntax:

    This method enables the following syntax:

    result should not be <= (7)
                      ^
    

  24. def be(right: Any): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    result should not be (7)
                      ^
    

  25. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. def contain(expectedElement: Any)(implicit holder: Holder[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    object should not contain ("one")
                      ^
    

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

    Definition Classes
    AnyRef
  28. def equal(right: Null): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    result should not equal null
                      ^
    

  29. def equal(interval: Interval[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    sevenDotOh should not equal (6.5 +- 0.2)
                          ^
    

  30. def equal(right: Any)(implicit equality: Equality[T]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    result should not equal (7)
                      ^
    

  31. def equals(arg0: Any): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  35. def have(firstPropertyMatcher: HavePropertyMatcher[T, _], propertyMatchers: HavePropertyMatcher[T, _]*): 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]:

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

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

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

  38. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  40. def newContain(newOneOf: ResultOfNewOneOfApplication)(implicit holder: Holder[T]): Unit

  41. final def notify(): Unit

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

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

    Definition Classes
    AnyRef
  44. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped