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