AndNotWord
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers
for an overview of
the matchers DSL.
Value members
Concrete methods
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not be (3 - 1) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not be < (6) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not be (null) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory (8) and not be > (6) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not be <= (2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not be >= (6) ^
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.
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.
This method enables the following syntax given a MatcherFactory1
, where directory
is a BePropertyMatcher
:
This method enables the following syntax given a MatcherFactory1
, where directory
is a BePropertyMatcher
:
aMatcherFactory and not be (directory) ^
This method enables the following syntax given a MatcherFactory1
, where directory
is a BePropertyMatcher
:
This method enables the following syntax given a MatcherFactory1
, where directory
is a BePropertyMatcher
:
aMatcherFactory and not be a (directory) ^
This method enables the following syntax given a MatcherFactory1
, where apple
is a BePropertyMatcher
:
This method enables the following syntax given a MatcherFactory1
, where apple
is a BePropertyMatcher
:
aMatcherFactory and not be an (apple) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not be a [Book] ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not be an [Apple] ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not be theSameInstanceAs (otherString) ^
This method enables the following syntax, for the "primitive" numeric types:
This method enables the following syntax, for the "primitive" numeric types:
aMatcherFactory and not be (17.0 +- 0.2) ^
This method enables the following syntax, where fraction
is a PartialFunction
:
This method enables the following syntax, where fraction
is a PartialFunction
:
aMatcherFactory and not be definedAt (8) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory and not be sorted ^
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory and not be readable ^
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory and not be writable ^
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory and not be empty ^
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory and not be defined ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain (3) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain key ("three") ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain value (3) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain oneOf (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain oneElementOf (List(8, 1, 2)) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain atLeastOneOf (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain atLeastOneOf (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain noneOf (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain noElementsOf (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain theSameElementsAs (List(8, 1, 2)) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain theSameElementsInOrderAs (List(8, 1, 2)) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain only (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain inOrderOnly (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain allOf (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain allElementsOf (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain inOrder (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain inOrder (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain atMostOneOf (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not contain atMostOneElementOf (List(8, 1, 2)) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not endWith regex (decimal) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not endWith ("1.7") ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not equal (3 - 1) ^
This method enables the following syntax, for the "primitive" numeric types:
This method enables the following syntax, for the "primitive" numeric types:
aMatcherFactory and not equal (17.0 +- 0.2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not equal (null) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not fullyMatch regex (decimal) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not have length (3) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not have size (3) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not have message ("Message from Mars!") ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not have (author ("Melville")) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not include regex (decimal) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not include ("1.7") ^
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory and not matchPattern { case Person("Bob", _) =>} ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory and not startWith regex (decimal) ^