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.
This trait is part of the ScalaTest matchers DSL.
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.
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 and four fields that provide
failure messages to report under different circumstances.
Trait extended by objects that can match a value of the specified type.
Trait that provides a domain specific language (DSL) for expressing assertions in tests
using the word must.
Trait that provides a domain specific language (DSL) for expressing assertions in tests
using the word should.
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).
Companion object for the MatchResult case class.
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 that facilitates the importing of MustMatchers members as
an alternative to mixing it the trait.
Companion object that facilitates the importing of ShouldMatchers members as
an alternative to mixing it the trait.
The name Matchers has been deprecated and will be used in a different way in a future version of ScalaTest. Please use ClassicMatchers instead.