This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers or MustMatchers for an overview of
the matchers DSL.
Class BeWord contains an apply method that takes a Symbol, which uses reflection
to find and access a Boolean property and determine if it is true.
If the symbol passed is 'empty, for example, the apply method
will use reflection to look for a public Java field named
"empty", a public method named "empty", or a public method named "isEmpty". If a field, it must be of type Boolean.
If a method, it must take no parameters and return Boolean. If multiple candidates are found,
the apply method will select based on the following algorithm:
| Field | Method | "is" Method | Result |
|---|---|---|---|
Throws TestFailedException, because no candidates found | |||
isEmpty() | Invokes isEmpty() | ||
empty() | Invokes empty() | ||
empty() | isEmpty() | Invokes empty() (this can occur when BeanProperty annotation is used) | |
empty | Accesses field empty | ||
empty | isEmpty() | Invokes isEmpty() | |
empty | empty() | Invokes empty() | |
empty | empty() | isEmpty() | Invokes empty() (this can occur when BeanProperty annotation is used) |
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
A matcher factory that can produce a matcher given one typeclass instance.
A matcher factory that can produce a matcher given one typeclass instance.
In the type parameters for this class, "SC" means superclass; "TC"
(in TC1, TC2, etc.) means typeclass.
This class's matcher factory method will produce a Matcher[T], where T is a subtype of (or the same type
as) SC, given a typeclass instance for each TCn
implicit parameter (for example, a TC1[T], TC2[T], etc.).
A matcher factory that can produce a matcher given two typeclass instances.
A matcher factory that can produce a matcher given two typeclass instances.
In the type parameters for this class, "SC" means superclass; "TC"
(in TC1, TC2, etc.) means typeclass.
This class's matcher factory method will produce a Matcher[T], where T is a subtype of (or the same type
as) SC, given a typeclass instance for each TCn
implicit parameter (for example, a TC1[T], TC2[T], etc.).
A matcher factory that can produce a matcher given three typeclass instances.
A matcher factory that can produce a matcher given three typeclass instances.
In the type parameters for this class, "SC" means superclass; "TC"
(in TC1, TC2, etc.) means typeclass.
This class's matcher factory method will produce a Matcher[T], where T is a subtype of (or the same type
as) SC, given a typeclass instance for each TCn
implicit parameter (for example, a TC1[T], TC2[T], etc.).
A matcher factory that can produce a matcher given four typeclass instances.
A matcher factory that can produce a matcher given four typeclass instances.
In the type parameters for this class, "SC" means superclass; "TC"
(in TC1, TC2, etc.) means typeclass.
This class's matcher factory method will produce a Matcher[T], where T is a subtype of (or the same type
as) SC, given a typeclass instance for each TCn
implicit parameter (for example, a TC1[T], TC2[T], etc.).
A matcher factory that can produce a matcher given five typeclass instances.
A matcher factory that can produce a matcher given five typeclass instances.
In the type parameters for this class, "SC" means superclass; "TC"
(in TC1, TC2, etc.) means typeclass.
This class's matcher factory method will produce a Matcher[T], where T is a subtype of (or the same type
as) SC, given a typeclass instance for each TCn
implicit parameter (for example, a TC1[T], TC2[T], etc.).
A matcher factory that can produce a matcher given six typeclass instances.
A matcher factory that can produce a matcher given six typeclass instances.
In the type parameters for this class, "SC" means superclass; "TC"
(in TC1, TC2, etc.) means typeclass.
This class's matcher factory method will produce a Matcher[T], where T is a subtype of (or the same type
as) SC, given a typeclass instance for each TCn
implicit parameter (for example, a TC1[T], TC2[T], etc.).
A matcher factory that can produce a matcher given seven typeclass instances.
A matcher factory that can produce a matcher given seven typeclass instances.
In the type parameters for this class, "SC" means superclass; "TC"
(in TC1, TC2, etc.) means typeclass.
This class's matcher factory method will produce a Matcher[T], where T is a subtype of (or the same type
as) SC, given a typeclass instance for each TCn
implicit parameter (for example, a TC1[T], TC2[T], etc.).
A matcher factory that can produce a matcher given eight typeclass instances.
A matcher factory that can produce a matcher given eight typeclass instances.
In the type parameters for this class, "SC" means superclass; "TC"
(in TC1, TC2, etc.) means typeclass.
This class's matcher factory method will produce a Matcher[T], where T is a subtype of (or the same type
as) SC, given a typeclass instance for each TCn
implicit parameter (for example, a TC1[T], TC2[T], etc.).
A matcher factory that can produce a matcher given nine typeclass instances.
A matcher factory that can produce a matcher given nine typeclass instances.
In the type parameters for this class, "SC" means superclass; "TC"
(in TC1, TC2, etc.) means typeclass.
This class's matcher factory method will produce a Matcher[T], where T is a subtype of (or the same type
as) SC, given a typeclass instance for each TCn
implicit parameter (for example, a TC1[T], TC2[T], etc.).
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
The primary constructor enables the following syntax (with a passed scala.util.matching.Regex):
"eight" should not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""".r)
^
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
This class is part of the ScalaTest matchers DSL.
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
Companion object containing an implicit method that converts a MatcherFactory1 to a Matcher.
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 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 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 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 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 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 MatcherFactory7 to a Matcher.
Companion object containing an implicit method that converts a MatcherFactory8 to a Matcher.
Companion object containing an implicit method that converts a MatcherFactory8 to a Matcher.
Classes and traits supporting ScalaTest's matchers DSL.
This package is released as part of the
scalatest-matchers-coremodule.