org.scalatest.matchers.MatcherFactory1
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory or not be defined ^
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory or not be empty ^
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory or not be writable ^
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory or not be readable ^
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 ^
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) ^
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) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not be theSameInstanceAs (string) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not be an [Apple] ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not be a [Book] ^
This method enables the following syntax given a MatcherFactory1
, where invalidMarks
is an AnMatcher
:
This method enables the following syntax given a MatcherFactory1
, where invalidMarks
is an AnMatcher
:
aMatcherFactory and not be an (invalidMarks) ^
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 or not be an (apple) ^
This method enables the following syntax given a MatcherFactory1
, where file
is a BePropertyMatcher
:
This method enables the following syntax given a MatcherFactory1
, where file
is a BePropertyMatcher
:
aMatcherFactory or not be a (file) ^
This method enables the following syntax given a MatcherFactory1
, where validMarks
is an AMatcher
:
This method enables the following syntax given a MatcherFactory1
, where validMarks
is an AMatcher
:
aMatcherFactory or not be a (validMarks) ^
This method enables the following syntax given a MatcherFactory1
, where file
is a BePropertyMatcher
:
This method enables the following syntax given a MatcherFactory1
, where file
is a BePropertyMatcher
:
aMatcherFactory or not be (file) ^
This method enables the following syntax given a MatcherFactory1
, where odd
is a BeMatcher
:
This method enables the following syntax given a MatcherFactory1
, where odd
is a BeMatcher
:
aMatcherFactory or not be (odd) ^
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.
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not be >= (6) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not be <= (2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not be > (6) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not be < (8) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not be (null) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not be (2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or 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 or 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 or not contain inOrderElementsOf (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or 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 or 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 or 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 or 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 or 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 or 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 or 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 or 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 or 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 or not contain atLeastOneElementOf (8, 1, 2) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or 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 or 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 or 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 or not contain value (3) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not contain key ("three") ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not contain (3) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not endWith ("1.7") ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not endWith regex (decimal) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not equal (null) ^
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) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not equal (3 - 1) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not fullyMatch regex (decimal) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not have (author ("Melville")) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or 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 or not have size (3) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not have length (3) ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not include ("1.7") ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not include regex (decimal) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcherFactory or not matchPattern { case Person("Bob", _) =>} ^
Get the MatcherFactory
instance, currently used by macro.
Get the MatcherFactory
instance, currently used by macro.
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not startWith ("1.7") ^
This method enables the following syntax given a MatcherFactory1
:
This method enables the following syntax given a MatcherFactory1
:
aMatcherFactory or not startWith regex (decimal) ^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL.