package dsl
Classes and traits supporting ScalaTest's matchers DSL.
This package is released as part of the scalatest-matchers-core module.
- Source
- package.scala
- Alphabetic
- By Inheritance
- dsl
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
-   final  class BeWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for MatchersorMustMatchersfor an overview of the matchers DSL.Class BeWordcontains anapplymethod that takes aSymbol, which uses reflection to find and access aBooleanproperty and determine if it istrue. If the symbol passed is'empty, for example, theapplymethod 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 typeBoolean. If a method, it must take no parameters and returnBoolean. If multiple candidates are found, theapplymethod will select based on the following algorithm:Field Method "is" Method Result Throws TestFailedException, because no candidates foundisEmpty()Invokes isEmpty()empty()Invokes empty()empty()isEmpty()Invokes empty()(this can occur whenBeanPropertyannotation is used)emptyAccesses field emptyemptyisEmpty()Invokes isEmpty()emptyempty()Invokes empty()emptyempty()isEmpty()Invokes empty()(this can occur whenBeanPropertyannotation is used)
-   final  class ContainWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class DefinedWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class EmptyWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class EndWithWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ExistWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class FullyMatchWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class HaveWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class IncludeWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class LengthWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class MatchPatternWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   abstract  class MatcherFactory1[-SC, TC1[_]] extends AnyRefA 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" (inTC1,TC2, etc.) means typeclass. This class'smatcherfactory method will produce aMatcher[T], whereTis a subtype of (or the same type as)SC, given a typeclass instance for eachTCnimplicit parameter (for example, aTC1[T],TC2[T], etc.).
-   abstract  class MatcherFactory2[-SC, TC1[_], TC2[_]] extends AnyRefA 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" (inTC1,TC2, etc.) means typeclass. This class'smatcherfactory method will produce aMatcher[T], whereTis a subtype of (or the same type as)SC, given a typeclass instance for eachTCnimplicit parameter (for example, aTC1[T],TC2[T], etc.).
-   abstract  class MatcherFactory3[-SC, TC1[_], TC2[_], TC3[_]] extends AnyRefA 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" (inTC1,TC2, etc.) means typeclass. This class'smatcherfactory method will produce aMatcher[T], whereTis a subtype of (or the same type as)SC, given a typeclass instance for eachTCnimplicit parameter (for example, aTC1[T],TC2[T], etc.).
-   abstract  class MatcherFactory4[-SC, TC1[_], TC2[_], TC3[_], TC4[_]] extends AnyRefA 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" (inTC1,TC2, etc.) means typeclass. This class'smatcherfactory method will produce aMatcher[T], whereTis a subtype of (or the same type as)SC, given a typeclass instance for eachTCnimplicit parameter (for example, aTC1[T],TC2[T], etc.).
-   abstract  class MatcherFactory5[-SC, TC1[_], TC2[_], TC3[_], TC4[_], TC5[_]] extends AnyRefA 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" (inTC1,TC2, etc.) means typeclass. This class'smatcherfactory method will produce aMatcher[T], whereTis a subtype of (or the same type as)SC, given a typeclass instance for eachTCnimplicit parameter (for example, aTC1[T],TC2[T], etc.).
-   abstract  class MatcherFactory6[-SC, TC1[_], TC2[_], TC3[_], TC4[_], TC5[_], TC6[_]] extends AnyRefA 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" (inTC1,TC2, etc.) means typeclass. This class'smatcherfactory method will produce aMatcher[T], whereTis a subtype of (or the same type as)SC, given a typeclass instance for eachTCnimplicit parameter (for example, aTC1[T],TC2[T], etc.).
-   abstract  class MatcherFactory7[-SC, TC1[_], TC2[_], TC3[_], TC4[_], TC5[_], TC6[_], TC7[_]] extends AnyRefA 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" (inTC1,TC2, etc.) means typeclass. This class'smatcherfactory method will produce aMatcher[T], whereTis a subtype of (or the same type as)SC, given a typeclass instance for eachTCnimplicit parameter (for example, aTC1[T],TC2[T], etc.).
-   abstract  class MatcherFactory8[-SC, TC1[_], TC2[_], TC3[_], TC4[_], TC5[_], TC6[_], TC7[_], TC8[_]] extends AnyRefA 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" (inTC1,TC2, etc.) means typeclass. This class'smatcherfactory method will produce aMatcher[T], whereTis a subtype of (or the same type as)SC, given a typeclass instance for eachTCnimplicit parameter (for example, aTC1[T],TC2[T], etc.).
-   abstract  class MatcherFactory9[-SC, TC1[_], TC2[_], TC3[_], TC4[_], TC5[_], TC6[_], TC7[_], TC8[_], TC9[_]] extends AnyRefA 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" (inTC1,TC2, etc.) means typeclass. This class'smatcherfactory method will produce aMatcher[T], whereTis a subtype of (or the same type as)SC, given a typeclass instance for eachTCnimplicit parameter (for example, aTC1[T],TC2[T], etc.).
-    trait MatcherWords extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class NoExceptionWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class NotWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-  final class PleaseUseNoExceptionShouldSyntaxInstead extends AnyRef
-   final  class ReadableWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class RegexWithGroups extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfATypeInvocation[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfAWordToAMatcherApplication[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfAWordToBePropertyMatcherApplication[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfAWordToSymbolApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfAllElementsOfApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfAllOfApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfAnTypeInvocation[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfAnWordToAnMatcherApplication[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfAnWordToBePropertyMatcherApplication[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfAnWordToSymbolApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfAtLeastOneElementOfApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfAtLeastOneOfApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfAtMostOneElementOfApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfAtMostOneOfApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfBeThrownBy extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfBeWordForAType[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfBeWordForAnType[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfBeWordForNoException extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfContainWord[L] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfDefinedAt[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfGreaterThanComparison[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfGreaterThanOrEqualToComparison[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfInOrderApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfInOrderElementsOfApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfInOrderOnlyApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfKeyWordApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfLengthWordApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfLessThanComparison[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfLessThanOrEqualToComparison[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfMessageWordApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfNoElementsOfApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfNoneOfApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfNotExist extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfNotWordForAny[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfOfTypeInvocation[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfOneElementOfApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfOneOfApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfOnlyApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfRegexWordApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor 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) ^ 
-   final  class ResultOfSizeWordApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfTheSameElementsAsApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-    class ResultOfTheSameElementsInOrderAsApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfTheSameInstanceAsApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfTheTypeInvocation[T] extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfThrownByApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class ResultOfValueWordApplication extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class SizeWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class SortedWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class StartWithWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
-   final  class WritableWord extends AnyRefThis class is part of the ScalaTest matchers DSL. This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchersfor an overview of the matchers DSL.
Value Members
-    object MatcherFactory1Companion object containing an implicit method that converts a MatcherFactory1to aMatcher.
-    object MatcherFactory2Companion object containing an implicit method that converts a MatcherFactory2to aMatcher.
-    object MatcherFactory3Companion object containing an implicit method that converts a MatcherFactory3to aMatcher.
-    object MatcherFactory4Companion object containing an implicit method that converts a MatcherFactory4to aMatcher.
-    object MatcherFactory5Companion object containing an implicit method that converts a MatcherFactory5to aMatcher.
-    object MatcherFactory6Companion object containing an implicit method that converts a MatcherFactory6to aMatcher.
-    object MatcherFactory7Companion object containing an implicit method that converts a MatcherFactory7to aMatcher.
-    object MatcherFactory8Companion object containing an implicit method that converts a MatcherFactory8to aMatcher.
-  object MatcherWords extends MatcherWords