Packages

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
MatcherFactory2.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OrNotWord
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OrNotWord()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def be(definedWord: DefinedWord): MatcherFactory3[SC, TC1, TC2, Definition]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory or not be defined
                           ^
    

  6. def be(emptyWord: EmptyWord): MatcherFactory3[SC, TC1, TC2, Emptiness]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory or not be empty
                           ^
    

  7. def be(writableWord: WritableWord): MatcherFactory3[SC, TC1, TC2, Writability]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory or not be writable
                           ^
    

  8. def be(readableWord: ReadableWord): MatcherFactory3[SC, TC1, TC2, Readability]

    This method enables the following syntax:

    This method enables the following syntax:

    aMatcherFactory or not be readable
                           ^
    

  9. def be(sortedWord: SortedWord): MatcherFactory3[SC, TC1, TC2, 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
                           ^
    

  10. def be[A, U <: PartialFunction[A, _]](resultOfDefinedAt: ResultOfDefinedAt[A]): MatcherFactory2[SC with U, TC1, TC2]

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

  11. def be[U](spread: Spread[U]): MatcherFactory2[SC with U, TC1, TC2]

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

  12. def be(resultOfTheSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication): MatcherFactory2[SC, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not be theSameInstanceAs (string)
                           ^
    

  13. macro def be(anType: ResultOfAnTypeInvocation[_]): MatcherFactory2[SC, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not be an [Apple]
                           ^
    

  14. macro def be(aType: ResultOfATypeInvocation[_]): MatcherFactory2[SC, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not be a [Book]
                           ^
    

  15. def be[U](resultOfAnWordApplication: ResultOfAnWordToAnMatcherApplication[U]): MatcherFactory2[SC with U, TC1, TC2]

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

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

    aMatcherFactory and not be an (invalidMarks)
                            ^
    

  16. def be[U <: AnyRef](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[U]): MatcherFactory2[SC with U, TC1, TC2]

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

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

    aMatcherFactory or not be an (apple)
                           ^
    

  17. def be(resultOfAnWordApplication: ResultOfAnWordToSymbolApplication): MatcherFactory2[SC, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not be an ('apple)
                           ^
    

  18. def be[U <: AnyRef](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U]): MatcherFactory2[SC with U, TC1, TC2]

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

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

    aMatcherFactory or not be a (file)
                           ^
    

  19. def be[U](resultOfAWordApplication: ResultOfAWordToAMatcherApplication[U]): MatcherFactory2[SC with U, TC1, TC2]

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

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

    aMatcherFactory or not be a (validMarks)
                           ^
    

  20. def be(resultOfAWordApplication: ResultOfAWordToSymbolApplication): MatcherFactory2[SC, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not be a ('file)
                           ^
    

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

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

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

    aMatcherFactory or not be (file)
                           ^
    

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

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

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

    aMatcherFactory or not be (odd)
                           ^
    

  23. def be(symbol: Symbol): MatcherFactory2[SC, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not be ('empty)
                           ^
    

  24. def be(tripleEqualsInvocation: TripleEqualsInvocation[_]): MatcherFactory2[SC, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not be === (8)
                           ^
    

  25. def be[U](resultOfGreaterThanOrEqualToComparison: ResultOfGreaterThanOrEqualToComparison[U]): MatcherFactory2[SC with U, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not be >= (6)
                           ^
    

  26. def be[U](resultOfLessThanOrEqualToComparison: ResultOfLessThanOrEqualToComparison[U]): MatcherFactory2[SC with U, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not be <= (2)
                           ^
    

  27. def be[U](resultOfGreaterThanComparison: ResultOfGreaterThanComparison[U]): MatcherFactory2[SC with U, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not be > (6)
                           ^
    

  28. def be[U](resultOfLessThanComparison: ResultOfLessThanComparison[U]): MatcherFactory2[SC with U, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not be < (8)
                           ^
    

  29. def be(o: Null): MatcherFactory2[SC, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not be (null)
                           ^
    

  30. def be(any: Any): MatcherFactory2[SC, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not be (2)
                           ^
    

  31. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def contain(right: ResultOfAtMostOneOfApplication): MatcherFactory3[SC, TC1, TC2, Aggregating]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

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

  33. def contain(right: ResultOfInOrderApplication): MatcherFactory3[SC, TC1, TC2, Sequencing]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

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

  34. def contain(right: ResultOfAllOfApplication): MatcherFactory3[SC, TC1, TC2, Aggregating]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

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

  35. def contain(right: ResultOfInOrderOnlyApplication): MatcherFactory3[SC, TC1, TC2, Sequencing]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

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

  36. def contain(right: ResultOfOnlyApplication): MatcherFactory3[SC, TC1, TC2, Aggregating]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

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

  37. def contain(right: ResultOfTheSameElementsInOrderAsApplication): MatcherFactory3[SC, TC1, TC2, Sequencing]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

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

  38. def contain(right: ResultOfTheSameElementsAsApplication): MatcherFactory3[SC, TC1, TC2, Aggregating]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

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

  39. def contain(right: ResultOfNoneOfApplication): MatcherFactory3[SC, TC1, TC2, Containing]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

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

  40. def contain(right: ResultOfAtLeastOneOfApplication): MatcherFactory3[SC, TC1, TC2, Aggregating]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

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

  41. def contain(right: ResultOfOneOfApplication): MatcherFactory3[SC, TC1, TC2, Containing]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

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

  42. def contain(resultOfValueWordApplication: ResultOfValueWordApplication): MatcherFactory3[SC, TC1, TC2, ValueMapping]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not contain value (3)
                           ^
    

  43. def contain(resultOfKeyWordApplication: ResultOfKeyWordApplication): MatcherFactory3[SC, TC1, TC2, KeyMapping]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not contain key ("three")
                           ^
    

  44. def contain[U](expectedElement: U): MatcherFactory3[SC, TC1, TC2, Containing]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not contain (3)
                           ^
    

  45. def endWith(expectedSubstring: String): MatcherFactory2[SC with String, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not endWith ("1.7")
                           ^
    

  46. def endWith(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory2[SC with String, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not endWith regex (decimal)
                           ^
    

  47. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. def equal(o: Null): MatcherFactory2[SC, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not equal (null)
                           ^
    

  49. def equal[U](spread: Spread[U]): MatcherFactory2[SC with U, TC1, TC2]

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

  50. def equal(any: Any): MatcherFactory3[SC, TC1, TC2, Equality]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not equal (3 - 1)
                           ^
    

  51. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  52. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  53. def fullyMatch(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory2[SC with String, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not fullyMatch regex (decimal)
                           ^
    

  54. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  55. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  56. def have[U](firstPropertyMatcher: HavePropertyMatcher[U, _], propertyMatchers: HavePropertyMatcher[U, _]*): MatcherFactory2[SC with U, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

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

  57. def have(resultOfMessageWordApplication: ResultOfMessageWordApplication): MatcherFactory3[SC, TC1, TC2, Messaging]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

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

  58. def have(resultOfSizeWordApplication: ResultOfSizeWordApplication): MatcherFactory3[SC, TC1, TC2, Size]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not have size (3)
                           ^
    

  59. def have(resultOfLengthWordApplication: ResultOfLengthWordApplication): MatcherFactory3[SC, TC1, TC2, Length]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not have length (3)
                           ^
    

  60. def include(expectedSubstring: String): MatcherFactory2[SC with String, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not include ("1.7")
                           ^
    

  61. def include(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory2[SC with String, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not include regex (decimal)
                           ^
    

  62. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  63. macro 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", _) =>}
                           ^
    

  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. val owner: MatcherFactory2[SC, TC1, TC2]

    Get the MatcherFactory instance, currently used by macro.

    Get the MatcherFactory instance, currently used by macro.

  68. def startWith(expectedSubstring: String): MatcherFactory2[SC with String, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not startWith ("1.7")
                           ^
    

  69. def startWith(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory2[SC with String, TC1, TC2]

    This method enables the following syntax given a MatcherFactory2:

    This method enables the following syntax given a MatcherFactory2:

    aMatcherFactory or not startWith regex (decimal)
                           ^
    

  70. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  71. def toString(): String
    Definition Classes
    AnyRef → Any
  72. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped