org.scalatest.matchers.MatcherFactory1

AndNotWord

final class AndNotWord extends AnyRef

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

Source
MatcherFactory1.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AndNotWord
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AndNotWord()

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): MatcherFactory2[SC, TC1, Definition]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory and not be defined
                            ^
    

  8. def be(emptyWord: EmptyWord): MatcherFactory2[SC, TC1, Emptiness]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory and not be empty
                            ^
    

  9. def be(writableWord: WritableWord): MatcherFactory2[SC, TC1, Writability]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory and not be writable
                            ^
    

  10. def be(readableWord: ReadableWord): MatcherFactory2[SC, TC1, Readability]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory and not be readable
                            ^
    

  11. def be(sortedWord: SortedWord): MatcherFactory2[SC, TC1, Sortable]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory and not be sorted
                            ^
    

  12. def be[A, U <: PartialFunction[A, _]](resultOfDefinedAt: ResultOfDefinedAt[A]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax, where fraction is a PartialFunction:

    This method enables the following syntax, where fraction is a PartialFunction:

    aMatcherFactory and not be definedAt (8)
                            ^
    

  13. def be[U](spread: Spread[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax, for the "primitive" numeric types:

    This method enables the following syntax, for the "primitive" numeric types:

    aMatcherFactory and not be (17.0 +- 0.2)
                            ^
    

  14. def be(resultOfTheSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication): MatcherFactory1[SC, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not be theSameInstanceAs (otherString)
                            ^
    

  15. def be(anType: ResultOfAnTypeInvocation[_]): MatcherFactory1[SC, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not be an [Apple]
                            ^
    

    Annotations
    @macroImpl()
  16. def be(aType: ResultOfATypeInvocation[_]): MatcherFactory1[SC, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not be a [Book]
                            ^
    

    Annotations
    @macroImpl()
  17. def be[U](resultOfAnWordApplication: ResultOfAnWordToAnMatcherApplication[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1, where invalidMarks is a AnMatcher:

    This method enables the following syntax given a MatcherFactory1, where invalidMarks is a AnMatcher:

    aMatcherFactory and not be an (invalidMarks)
                            ^
    

  18. def be[SC <: AnyRef](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[SC]): MatcherFactory1[SC with SC, TC1]

    This method enables the following syntax given a MatcherFactory1, where apple is a BePropertyMatcher:

    This method enables the following syntax given a MatcherFactory1, where apple is a BePropertyMatcher:

    aMatcherFactory and not be an (apple)
                            ^
    

  19. def be(resultOfAnWordApplication: ResultOfAnWordToSymbolApplication): MatcherFactory1[SC, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not be a primeNumber
                            ^
    

  20. def be[U <: AnyRef](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1, where directory is a BePropertyMatcher:

    This method enables the following syntax given a MatcherFactory1, where directory is a BePropertyMatcher:

    aMatcherFactory and not be a (directory)
                            ^
    

  21. def be[U](resultOfAWordApplication: ResultOfAWordToAMatcherApplication[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1, where validMarks is an AMatcher:

    This method enables the following syntax given a MatcherFactory1, where validMarks is an AMatcher:

    aMatcherFactory and not be a (validMarks)
                            ^
    

  22. def be(resultOfAWordApplication: ResultOfAWordToSymbolApplication): MatcherFactory1[SC, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not be a ('file)
                            ^
    

  23. def be[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1, where directory is a BePropertyMatcher:

    This method enables the following syntax given a MatcherFactory1, where directory is a BePropertyMatcher:

    aMatcherFactory and not be (directory)
                            ^
    

  24. def be[U](beMatcher: BeMatcher[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1, where odd is a BeMatcher:

    This method enables the following syntax given a MatcherFactory1, where odd is a BeMatcher:

    aMatcherFactory and not be (odd)
                            ^
    

  25. def be(symbol: Symbol): MatcherFactory1[SC, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not be ('empty)
                            ^
    

  26. def be(tripleEqualsInvocation: TripleEqualsInvocation[_]): MatcherFactory1[SC, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not be === (6)
                            ^
    

  27. def be[U](resultOfGreaterThanOrEqualToComparison: ResultOfGreaterThanOrEqualToComparison[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not be >= (6)
                            ^
    

  28. def be[U](resultOfLessThanOrEqualToComparison: ResultOfLessThanOrEqualToComparison[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not be <= (2)
                            ^
    

  29. def be[U](resultOfGreaterThanComparison: ResultOfGreaterThanComparison[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory (8) and not be > (6)
                                ^
    

  30. def be(o: Null): MatcherFactory1[SC, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not be (null)
                            ^
    

  31. def be[U](resultOfLessThanComparison: ResultOfLessThanComparison[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not be < (6)
                            ^
    

  32. def be(any: Any): MatcherFactory1[SC, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not be (3 - 1)
                            ^
    

  33. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. def contain(right: ResultOfAtMostOneOfApplication): MatcherFactory2[SC, TC1, Aggregating]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain atMostOneOf (8, 1, 2)
                            ^
    

  35. def contain(right: ResultOfInOrderApplication): MatcherFactory2[SC, TC1, Sequencing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain inOrder (8, 1, 2)
                            ^
    

  36. def contain(right: ResultOfAllOfApplication): MatcherFactory2[SC, TC1, Aggregating]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain allOf (8, 1, 2)
                            ^
    

  37. def contain(right: ResultOfInOrderOnlyApplication): MatcherFactory2[SC, TC1, Sequencing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain inOrderOnly (8, 1, 2)
                            ^
    

  38. def contain(right: ResultOfOnlyApplication): MatcherFactory2[SC, TC1, Aggregating]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain only (8, 1, 2)
                            ^
    

  39. def contain(right: ResultOfTheSameElementsInOrderAsApplication): MatcherFactory2[SC, TC1, Sequencing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain theSameElementsInOrderAs (List(8, 1, 2))
                            ^
    

  40. def contain(right: ResultOfTheSameElementsAsApplication): MatcherFactory2[SC, TC1, Aggregating]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain theSameElementsAs (List(8, 1, 2))
                            ^
    

  41. def contain(right: ResultOfNoneOfApplication): MatcherFactory2[SC, TC1, Containing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain noneOf (8, 1, 2)
                            ^
    

  42. def contain(right: ResultOfAtLeastOneOfApplication): MatcherFactory2[SC, TC1, Aggregating]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain atLeastOneOf (8, 1, 2)
                            ^
    

  43. def contain(right: ResultOfOneOfApplication): MatcherFactory2[SC, TC1, Containing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain oneOf (8, 1, 2)
                            ^
    

  44. def contain(resultOfValueWordApplication: ResultOfValueWordApplication): MatcherFactory2[SC, TC1, ValueMapping]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain value (3)
                            ^
    

  45. def contain(resultOfKeyWordApplication: ResultOfKeyWordApplication): MatcherFactory2[SC, TC1, KeyMapping]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain key ("three")
                            ^
    

  46. def contain[U](expectedElement: U): MatcherFactory2[SC, TC1, Containing]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not contain (3)
                            ^
    

  47. def endWith(expectedSubstring: String): MatcherFactory1[SC with String, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not endWith ("1.7")
                            ^
    

  48. def endWith(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory1[SC with String, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not endWith regex (decimal)
                            ^
    

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

    Definition Classes
    AnyRef
  50. def equal(o: Null): MatcherFactory1[SC, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not equal (null)
                            ^
    

  51. def equal[U](spread: Spread[U]): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax, for the "primitive" numeric types:

    This method enables the following syntax, for the "primitive" numeric types:

    aMatcherFactory and not equal (17.0 +- 0.2)
                            ^
    

  52. def equal(any: Any): MatcherFactory2[SC, TC1, Equality]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not equal (3 - 1)
                            ^
    

  53. def equals(arg0: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  55. def fullyMatch(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory1[SC with String, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not fullyMatch regex (decimal)
                            ^
    

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

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

    Definition Classes
    AnyRef → Any
  58. def have[U](firstPropertyMatcher: HavePropertyMatcher[U, _], propertyMatchers: HavePropertyMatcher[U, _]*): MatcherFactory1[SC with U, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not have (author ("Melville"))
                            ^
    

  59. def have(resultOfMessageWordApplication: ResultOfMessageWordApplication): MatcherFactory2[SC, TC1, Messaging]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not have message ("Message from Mars!")
                            ^
    

  60. def have(resultOfSizeWordApplication: ResultOfSizeWordApplication): MatcherFactory2[SC, TC1, Size]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not have size (3)
                            ^
    

  61. def have(resultOfLengthWordApplication: ResultOfLengthWordApplication): MatcherFactory2[SC, TC1, Length]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not have length (3)
                            ^
    

  62. def include(expectedSubstring: String): MatcherFactory1[SC with String, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not include ("1.7")
                            ^
    

  63. def include(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory1[SC with String, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not include regex (decimal)
                            ^
    

  64. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  65. def matchPattern(right: PartialFunction[Any, _]): Matcher[Any]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory and not matchPattern { case Person("Bob", _) =>}
                            ^
    

    Annotations
    @macroImpl()
  66. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  69. val owner: MatcherFactory1[SC, TC1]

    Get the MatcherFactory instance, currently used by macro only.

  70. def startWith(expectedSubstring: String): MatcherFactory1[SC with String, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not startWith ("1.7")
                            ^
    

  71. def startWith(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory1[SC with String, TC1]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory and not startWith regex (decimal)
                            ^
    

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

    Definition Classes
    AnyRef
  73. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped