ResultOfNotWordForCollectedAny
This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers
for an overview of
the matchers DSL.
Value members
Concrete methods
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be (7) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be <= (7) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be >= (7) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be < (7) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be > (7) ^
This method enables the following syntax, where odd
refers to
a BeMatcher[Int]
:
This method enables the following syntax, where odd
refers to
a BeMatcher[Int]
:
all(xs) must not be (odd) ^
This method enables the following syntax, where stack
is, for example, of type Stack
and
empty
refers to a BePropertyMatcher[Stack]
:
This method enables the following syntax, where stack
is, for example, of type Stack
and
empty
refers to a BePropertyMatcher[Stack]
:
all(xs) must not be (empty) ^
This method enables the following syntax, where notFileMock
is, for example, of type File
and
file
refers to a BePropertyMatcher[File]
:
This method enables the following syntax, where notFileMock
is, for example, of type File
and
file
refers to a BePropertyMatcher[File]
:
all(xs) must not be a (file) ^
This method enables the following syntax, where keyEvent
is, for example, of type KeyEvent
and
actionKey
refers to a BePropertyMatcher[KeyEvent]
:
This method enables the following syntax, where keyEvent
is, for example, of type KeyEvent
and
actionKey
refers to a BePropertyMatcher[KeyEvent]
:
all(keyEvents) must not be an (actionKey) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be theSameInstanceAs (string) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be definedAt ("apple") ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be (null) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be sorted ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be readable ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be writable ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be empty ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not be defined ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain (null) ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain oneOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain oneElementOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain atLeastOneOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain atLeastOneElementOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain noneOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain noElementsOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain theSameElementsAs ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain theSameElementsInOrderAs ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain only ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain inOrderOnly ("one", "two") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain allOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain allElementsOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain inOrder ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain inOrderElementsOf (List("one")) ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain atMostOneOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) must not contain atMostOneElementOf List("one") ^
This method enables the following syntax:
This method enables the following syntax:
all(colOfMap) must not contain key ("three") ^
This method enables the following syntax:
This method enables the following syntax:
all(colOfMap) must not contain value (3) ^
This method enables the following syntax:
This method enables the following syntax:
all(string) must not endWith ("1.7") ^
This method enables the following syntax:
This method enables the following syntax:
all(string) must not endWith regex ("wor.d") ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not equal (7) ^
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 a String
or a scala.util.matching.Regex
.
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not have length (0) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) must not have size (0) ^
This method enables the following syntax, where badBook
is, for example, of type Book
and
title ("One Hundred Years of Solitude")
results in a HavePropertyMatcher[Book]
:
This method enables the following syntax, where badBook
is, for example, of type Book
and
title ("One Hundred Years of Solitude")
results in a HavePropertyMatcher[Book]
:
all(books) must not have (title ("One Hundred Years of Solitude")) ^
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 a String
or a scala.util.matching.Regex
.
This method enables the following syntax:
This method enables the following syntax:
all(string) must not include ("world") ^
This method enables the following syntax:
This method enables the following syntax:
all(string) must not startWith ("1.7") ^
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 a String
or a scala.util.matching.Regex
.
Deprecated methods
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.
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.
- Deprecated