org.scalatest.words

ResultOfNotWordForString

final class ResultOfNotWordForString extends ResultOfNotWordForAny[String]

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

Linear Supertypes
ResultOfNotWordForAny[String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ResultOfNotWordForString
  2. ResultOfNotWordForAny
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResultOfNotWordForString(left: String, 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[U](definedWord: DefinedWord)(implicit definition: Definition[String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    option should not be defined
                         ^
    

    Definition Classes
    ResultOfNotWordForAny
  8. def be[U](emptyWord: EmptyWord)(implicit emptiness: Emptiness[String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    list should not be empty
                       ^
    

    Definition Classes
    ResultOfNotWordForAny
  9. def be[U](writableWord: WritableWord)(implicit writability: Writability[String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    file should not be writable
                       ^
    

    Definition Classes
    ResultOfNotWordForAny
  10. def be[U](readableWord: ReadableWord)(implicit readability: Readability[String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    file should not be readable
                       ^
    

    Definition Classes
    ResultOfNotWordForAny
  11. def be[U](sortedWord: SortedWord)(implicit sortable: Sortable[String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    xs should not be sorted
                     ^
    

    Definition Classes
    ResultOfNotWordForAny
  12. def be(resultOfSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication)(implicit toAnyRef: <:<[String, AnyRef]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    otherString should not be theSameInstanceAs (string)
                           ^
    

    Definition Classes
    ResultOfNotWordForAny
  13. def be[U >: String](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[U])(implicit ev: <:<[String, 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)
                        ^
    

    Definition Classes
    ResultOfNotWordForAny
  14. def be(resultOfAnWordApplication: ResultOfAnWordToSymbolApplication)(implicit toAnyRef: <:<[String, AnyRef]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    keyEvent should not be an ('actionKey)
                        ^
    

    Definition Classes
    ResultOfNotWordForAny
  15. def be[U >: String](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U])(implicit ev: <:<[String, 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)
                           ^
    

    Definition Classes
    ResultOfNotWordForAny
  16. def be(resultOfAWordApplication: ResultOfAWordToSymbolApplication)(implicit toAnyRef: <:<[String, AnyRef]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    notFileMock should not be a ('file)
                           ^
    

    Definition Classes
    ResultOfNotWordForAny
  17. def be(bePropertyMatcher: BePropertyMatcher[String])(implicit ev: <:<[String, 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)
                         ^
    

    Definition Classes
    ResultOfNotWordForAny
  18. def be(symbol: Symbol)(implicit toAnyRef: <:<[String, AnyRef]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    stack should not be ('empty)
                     ^
    

    Definition Classes
    ResultOfNotWordForAny
  19. def be(o: Null)(implicit ev: <:<[String, AnyRef]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    map should not be (null)
                   ^
    

    Definition Classes
    ResultOfNotWordForAny
  20. def be[U](resultOfDefinedAt: ResultOfDefinedAt[U])(implicit ev: <:<[String, PartialFunction[U, _]]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    partialFun should not be definedAt ("apple")
                          ^
    

    Definition Classes
    ResultOfNotWordForAny
  21. def be(spread: Spread[String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    sevenDotOh should not be (6.5 +- 0.2)
                          ^
    

    Definition Classes
    ResultOfNotWordForAny
  22. def be(anType: ResultOfAnTypeInvocation[_]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    result should not be a [Book]
                      ^
    

    Definition Classes
    ResultOfNotWordForAny
  23. def be(aType: ResultOfATypeInvocation[_]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    result should not be a [Book]
                      ^
    

    Definition Classes
    ResultOfNotWordForAny
  24. def be(resultOfAnWordToAnMatcherApplication: ResultOfAnWordToAnMatcherApplication[String]): 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)
                 ^
    

    Definition Classes
    ResultOfNotWordForAny
  25. def be(resultOfAWordToAMatcherApplication: ResultOfAWordToAMatcherApplication[String]): 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)
                 ^
    

    Definition Classes
    ResultOfNotWordForAny
  26. def be(beMatcher: BeMatcher[String]): 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)
                 ^
    

    Definition Classes
    ResultOfNotWordForAny
  27. def be(comparison: ResultOfGreaterThanComparison[String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    result should not be > (7)
                      ^
    

    Definition Classes
    ResultOfNotWordForAny
  28. def be(comparison: ResultOfLessThanComparison[String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    result should not be < (7)
                      ^
    

    Definition Classes
    ResultOfNotWordForAny
  29. def be(comparison: ResultOfGreaterThanOrEqualToComparison[String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    result should not be >= (7)
                      ^
    

    Definition Classes
    ResultOfNotWordForAny
  30. def be(comparison: ResultOfLessThanOrEqualToComparison[String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    result should not be <= (7)
                      ^
    

    Definition Classes
    ResultOfNotWordForAny
  31. def be(right: Any): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    result should not be (7)
                      ^
    

    Definition Classes
    ResultOfNotWordForAny
  32. def clone(): AnyRef

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

    Definition Classes
    ResultOfNotWordForAny
  34. def contain(resultOfKeyWordApplication: ResultOfKeyWordApplication)(implicit keyMapping: KeyMapping[String]): Unit

    Definition Classes
    ResultOfNotWordForAny
  35. def contain(atMostOneOf: ResultOfAtMostOneOfApplication)(implicit aggregating: Aggregating[String]): Unit

    Definition Classes
    ResultOfNotWordForAny
  36. def contain(only: ResultOfInOrderApplication)(implicit sequencing: Sequencing[String]): Unit

    Definition Classes
    ResultOfNotWordForAny
  37. def contain(only: ResultOfAllOfApplication)(implicit aggregating: Aggregating[String]): Unit

    Definition Classes
    ResultOfNotWordForAny
  38. def contain(only: ResultOfInOrderOnlyApplication)(implicit sequencing: Sequencing[String]): Unit

    Definition Classes
    ResultOfNotWordForAny
  39. def contain(only: ResultOfOnlyApplication)(implicit aggregating: Aggregating[String]): Unit

    Definition Classes
    ResultOfNotWordForAny
  40. def contain(theSameElementsInOrderAs: ResultOfTheSameElementsInOrderAsApplication)(implicit sequencing: Sequencing[String]): Unit

    Definition Classes
    ResultOfNotWordForAny
  41. def contain(theSameElementsAs: ResultOfTheSameElementsAsApplication)(implicit aggregating: Aggregating[String]): Unit

    Definition Classes
    ResultOfNotWordForAny
  42. def contain(noneOf: ResultOfNoneOfApplication)(implicit containing: Containing[String]): Unit

    Definition Classes
    ResultOfNotWordForAny
  43. def contain(atLeastOneOf: ResultOfAtLeastOneOfApplication)(implicit aggregating: Aggregating[String]): Unit

    Definition Classes
    ResultOfNotWordForAny
  44. def contain(newOneOf: ResultOfOneOfApplication)(implicit containing: Containing[String]): Unit

    Definition Classes
    ResultOfNotWordForAny
  45. def contain(expectedElement: Any)(implicit containing: Containing[String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    object should not contain ("one")
                      ^
    

    Definition Classes
    ResultOfNotWordForAny
  46. def endWith(expectedSubstring: String): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    "eight" should not endWith ("1.7")
                       ^
    

  47. def endWith(resultOfRegexWordApplication: ResultOfRegexWordApplication): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    greeting should not endWith regex ("wor.d")
                        ^
    

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

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

    This method enables the following syntax:

    This method enables the following syntax:

    result should not equal null
                      ^
    

    Definition Classes
    ResultOfNotWordForAny
  50. def equal(spread: Spread[String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    sevenDotOh should not equal (6.5 +- 0.2)
                          ^
    

    Definition Classes
    ResultOfNotWordForAny
  51. def equal(right: Any)(implicit equality: Equality[String]): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    result should not equal (7)
                      ^
    

    Definition Classes
    ResultOfNotWordForAny
  52. def equals(arg0: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  54. def fullyMatch(resultOfRegexWordApplication: ResultOfRegexWordApplication): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    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.

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

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

    Definition Classes
    AnyRef → Any
  57. def have(resultOfMessageWordApplication: ResultOfMessageWordApplication)(implicit messaging: Messaging[String]): Unit

    Definition Classes
    ResultOfNotWordForAny
  58. def have(firstPropertyMatcher: HavePropertyMatcher[String, _], propertyMatchers: HavePropertyMatcher[String, _]*): 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"))
                    ^
    

    Definition Classes
    ResultOfNotWordForAny
  59. def have(resultOfSizeWordApplication: ResultOfSizeWordApplication)(implicit sz: Size[String]): Unit

    Enables parentheses to be placed around size (N) in expressions of the form: should not have (size (N)).

    Enables parentheses to be placed around size (N) in expressions of the form: should not have (size (N)).

    Definition Classes
    ResultOfNotWordForAny
  60. def have(resultOfLengthWordApplication: ResultOfLengthWordApplication)(implicit len: Length[String]): Unit

    Enables parentheses to be placed around length (N) in expressions of the form: should not have (length (N)).

    Enables parentheses to be placed around length (N) in expressions of the form: should not have (length (N)).

    Definition Classes
    ResultOfNotWordForAny
  61. def include(expectedSubstring: String): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    string should not include ("world")
                      ^
    

  62. def include(resultOfRegexWordApplication: ResultOfRegexWordApplication): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    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.

  63. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  67. def startWith(expectedSubstring: String): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    "eight" should not startWith ("1.7")
                       ^
    

  68. def startWith(resultOfRegexWordApplication: ResultOfRegexWordApplication): Unit

    This method enables the following syntax:

    This method enables the following syntax:

    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.

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

    Definition Classes
    AnyRef
  70. def toString(): String

    Overrides toString to return pretty text.

    Overrides toString to return pretty text.

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  73. 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:

    result should not be === (7)
                      ^
    

    Definition Classes
    ResultOfNotWordForAny
    Annotations
    @deprecated
    Deprecated

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

Inherited from ResultOfNotWordForAny[String]

Inherited from AnyRef

Inherited from Any

Ungrouped