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
- MatcherFactory8.scala
- Alphabetic
- By Inheritance
- AndNotWord
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AndNotWord(prettifier: Prettifier, pos: Position)
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): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, [-T]Definition[T]]
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory and not be defined ^
- def be(emptyWord: EmptyWord): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, [-T]Emptiness[T]]
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory and not be empty ^
- def be(writableWord: WritableWord): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, [-T]Writability[T]]
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory and not be writable ^
- def be(readableWord: ReadableWord): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, [-T]Readability[T]]
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory and not be readable ^
- def be(sortedWord: SortedWord): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, [-S]Sortable[S]]
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory and not be sorted ^
- def be[A, U <: PartialFunction[A, _]](resultOfDefinedAt: ResultOfDefinedAt[A]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax, where
fraction
is aPartialFunction
:This method enables the following syntax, where
fraction
is aPartialFunction
:aMatcherFactory and not be definedAt (8) ^
- def be[U](spread: Spread[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
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) ^
- def be(resultOfTheSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not be theSameInstanceAs (otherString) ^
- macro def be(anType: ResultOfAnTypeInvocation[_]): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not be an [Apple] ^
- macro def be(aType: ResultOfATypeInvocation[_]): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not be a [Book] ^
- def be[U](resultOfAnWordApplication: ResultOfAnWordToAnMatcherApplication[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
, whereinvalidMarks
is aAnMatcher
:This method enables the following syntax given a
MatcherFactory8
, whereinvalidMarks
is aAnMatcher
:aMatcherFactory and not be an (invalidMarks) ^
- def be[SC <: AnyRef](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[SC]): MatcherFactory8[SC with SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
, whereapple
is aBePropertyMatcher
:This method enables the following syntax given a
MatcherFactory8
, whereapple
is aBePropertyMatcher
:aMatcherFactory and not be an (apple) ^
- def be[U <: AnyRef](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
, wheredirectory
is aBePropertyMatcher
:This method enables the following syntax given a
MatcherFactory8
, wheredirectory
is aBePropertyMatcher
:aMatcherFactory and not be a (directory) ^
- def be[U](resultOfAWordApplication: ResultOfAWordToAMatcherApplication[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
, wherevalidMarks
is anAMatcher
:This method enables the following syntax given a
MatcherFactory8
, wherevalidMarks
is anAMatcher
:aMatcherFactory and not be a (validMarks) ^
- def be[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
, wheredirectory
is aBePropertyMatcher
:This method enables the following syntax given a
MatcherFactory8
, wheredirectory
is aBePropertyMatcher
:aMatcherFactory and not be (directory) ^
- def be[U](beMatcher: BeMatcher[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
, whereodd
is aBeMatcher
:This method enables the following syntax given a
MatcherFactory8
, whereodd
is aBeMatcher
:aMatcherFactory and not be (odd) ^
- def be(tripleEqualsInvocation: TripleEqualsInvocation[_]): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
The deprecation period for the should be === syntax has expired, and the syntax may no longer be used. Please use should equal, should ===, shouldEqual, should be, or shouldBe instead.
The deprecation period for the should be === syntax has expired, and the syntax may no longer be used. 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.
- def be[U](resultOfGreaterThanOrEqualToComparison: ResultOfGreaterThanOrEqualToComparison[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not be >= (6) ^
- def be[U](resultOfLessThanOrEqualToComparison: ResultOfLessThanOrEqualToComparison[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not be <= (2) ^
- def be[U](resultOfGreaterThanComparison: ResultOfGreaterThanComparison[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory (8) and not be > (6) ^
- def be(o: Null): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not be (null) ^
- def be[U](resultOfLessThanComparison: ResultOfLessThanComparison[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not be < (6) ^
- def be(any: Any): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not be (3 - 1) ^
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def contain(right: ResultOfAtMostOneElementOfApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain atMostOneElementOf (List(8, 1, 2)) ^
- def contain(right: ResultOfAtMostOneOfApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain atMostOneOf (8, 1, 2) ^
- def contain(right: ResultOfInOrderElementsOfApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Sequencing]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain inOrder (8, 1, 2) ^
- def contain(right: ResultOfInOrderApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Sequencing]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain inOrder (8, 1, 2) ^
- def contain(right: ResultOfAllElementsOfApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain allElementsOf (8, 1, 2) ^
- def contain(right: ResultOfAllOfApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain allOf (8, 1, 2) ^
- def contain(right: ResultOfInOrderOnlyApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Sequencing]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain inOrderOnly (8, 1, 2) ^
- def contain(right: ResultOfOnlyApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain only (8, 1, 2) ^
- def contain(right: ResultOfTheSameElementsInOrderAsApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Sequencing]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain theSameElementsInOrderAs (List(8, 1, 2)) ^
- def contain(right: ResultOfTheSameElementsAsApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain theSameElementsAs (List(8, 1, 2)) ^
- def contain(right: ResultOfNoElementsOfApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Containing]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain noElementsOf (8, 1, 2) ^
- def contain(right: ResultOfNoneOfApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Containing]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain noneOf (8, 1, 2) ^
- def contain(right: ResultOfAtLeastOneElementOfApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain atLeastOneOf (8, 1, 2) ^
- def contain(right: ResultOfAtLeastOneOfApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain atLeastOneOf (8, 1, 2) ^
- def contain(right: ResultOfOneElementOfApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Containing]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain oneElementOf (List(8, 1, 2)) ^
- def contain(right: ResultOfOneOfApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Containing]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain oneOf (8, 1, 2) ^
- def contain(resultOfValueWordApplication: ResultOfValueWordApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, ValueMapping]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain value (3) ^
- def contain(resultOfKeyWordApplication: ResultOfKeyWordApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, KeyMapping]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain key ("three") ^
- def contain[U](expectedElement: U): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Containing]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not contain (3) ^
- def endWith(expectedSubstring: String): MatcherFactory8[SC with String, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not endWith ("1.7") ^
- def endWith(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory8[SC with String, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not endWith regex (decimal) ^
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equal(o: Null): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not equal (null) ^
- def equal[U](spread: Spread[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
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) ^
- def equal(any: Any): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Equality]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not equal (3 - 1) ^
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fullyMatch(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory8[SC with String, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and 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, _]*): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not have (author ("Melville")) ^
- def have(resultOfMessageWordApplication: ResultOfMessageWordApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Messaging]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not have message ("Message from Mars!") ^
- def have(resultOfSizeWordApplication: ResultOfSizeWordApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Size]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not have size (3) ^
- def have(resultOfLengthWordApplication: ResultOfLengthWordApplication): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Length]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not have length (3) ^
- def include(expectedSubstring: String): MatcherFactory8[SC with String, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not include ("1.7") ^
- def include(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory8[SC with String, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and 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:
aMatcherFactory and 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: MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
Get the
MatcherFactory
instance, currently used by macro only. - def startWith(expectedSubstring: String): MatcherFactory8[SC with String, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and not startWith ("1.7") ^
- def startWith(resultOfRegexWordApplication: ResultOfRegexWordApplication): MatcherFactory8[SC with String, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and 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()