This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be defined ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be empty ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be writable ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be readable ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be sorted ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be an ('actionKey) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be a ('file) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be ('empty) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be (null) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be definedAt ("apple") ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be theSameInstanceAs (string) ^
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) should not be an (actionKey) ^
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) should not be a (file) ^
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) should not be (empty) ^
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) should not be (odd) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be > (7) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be < (7) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be >= (7) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be <= (7) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not be (7) ^
This method enables the following syntax:
This method enables the following syntax:
all(colOfMap) should not contain value (3) ^
This method enables the following syntax:
This method enables the following syntax:
all(colOfMap) should not contain key ("three") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) should not contain atMostOneOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) should not contain inOrder ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) should not contain allOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) should not contain inOrderOnly ("one", "two") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) should not contain only ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) should not contain theSameElementsInOrderAs ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) should not contain theSameElementsAs ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) should not contain noneOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) should not contain atLeastOneOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) should not contain oneOf ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all (xs) should not contain ("one") ^
This method enables the following syntax:
This method enables the following syntax:
all(string) should not endWith regex ("wor.d") ^
This method enables the following syntax:
This method enables the following syntax:
all(string) should not endWith ("1.7") ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not equal (7) ^
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 a String
or a scala.util.matching.Regex
.
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) should not have (title ("One Hundred Years of Solitude")) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not have size (0) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should not have length (0) ^
This method enables the following syntax:
This method enables the following syntax:
all(string) should not include ("world") ^
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 a String
or a scala.util.matching.Regex
.
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 a String
or a scala.util.matching.Regex
.
This method enables the following syntax:
This method enables the following syntax:
all(string) should not startWith ("1.7") ^
Overrides to return pretty toString.
Overrides to return pretty toString.
"ResultOfNotWordForCollectedAny([collected], [xs], [shouldBeTrue])"
The should be === syntax has been deprecated and will be removed in a future version of ScalaTest. Please use should equal, should ===, shouldEqual, should be, or shouldBe instead. Note, the reason this was deprecated was so that === would mean only one thing in ScalaTest: a customizable, type- checkable equality comparison.
The should be === syntax has been deprecated and will be removed in a future version of ScalaTest. Please use should equal, should ===, shouldEqual, should be, or shouldBe instead. Note, the reason this was deprecated was so that === would mean only one thing in ScalaTest: a customizable, type- checkable equality comparison.
This method enables the following syntax:
all(xs) should not be === (7) ^
The should be === syntax has been deprecated. Please use should equal, should ===, shouldEqual, should be, or shouldBe instead.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
InspectorsMatchers
for an overview of the matchers DSL.