Trait extended by matcher objects, which may appear after the word be
, that can match a value of the specified type.
The result of a Boolean
property match operation, such as one performed by a
BePropertyMatcher
,
which contains one field that indicates whether the match succeeded (i.e., the Boolean
property was true
) and one field that provides
the name of the property.
Trait extended by matcher objects, which may appear after the word be
, that can match against a Boolean
property.
The result of a property match operation such as one performed by a
HavePropertyMatcher
,
which contains one field that indicates whether the match succeeded (i.e., the
property had its expected value), one field that provides
the name of the property, and two fields giving the expected and actual values.
Trait extended by matcher objects, which may appear after the word have
, that can match against a
property of the type specified by the HavePropertyMatcher
's second type parameter P
.
Transforms a given object's toString
with a given function lazily.
The result of a match operation, such as one performed by a Matcher
or
BeMatcher
, which
contains one field that indicates whether the match succeeded, four fields that provide
raw failure messages to report under different circumstances, four fields providing
arguments used to construct the final failure messages using raw failure messages
and a Prettifier
.
Trait extended by objects that can match a value of the specified type.
A matcher factory that can produce a matcher given one typeclass instance.
A matcher factory that can produce a matcher given two typeclass instances.
A matcher factory that can produce a matcher given three typeclass instances.
A matcher factory that can produce a matcher given four typeclass instances.
A matcher factory that can produce a matcher given five typeclass instances.
A matcher factory that can produce a matcher given six typeclass instances.
A matcher factory that can produce a matcher given seven typeclass instances.
A matcher factory that can produce a matcher given eight typeclass instances.
A matcher factory that can produce a matcher given nine typeclass instances.
Provides an implicit conversion on functions that produce Matcher
s, i.e.,
T => Matcher[T]
that enables you to modify error messages when composing Matcher
s.
Please use org.scalatest.Matchers instead.
Companion object for trait BeMatcher
that provides a
factory method that creates a BeMatcher[T]
from a
passed function of type (T => MatchResult)
.
Companion object for the BePropertyMatchResult
case class.
Companion object for trait BePropertyMatcher
that provides a
factory method that creates a BePropertyMatcher[T]
from a
passed function of type (T => BePropertyMatchResult)
.
Companion object for the HavePropertyMatchResult
case class.
Companion object for trait HavePropertyMatcher
that provides a
factory method that creates a HavePropertyMatcher[T]
from a
passed function of type (T => HavePropertyMatchResult)
.
Singleton object that provides unapply
method to extract failure message from MatchResult
having matches
property value of false
.
Companion object for the MatchResult
case class.
Singleton object that provides unapply
method to extract negated failure message from MatchResult
having matches
property value of true
.
Companion object for trait Matcher
that provides a
factory method that creates a Matcher[T]
from a
passed function of type (T => MatchResult)
.
Companion object containing an implicit method that converts a MatcherFactory1
to a Matcher
.
Companion object containing an implicit method that converts a MatcherFactory2
to a Matcher
.
Companion object containing an implicit method that converts a MatcherFactory3
to a Matcher
.
Companion object containing an implicit method that converts a MatcherFactory4
to a Matcher
.
Companion object containing an implicit method that converts a MatcherFactory5
to a Matcher
.
Companion object containing an implicit method that converts a MatcherFactory6
to a Matcher
.
Companion object containing an implicit method that converts a MatcherFactory7
to a Matcher
.
Companion object containing an implicit method that converts a MatcherFactory8
to a Matcher
.
Companion object that facilitates the importing of MatcherProducers
members as
an alternative to mixing it in.
Please use org.scalatest.MustMatchers instead.
Please use org.scalatest.Matchers instead.
Please use org.scalatest.MustMatchers instead.