OrNotWord
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers
for an overview of the matchers DSL.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Value members
Concrete methods
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not be (2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not be (null) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not be < (8) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not be > (6) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not be <= (2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not be >= (6) ^
Attributes
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 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.
Attributes
This method enables the following syntax given a MatcherFactory7
, where file
is a BePropertyMatcher
:
This method enables the following syntax given a MatcherFactory7
, where file
is a BePropertyMatcher
:
aMatcherFactory or not be (file) ^
Attributes
This method enables the following syntax given a MatcherFactory7
, where file
is a BePropertyMatcher
:
This method enables the following syntax given a MatcherFactory7
, where file
is a BePropertyMatcher
:
aMatcherFactory or not be a (file) ^
Attributes
This method enables the following syntax given a MatcherFactory7
, where apple
is a BePropertyMatcher
:
This method enables the following syntax given a MatcherFactory7
, where apple
is a BePropertyMatcher
:
aMatcherFactory or not be an (apple) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not be a [Book] ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not be an [Apple] ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not be theSameInstanceAs (string) ^
Attributes
This method enables the following syntax for the "primitive" numeric types:
This method enables the following syntax for the "primitive" numeric types:
aMatcherFactory or not be (17.0 +- 0.2) ^
Attributes
This method enables the following syntax, where fraction
is a PartialFunction
:
This method enables the following syntax, where fraction
is a PartialFunction
:
aMatcherFactory or not be definedAt (8) ^
Attributes
This method enables the following syntax, where fraction
is a PartialFunction
:
This method enables the following syntax, where fraction
is a PartialFunction
:
aMatcherFactory or not be sorted ^
Attributes
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory or not be readable ^
Attributes
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory or not be writable ^
Attributes
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory or not be empty ^
Attributes
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory or not be defined ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain (3) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain key ("three") ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain value (3) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain oneOf (8, 1, 2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain oneOf (8, 1, 2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain atLeastOneOf (8, 1, 2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain atLeastOneElementOf (8, 1, 2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain noneOf (8, 1, 2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain noElementsOf (8, 1, 2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain theSameElementsAs (List(8, 1, 2)) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain theSameElementsInOrderAs (List(8, 1, 2)) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain only (8, 1, 2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain inOrderOnly (8, 1, 2)) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain allOf (8, 1, 2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain allOf (8, 1, 2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain inOrder (8, 1, 2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain inOrderElementsOf (8, 1, 2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain atMostOneOf (8, 1, 2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not contain atMostOneElementOf (List(8, 1, 2)) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not endWith regex (decimal) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not endWith ("1.7") ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not equal (3 - 1) ^
Attributes
This method enables the following syntax for the "primitive" numeric types:
This method enables the following syntax for the "primitive" numeric types:
aMatcherFactory or not equal (17.0 +- 0.2) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not equal (null) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not fullyMatch regex (decimal) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not have length (3) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not have size (3) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not have message ("Message from Mars!") ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not have (author ("Melville")) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not include regex (decimal) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not include ("1.7") ^
Attributes
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory or not matchPattern { case Person("Bob", _) =>} ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not startWith regex (decimal) ^
Attributes
This method enables the following syntax given a MatcherFactory7
:
This method enables the following syntax given a MatcherFactory7
:
aMatcherFactory or not startWith ("1.7") ^
Attributes
Concrete fields
Get the MatcherFactory
instance, currently used by macro.
Get the MatcherFactory
instance, currently used by macro.