final class ResultOfNotWordForCollectedAny[T] extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers
for an overview of
the matchers DSL.
- Source
- Matchers.scala
- Alphabetic
- By Inheritance
- ResultOfNotWordForCollectedAny
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
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)(implicit definition: Definition[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be defined ^
- def be(emptyWord: EmptyWord)(implicit emptiness: Emptiness[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be empty ^
- def be(writableWord: WritableWord)(implicit writability: Writability[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be writable ^
- def be(readableWord: ReadableWord)(implicit readability: Readability[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be readable ^
- def be(sortedWord: SortedWord)(implicit sortable: Sortable[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be sorted ^
- def be(resultOfAnWordApplication: ResultOfAnWordToSymbolApplication)(implicit toAnyRef: <:<[T, AnyRef]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be an ('actionKey) ^
- def be(resultOfAWordApplication: ResultOfAWordToSymbolApplication)(implicit toAnyRef: <:<[T, AnyRef]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be a ('file) ^
- def be(symbol: Symbol)(implicit toAnyRef: <:<[T, AnyRef]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be ('empty) ^
- def be(o: Null)(implicit ev: <:<[T, AnyRef]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be (null) ^
- def be[U](resultOfDefinedAt: ResultOfDefinedAt[U])(implicit ev: <:<[T, PartialFunction[U, _]]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be definedAt ("apple") ^
- def be(resultOfSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be theSameInstanceAs (string) ^
- def be[U >: T](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[U]): Assertion
This method enables the following syntax, where
keyEvent
is, for example, of typeKeyEvent
andactionKey
refers to aBePropertyMatcher[KeyEvent]
:This method enables the following syntax, where
keyEvent
is, for example, of typeKeyEvent
andactionKey
refers to aBePropertyMatcher[KeyEvent]
:all(keyEvents) must not be an (actionKey) ^
- def be[U >: T](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U]): Assertion
This method enables the following syntax, where
notFileMock
is, for example, of typeFile
andfile
refers to aBePropertyMatcher[File]
:This method enables the following syntax, where
notFileMock
is, for example, of typeFile
andfile
refers to aBePropertyMatcher[File]
:all(xs) must not be a (file) ^
- def be(bePropertyMatcher: BePropertyMatcher[T]): Assertion
This method enables the following syntax, where
stack
is, for example, of typeStack
andempty
refers to aBePropertyMatcher[Stack]
:This method enables the following syntax, where
stack
is, for example, of typeStack
andempty
refers to aBePropertyMatcher[Stack]
:all(xs) must not be (empty) ^
- def be(beMatcher: BeMatcher[T]): Assertion
This method enables the following syntax, where
odd
refers to aBeMatcher[Int]
:This method enables the following syntax, where
odd
refers to aBeMatcher[Int]
:all(xs) must not be (odd) ^
- def be(comparison: ResultOfGreaterThanComparison[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be > (7) ^
- def be(comparison: ResultOfLessThanComparison[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be < (7) ^
- def be(comparison: ResultOfGreaterThanOrEqualToComparison[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be >= (7) ^
- def be(comparison: ResultOfLessThanOrEqualToComparison[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be <= (7) ^
- def be(right: Any): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be (7) ^
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def contain(resultOfValueWordApplication: ResultOfValueWordApplication)(implicit valueMapping: ValueMapping[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(colOfMap) must not contain value (3) ^
- def contain(resultOfKeyWordApplication: ResultOfKeyWordApplication)(implicit keyMapping: KeyMapping[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(colOfMap) must not contain key ("three") ^
- def contain(atMostOneElementOf: ResultOfAtMostOneElementOfApplication)(implicit evidence: Aggregating[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain atMostOneElementOf List("one") ^
- def contain(atMostOneOf: ResultOfAtMostOneOfApplication)(implicit aggregating: Aggregating[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain atMostOneOf ("one") ^
- def contain(inOrderElementsOf: ResultOfInOrderElementsOfApplication)(implicit evidence: Sequencing[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain inOrderElementsOf (List("one")) ^
- def contain(inOrder: ResultOfInOrderApplication)(implicit sequencing: Sequencing[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain inOrder ("one") ^
- def contain(only: ResultOfAllElementsOfApplication)(implicit evidence: Aggregating[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain allElementsOf ("one") ^
- def contain(only: ResultOfAllOfApplication)(implicit aggregating: Aggregating[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain allOf ("one") ^
- def contain(only: ResultOfInOrderOnlyApplication)(implicit sequencing: Sequencing[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain inOrderOnly ("one", "two") ^
- def contain(only: ResultOfOnlyApplication)(implicit aggregating: Aggregating[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain only ("one") ^
- def contain(theSameElementsInOrderAs: ResultOfTheSameElementsInOrderAsApplication)(implicit sequencing: Sequencing[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain theSameElementsInOrderAs ("one") ^
- def contain(theSameElementsAs: ResultOfTheSameElementsAsApplication)(implicit aggregating: Aggregating[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain theSameElementsAs ("one") ^
- def contain(noElementsOf: ResultOfNoElementsOfApplication)(implicit evidence: Containing[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain noElementsOf ("one") ^
- def contain(noneOf: ResultOfNoneOfApplication)(implicit containing: Containing[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain noneOf ("one") ^
- def contain(atLeastOneElementOf: ResultOfAtLeastOneElementOfApplication)(implicit evidence: Aggregating[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain atLeastOneElementOf ("one") ^
- def contain(atLeastOneOf: ResultOfAtLeastOneOfApplication)(implicit aggregating: Aggregating[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain atLeastOneOf ("one") ^
- def contain(oneElementOf: ResultOfOneElementOfApplication)(implicit containing: Containing[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain oneElementOf ("one") ^
- def contain(oneOf: ResultOfOneOfApplication)(implicit containing: Containing[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain oneOf ("one") ^
- def contain(expectedElement: Any)(implicit containing: Containing[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain ("one") ^
- def contain(nullValue: Null)(implicit containing: Containing[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain (null) ^
- def endWith(resultOfRegexWordApplication: ResultOfRegexWordApplication)(implicit ev: <:<[T, String]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(string) must not endWith regex ("wor.d") ^
- def endWith(expectedSubstring: String)(implicit ev: <:<[T, String]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(string) must not endWith ("1.7") ^
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equal(right: Any)(implicit equality: Equality[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not equal (7) ^
- 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)(implicit ev: <:<[T, String]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(string) must not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""") ^
The regular expression passed following the
regex
token can be either aString
or ascala.util.matching.Regex
. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def have[U >: T](firstPropertyMatcher: HavePropertyMatcher[U, _], propertyMatchers: HavePropertyMatcher[U, _]*): Assertion
This method enables the following syntax, where
badBook
is, for example, of typeBook
andtitle ("One Hundred Years of Solitude")
results in aHavePropertyMatcher[Book]
:This method enables the following syntax, where
badBook
is, for example, of typeBook
andtitle ("One Hundred Years of Solitude")
results in aHavePropertyMatcher[Book]
:all(books) must not have (title ("One Hundred Years of Solitude")) ^
- def have(resultOfSizeWordApplication: ResultOfSizeWordApplication)(implicit sz: Size[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not have size (0) ^
- def have(resultOfLengthWordApplication: ResultOfLengthWordApplication)(implicit len: Length[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not have length (0) ^
- def include(expectedSubstring: String)(implicit ev: <:<[T, String]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(string) must not include ("world") ^
- def include(resultOfRegexWordApplication: ResultOfRegexWordApplication)(implicit ev: <:<[T, String]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(string) must not include regex ("wo.ld") ^
The regular expression passed following the
regex
token can be either aString
or ascala.util.matching.Regex
. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- def startWith(resultOfRegexWordApplication: ResultOfRegexWordApplication)(implicit ev: <:<[T, String]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(string) must not startWith regex ("Hel*o") ^
The regular expression passed following the
regex
token can be either aString
or ascala.util.matching.Regex
. - def startWith(right: String)(implicit ev: <:<[T, String]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(string) must not startWith ("1.7") ^
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
Overrides to return pretty toString.
Overrides to return pretty toString.
- returns
"ResultOfNotWordForCollectedAny([collected], [xs], [mustBeTrue])"
- Definition Classes
- ResultOfNotWordForCollectedAny → 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()
Deprecated Value Members
- def be(comparison: TripleEqualsInvocation[_]): Nothing
The deprecation period for the "be ===" syntax has expired, and the syntax will now throw
NotAllowedException
. Please use must equal, must ===, mustEqual, must be, or mustBe instead.The deprecation period for the "be ===" syntax has expired, and the syntax will now throw
NotAllowedException
. Please use must equal, must ===, mustEqual, must be, or mustBe 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.
- Annotations
- @deprecated
- Deprecated
The deprecation period for the be === syntax has expired. Please use must equal, must ===, mustEqual, must be, or mustBe instead.