org.scalatest.matchers.MatcherFactory4

OrNotWord

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

Instance Constructors

  1. new OrNotWord(prettifier: Prettifier, pos: Position)

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): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Definition]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory or not be defined
                           ^
    

  8. def be(emptyWord: EmptyWord): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Emptiness]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory or not be empty
                           ^
    

  9. def be(writableWord: WritableWord): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Writability]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory or not be writable
                           ^
    

  10. def be(readableWord: ReadableWord): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Readability]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory or not be readable
                           ^
    

  11. def be(sortedWord: SortedWord): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Sortable]

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

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

    aMatcherFactory or not be sorted
                           ^
    

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

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

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

    aMatcherFactory or not be definedAt (8)
                           ^
    

  13. def be[U](spread: Spread[U]): MatcherFactory4[SC with U, TC1, TC2, TC3, TC4]

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

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

    aMatcherFactory or not be (17.0 +- 0.2)
                           ^
    

  14. def be(resultOfTheSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication): MatcherFactory4[SC, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not be theSameInstanceAs (string)
                           ^
    

  15. def be(anType: ResultOfAnTypeInvocation[_]): MatcherFactory4[SC, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not be an [Apple]
                           ^
    

    Annotations
    @macroImpl( ... )
  16. def be(aType: ResultOfATypeInvocation[_]): MatcherFactory4[SC, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not be a [Book]
                           ^
    

    Annotations
    @macroImpl( ... )
  17. def be[U](resultOfAnWordApplication: ResultOfAnWordToAnMatcherApplication[U]): MatcherFactory4[SC with U, TC1, TC2, TC3, TC4]

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

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

    aMatcherFactory and not be an (invalidMarks)
                            ^
    

  18. def be[U <: AnyRef](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[U]): MatcherFactory4[SC with U, TC1, TC2, TC3, TC4]

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

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

    aMatcherFactory or not be an (apple)
                           ^
    

  19. def be[U <: AnyRef](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U]): MatcherFactory4[SC with U, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4, where file is a BePropertyMatcher:

    This method enables the following syntax given a MatcherFactory4, where file is a BePropertyMatcher:

    aMatcherFactory or not be a (file)
                           ^
    

  20. def be[U](resultOfAWordApplication: ResultOfAWordToAMatcherApplication[U]): MatcherFactory4[SC with U, TC1, TC2, TC3, TC4]

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

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

    aMatcherFactory or not be a (validMarks)
                           ^
    

  21. def be[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory4[SC with U, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4, where file is a BePropertyMatcher:

    This method enables the following syntax given a MatcherFactory4, where file is a BePropertyMatcher:

    aMatcherFactory or not be (file)
                           ^
    

  22. def be[U](beMatcher: BeMatcher[U]): MatcherFactory4[SC with U, TC1, TC2, TC3, TC4]

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

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

    aMatcherFactory or not be (odd)
                           ^
    

  23. def be(tripleEqualsInvocation: TripleEqualsInvocation[_]): MatcherFactory4[SC, TC1, TC2, TC3, TC4]

    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.

  24. def be[U](resultOfGreaterThanOrEqualToComparison: ResultOfGreaterThanOrEqualToComparison[U]): MatcherFactory4[SC with U, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not be >= (6)
                           ^
    

  25. def be[U](resultOfLessThanOrEqualToComparison: ResultOfLessThanOrEqualToComparison[U]): MatcherFactory4[SC with U, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not be <= (2)
                           ^
    

  26. def be[U](resultOfGreaterThanComparison: ResultOfGreaterThanComparison[U]): MatcherFactory4[SC with U, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not be > (6)
                           ^
    

  27. def be[U](resultOfLessThanComparison: ResultOfLessThanComparison[U]): MatcherFactory4[SC with U, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not be < (8)
                           ^
    

  28. def be(o: Null): MatcherFactory4[SC, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not be (null)
                           ^
    

  29. def be(any: Any): MatcherFactory4[SC, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not be (2)
                           ^
    

  30. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def contain(right: ResultOfAtMostOneElementOfApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Aggregating]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not contain atMostOneElementOf (List(8, 1, 2))
                           ^
    

  32. def contain(right: ResultOfAtMostOneOfApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Aggregating]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  33. def contain(right: ResultOfInOrderElementsOfApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Sequencing]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not contain inOrderElementsOf (8, 1, 2)
                           ^
    

  34. def contain(right: ResultOfInOrderApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Sequencing]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  35. def contain(right: ResultOfAllElementsOfApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Aggregating]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  36. def contain(right: ResultOfAllOfApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Aggregating]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  37. def contain(right: ResultOfInOrderOnlyApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Sequencing]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  38. def contain(right: ResultOfOnlyApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Aggregating]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  39. def contain(right: ResultOfTheSameElementsInOrderAsApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Sequencing]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  40. def contain(right: ResultOfTheSameElementsAsApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Aggregating]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  41. def contain(right: ResultOfNoElementsOfApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Containing]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not contain noElementsOf (8, 1, 2)
                           ^
    

  42. def contain(right: ResultOfNoneOfApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Containing]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  43. def contain(right: ResultOfAtLeastOneElementOfApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Aggregating]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not contain atLeastOneElementOf (8, 1, 2)
                           ^
    

  44. def contain(right: ResultOfAtLeastOneOfApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Aggregating]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  45. def contain(right: ResultOfOneElementOfApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Containing]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  46. def contain(right: ResultOfOneOfApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Containing]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  47. def contain(resultOfValueWordApplication: ResultOfValueWordApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, ValueMapping]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not contain value (3)
                           ^
    

  48. def contain(resultOfKeyWordApplication: ResultOfKeyWordApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, KeyMapping]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not contain key ("three")
                           ^
    

  49. def contain[U](expectedElement: U): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Containing]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not contain (3)
                           ^
    

  50. def endWith(expectedSubstring: String): MatcherFactory4[SC with String, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not endWith ("1.7")
                           ^
    

  51. def endWith(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory4[SC with String, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not endWith regex (decimal)
                           ^
    

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

    Definition Classes
    AnyRef
  53. def equal(o: Null): MatcherFactory4[SC, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not equal (null)
                           ^
    

  54. def equal[U](spread: Spread[U]): MatcherFactory4[SC with U, TC1, TC2, TC3, TC4]

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

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

    aMatcherFactory or not equal (17.0 +- 0.2)
                           ^
    

  55. def equal(any: Any): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Equality]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not equal (3 - 1)
                           ^
    

  56. def equals(arg0: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  58. def fullyMatch(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory4[SC with String, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not fullyMatch regex (decimal)
                           ^
    

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

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

    Definition Classes
    AnyRef → Any
  61. def have[U](firstPropertyMatcher: HavePropertyMatcher[U, _], propertyMatchers: HavePropertyMatcher[U, _]*): MatcherFactory4[SC with U, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  62. def have(resultOfMessageWordApplication: ResultOfMessageWordApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Messaging]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

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

  63. def have(resultOfSizeWordApplication: ResultOfSizeWordApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Size]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not have size (3)
                           ^
    

  64. def have(resultOfLengthWordApplication: ResultOfLengthWordApplication): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Length]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not have length (3)
                           ^
    

  65. def include(expectedSubstring: String): MatcherFactory4[SC with String, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not include ("1.7")
                           ^
    

  66. def include(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory4[SC with String, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not include regex (decimal)
                           ^
    

  67. final def isInstanceOf[T0]: Boolean

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

    This method enables the following syntax:

    This method enables the following syntax:

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

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

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

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

    Definition Classes
    AnyRef
  72. val owner: MatcherFactory4[SC, TC1, TC2, TC3, TC4]

    Get the MatcherFactory instance, currently used by macro.

    Get the MatcherFactory instance, currently used by macro.

  73. def startWith(expectedSubstring: String): MatcherFactory4[SC with String, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not startWith ("1.7")
                           ^
    

  74. def startWith(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory4[SC with String, TC1, TC2, TC3, TC4]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory or not startWith regex (decimal)
                           ^
    

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

    Definition Classes
    AnyRef
  76. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped