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
- Protected
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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should not be definedAt ("apple") ^
- def be(resultOfSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) should 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) should 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) should 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) should 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) should not be (odd) ^
- def be(comparison: ResultOfGreaterThanComparison[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be > (7) ^
- def be(comparison: ResultOfLessThanComparison[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be < (7) ^
- def be(comparison: ResultOfGreaterThanOrEqualToComparison[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be >= (7) ^
- def be(comparison: ResultOfLessThanOrEqualToComparison[T]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be <= (7) ^
- def be(right: Any): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be (7) ^
- def clone(): AnyRef
- Attributes
- protected[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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should not equal (7) ^
- 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)(implicit ev: <:<[T, String]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(string) should 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) should 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) should 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) should 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) should 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) should 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) should 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) should 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], [shouldBeTrue])"
- 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 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.
- Annotations
- @deprecated
- Deprecated
The deprecation period for the be === syntax has expired. Please use should equal, should ===, shouldEqual, should be, or shouldBe instead.