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
- Matcher.scala
- Alphabetic
- By Inheritance
- OrNotWord
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new OrNotWord()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def be(definedWord: DefinedWord): MatcherFactory1[T, [-T]Definition[T]]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be defined ^
- def be(writableWord: WritableWord): MatcherFactory1[T, [-T]Writability[T]]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be writable ^
- def be(emptyWord: EmptyWord): MatcherFactory1[T, [-T]Emptiness[T]]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be empty ^
- def be(readableWord: ReadableWord): MatcherFactory1[T, [-T]Readability[T]]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be readable ^
- def be(sortedWord: SortedWord): MatcherFactory1[T, [-S]Sortable[S]]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be sorted ^
- def be[A, U <: PartialFunction[A, _]](resultOfDefinedAt: ResultOfDefinedAt[A]): Matcher[T with U]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be definedAt (8) ^
- def be[U](spread: Spread[U]): Matcher[T with U]
This method enables the following syntax for the "primitive" numeric types:
This method enables the following syntax for the "primitive" numeric types:
aMatcher or not be (17.0 +- 0.2) ^
- def be(resultOfTheSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication): Matcher[T]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be theSameInstanceAs (string) ^
- macro def be(anType: ResultOfAnTypeInvocation[_]): Matcher[T]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be an [Book] ^
- macro def be(aType: ResultOfATypeInvocation[_]): Matcher[T]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be a [Book] ^
- def be[U](resultOfAnWordApplication: ResultOfAnWordToAnMatcherApplication[U]): Matcher[T with U]
This method enables the following syntax, where
invalidMarks
is anAnMatcher
:This method enables the following syntax, where
invalidMarks
is anAnMatcher
:aMatcher and not be an (invalidMarks) ^
- def be[U <: AnyRef](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[U]): Matcher[T with U]
This method enables the following syntax, where
apple
is aBePropertyMatcher
:This method enables the following syntax, where
apple
is aBePropertyMatcher
:aMatcher or not be an (apple) ^
- def be(resultOfAnWordApplication: ResultOfAnWordToSymbolApplication): Matcher[T]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be an ('apple) ^
- def be[U <: AnyRef](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U]): Matcher[T with U]
This method enables the following syntax, where
file
is aBePropertyMatcher
:This method enables the following syntax, where
file
is aBePropertyMatcher
:aMatcher or not be a (file) ^
- def be[U](resultOfAWordApplication: ResultOfAWordToAMatcherApplication[U]): Matcher[T with U]
This method enables the following syntax, where
validMarks
is anAMatcher
:This method enables the following syntax, where
validMarks
is anAMatcher
:aMatcher or not be a (validMarks) ^
- def be(resultOfAWordApplication: ResultOfAWordToSymbolApplication): Matcher[T]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be a ('file) ^
- def be[U](bePropertyMatcher: BePropertyMatcher[U]): Matcher[T with U]
This method enables the following syntax, where
file
is aBePropertyMatcher
:This method enables the following syntax, where
file
is aBePropertyMatcher
:aMatcher or not be (file) ^
- def be[U](beMatcher: BeMatcher[U]): Matcher[T with U]
This method enables the following syntax, where
odd
is aBeMatcher
:This method enables the following syntax, where
odd
is aBeMatcher
:aMatcher or not be (odd) ^
- def be(symbol: Symbol): Matcher[T]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be ('empty) ^
- def be(tripleEqualsInvocation: TripleEqualsInvocation[_]): Matcher[T]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be === (8) ^
- def be[U](resultOfGreaterThanOrEqualToComparison: ResultOfGreaterThanOrEqualToComparison[U]): Matcher[T with U]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be >= (6) ^
- def be[U](resultOfLessThanOrEqualToComparison: ResultOfLessThanOrEqualToComparison[U]): Matcher[T with U]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be <= (2) ^
- def be[U](resultOfGreaterThanComparison: ResultOfGreaterThanComparison[U]): Matcher[T with U]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be > (6) ^
- def be[U](resultOfLessThanComparison: ResultOfLessThanComparison[U]): Matcher[T with U]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be < (8) ^
- def be(o: Null): Matcher[T]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be (null) ^
- def be(any: Any): Matcher[T]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not be (2) ^
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def contain(resultOfValueWordApplication: ResultOfValueWordApplication): MatcherFactory1[T, ValueMapping]
This method enables the following syntax given a
Matcher
:This method enables the following syntax given a
Matcher
:aMatcher or not contain value (3) ^
- def contain(resultOfKeyWordApplication: ResultOfKeyWordApplication): MatcherFactory1[T, KeyMapping]
This method enables the following syntax given a
Matcher
:This method enables the following syntax given a
Matcher
:aMatcher or not contain key ("three") ^
- def contain(right: ResultOfAtMostOneElementOfApplication): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher not contain atMostOneElementOf (List(8, 1, 2)) ^
- def contain(right: ResultOfAtMostOneOfApplication): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher not contain atMostOneOf (8, 1, 2) ^
- def contain(right: ResultOfInOrderElementsOfApplication): MatcherFactory1[T, Sequencing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain inOrderElementsOf (List(8, 1, 2)) ^
- def contain(right: ResultOfInOrderApplication): MatcherFactory1[T, Sequencing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain inOrder (8, 1, 2) ^
- def contain(right: ResultOfAllElementsOfApplication): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain allElementsOf List(8, 1, 2) ^
- def contain(right: ResultOfAllOfApplication): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain allOf (8, 1, 2) ^
- def contain(right: ResultOfOnlyApplication): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain only (8, 1, 2) ^
- def contain(right: ResultOfInOrderOnlyApplication): MatcherFactory1[T, Sequencing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain inOrderOnly (8, 1, 2) ^
- def contain(right: ResultOfTheSameElementsInOrderAsApplication): MatcherFactory1[T, Sequencing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain theSameElementsInOrderAs (8, 1, 2) ^
- def contain(right: ResultOfTheSameElementsAsApplication): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain theSameElementsAs (8, 1, 2) ^
- def contain(right: ResultOfNoElementsOfApplication): MatcherFactory1[T, Containing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain noElementsOf (8, 1, 2) ^
- def contain(right: ResultOfNoneOfApplication): MatcherFactory1[T, Containing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain noneOf (8, 1, 2) ^
- def contain(right: ResultOfAtLeastOneElementOfApplication): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain atLeastOneElementOf (8, 1, 2) ^
- def contain(right: ResultOfAtLeastOneOfApplication): MatcherFactory1[T, Aggregating]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain atLeastOneOf (8, 1, 2) ^
- def contain(right: ResultOfOneElementOfApplication): MatcherFactory1[T, Containing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain oneElementOf (8, 1, 2) ^
- def contain(right: ResultOfOneOfApplication): MatcherFactory1[T, Containing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain oneOf (8, 1, 2) ^
- def contain[U](expectedElement: U): MatcherFactory1[T, Containing]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not contain (3) ^
- def endWith(expectedSubstring: String): Matcher[T with String]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not endWith ("1.7") ^
- def endWith(resultOfRegexWordApplication: ResultOfRegexWordApplication): Matcher[T with String]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not endWith regex (decimal) ^
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equal(o: Null): Matcher[T]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not equal (null) ^
- def equal[U](spread: Spread[U]): Matcher[T with U]
This method enables the following syntax for the "primitive" numeric types:
This method enables the following syntax for the "primitive" numeric types:
aMatcher or not equal (17.0 +- 0.2) ^
- def equal(any: Any): MatcherFactory1[T, Equality]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not equal (2) ^
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fullyMatch(resultOfRegexWordApplication: ResultOfRegexWordApplication): Matcher[T with String]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not fullyMatch regex (decimal) ^
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def have[U](firstPropertyMatcher: HavePropertyMatcher[U, _], propertyMatchers: HavePropertyMatcher[U, _]*): Matcher[T with U]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not have (author ("Melville")) ^
- def have(resultOfMessageWordApplication: ResultOfMessageWordApplication): MatcherFactory1[T, Messaging]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not have message ("Message from Mars!") ^
- def have(resultOfSizeWordApplication: ResultOfSizeWordApplication): MatcherFactory1[T, Size]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not have size (3) ^
- def have(resultOfLengthWordApplication: ResultOfLengthWordApplication): MatcherFactory1[T, Length]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not have length (3) ^
- def include(expectedSubstring: String): Matcher[T with String]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not include ("1.7") ^
- def include(resultOfRegexWordApplication: ResultOfRegexWordApplication): Matcher[T with String]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not include regex (decimal) ^
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- macro def matchPattern(right: PartialFunction[Any, _]): Matcher[Any]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not matchPattern { case Person("Bob", _) =>} ^
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val owner: Matcher[T]
Get the
Matcher
instance, currently used by macro only. - def startWith(expectedSubstring: String): Matcher[T with String]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not startWith ("1.7") ^
- def startWith(resultOfRegexWordApplication: ResultOfRegexWordApplication): Matcher[T with String]
This method enables the following syntax:
This method enables the following syntax:
aMatcher or not startWith regex (decimal) ^
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()