package words
- Alphabetic
- Public
- All
Type Members
-
final
class
BeWord
extends AnyRef
This 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
BehaveWord
extends AnyRef
Class that supports shared test registration via instances referenced from the
behavefield ofFunSpecs,FlatSpecs, andWordSpecs as well as instance of their sister traits,fixture.FunSpec,fixture.FlatSpec, andfixture.WordSpec.Class that supports shared test registration via instances referenced from the
behavefield ofFunSpecs,FlatSpecs, andWordSpecs as well as instance of their sister traits,fixture.FunSpec,fixture.FlatSpec, andfixture.WordSpec.This class, via the
behavefield, enables syntax such as the following inFunSpecs,FlatSpecs,fixture.FunSpecs, andfixture.FlatSpecs:it should behave like nonFullStack(stackWithOneItem) ^It also enables syntax such as the following syntax in
WordSpecs andfixture.WordSpecs:behave like nonEmptyStack(lastValuePushed) ^
For more information and examples of the use of <cod>behave, see the Shared tests section in the main documentation for trait
FunSpec,FlatSpec, orWordSpec. -
trait
CanVerb
extends AnyRef
Provides an implicit conversion that adds
canmethods toStringto support the syntax ofFlatSpec,WordSpec,org.scalatest.fixture.FlatSpec, andfixture.WordSpec.Provides an implicit conversion that adds
canmethods toStringto support the syntax ofFlatSpec,WordSpec,org.scalatest.fixture.FlatSpec, andfixture.WordSpec.For example, this trait enables syntax such as the following test registration in
FlatSpecandfixture.FlatSpec:"A Stack (when empty)" can "be empty" in { ... } ^
It also enables syntax such as the following shared test registration in
FlatSpecandfixture.FlatSpec:"A Stack (with one item)" can behave like nonEmptyStack(stackWithOneItem, lastValuePushed) ^In addition, it supports the registration of subject descriptions in
WordSpecandfixture.WordSpec, such as:"A Stack (when empty)" can { ... ^And finally, it also supportds the registration of subject descriptions with after words in
WordSpecandfixture.WordSpec. For example:def provide = afterWord("provide") "The ScalaTest Matchers DSL" can provide { ^
The reason this implicit conversion is provided in a separate trait, instead of being provided directly in
FlatSpec,WordSpec,fixture.FlatSpec, andfixture.WordSpec, is primarily for design symmetry withShouldVerbandMustVerb. BothShouldVerbandMustVerbmust exist as a separate trait because an implicit conversion provided directly would conflict with the implicit conversion that providesshouldormustmethods onStringin theMatchersandMustMatcherstraits. -
final
class
CompileWord
extends AnyRef
This 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
ContainWord
extends AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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. -
trait
MatcherWords
extends AnyRef
This 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. -
trait
MustVerb
extends AnyRef
Provides an implicit conversion that adds
mustmethods toStringto support the syntax ofFlatSpec,WordSpec,fixture.FlatSpec, andfixture.WordSpec.Provides an implicit conversion that adds
mustmethods toStringto support the syntax ofFlatSpec,WordSpec,fixture.FlatSpec, andfixture.WordSpec.For example, this trait enables syntax such as the following test registration in
FlatSpecandfixture.FlatSpec:"A Stack (when empty)" must "be empty" in { ... } ^
It also enables syntax such as the following shared test registration in
FlatSpecandfixture.FlatSpec:"A Stack (with one item)" must behave like nonEmptyStack(stackWithOneItem, lastValuePushed) ^In addition, it supports the registration of subject descriptions in
WordSpecandfixture.WordSpec, such as:"A Stack (when empty)" must { ... ^And finally, it also supportds the registration of subject descriptions with after words in
WordSpecandfixture.WordSpec. For example:def provide = afterWord("provide") "The ScalaTest Matchers DSL" must provide { ^
The reason this implicit conversion is provided in a separate trait, instead of being provided directly in
FlatSpec,WordSpec,fixture.FlatSpec, andfixture.WordSpec, is because an implicit conversion provided directly would conflict with the implicit conversion that providesmustmethods onStringin theMustMatcherstrait. By contrast, there is no conflict with the separateMustVerbtrait approach, because:FlatSpec,WordSpec,fixture.FlatSpec, andfixture.WordSpecmix inMustVerbdirectly, andMustMatchersextendsMustVerb, overriding theconvertToStringMustWrapperimplicit conversion function.
So whether or not a
FlatSpec,WordSpec,fixture.FlatSpec, orfixture.WordSpecmixes inMustMatchers, there will only be one implicit conversion in scope that addsmustmethods toStrings.Also, because the class of the result of the overriding
convertToStringMustWrapperimplicit conversion method provided inMustMatchersextends this trait'sStringMustWrapperForVerbclass, the four uses ofmustprovided here are still available. These fourmustare in fact available to any class that mixes inMustMatchers, but each takes an implicit parameter that is provided only inFlatSpecandfixture.FlatSpec, orWordSpecandfixture.WordSpec. -
final
class
NoExceptionWord
extends AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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
ResultOfAfterWordApplication
extends AnyRef
Class that supports the use of after words in
WordSpecandfixture.WordSpec.Class that supports the use of after words in
WordSpecandfixture.WordSpec.A
ResultOfAfterWordApplication, which encapsulates the text of the after word and a block, is accepted bywhen,should,must,can, andthatmethods. For more information, see the main documentation for traitWordSpec. -
class
ResultOfAllElementsOfApplication
extends AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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
ResultOfStringPassedToVerb
extends AnyRef
Abstract class that supports test registration in
FlatSpecandfixture.FlatSpec.Abstract class that supports test registration in
FlatSpecandfixture.FlatSpec.For example, this class enables syntax such as the following pending test registration in
FlatSpecandfixture.FlatSpec:"A Stack (when empty)" should "be empty" is (pending) ^For example, this class enables syntax such as the following tagged test registration in
FlatSpecandfixture.FlatSpec:"A Stack (when empty)" should "be empty" taggedAs(SlowTet) in { ... } ^This class also indirectly enables syntax such as the following regular test registration in
FlatSpecandfixture.FlatSpec:"A Stack (when empty)" should "be empty" in { ... } ^However, this class does not declare any methods named
in, because the type passed toindiffers in aFlatSpecand afixture.FlatSpec. Afixture.FlatSpecneeds twoinmethods, one that takes a no-arg test function and another that takes a one-arg test function (a test that takes aFixtureas its parameter). By constrast, aFlatSpecneeds only oneinmethod that takes a by-name parameter. As a result,FlatSpecandfixture.FlatSpeceach provide an implicit conversion fromResultOfStringPassedToVerbto a type that provides the appropriateinmethods. -
abstract
class
ResultOfTaggedAsInvocation
extends AnyRef
Supports the registration of tagged tests in shorthand form in
FlatSpecandfixture.FlatSpec.Supports the registration of tagged tests in shorthand form in
FlatSpecandfixture.FlatSpec.For example, this class enables syntax such as the following tagged, pending test registration in shorthand form:
"A Stack (when empty)" should "be empty" taggedAs() is (pending) ^
In addition, this class indirectly enables syntax such as the following tagged test registration in shorthand form:
"A Stack (when empty)" should "be empty" taggedAs() in { ... } ^
Rather than provide
inandignoremethods directly, these methods are provided aftertaggedAs()by implicit conversions because the type passed toin(andignore) differs in aFlatSpecand afixture.FlatSpec. Afixture.FlatSpecneeds twoinmethods, one that takes a no-arg test function and another that takes a one-arg test function (a test that takes aFixtureas its parameter). By constrast, aFlatSpecneeds only oneinmethod that takes a by-name parameter. As a result,FlatSpecandfixture.FlatSpeceach provide an implicit conversion fromResultOfTaggedAsInvocationto a type that provides the appropriateinmethods. -
class
ResultOfTheSameElementsAsApplication
extends AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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 AnyRef
This 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. -
trait
ShouldVerb
extends AnyRef
Provides an implicit conversion that adds
shouldmethods toStringto support the syntax ofFlatSpec,WordSpec,fixture.FlatSpec, andfixture.WordSpec.Provides an implicit conversion that adds
shouldmethods toStringto support the syntax ofFlatSpec,WordSpec,fixture.FlatSpec, andfixture.WordSpec.For example, this trait enables syntax such as the following test registration in
FlatSpecandfixture.FlatSpec:"A Stack (when empty)" should "be empty" in { ... } ^
It also enables syntax such as the following shared test registration in
FlatSpecandfixture.FlatSpec:"A Stack (with one item)" should behave like nonEmptyStack(stackWithOneItem, lastValuePushed) ^In addition, it supports the registration of subject descriptions in
WordSpecandfixture.WordSpec, such as:"A Stack (when empty)" should { ... ^And finally, it also supportds the registration of subject descriptions with after words in
WordSpecandfixture.WordSpec. For example:def provide = afterWord("provide") "The ScalaTest Matchers DSL" should provide { ^
The reason this implicit conversion is provided in a separate trait, instead of being provided directly in
FlatSpec,WordSpec,fixture.FlatSpec, andfixture.WordSpec, is because an implicit conversion provided directly would conflict with the implicit conversion that providesshouldmethods onStringin theMatcherstrait. By contrast, there is no conflict with the separateShouldVerbtrait approach, because:FlatSpec,WordSpec,fixture.FlatSpec, andfixture.WordSpecmix inShouldVerbdirectly, andMatchersextendsShouldVerb, overriding theconvertToStringShouldWrapperimplicit conversion function.
So whether or not a
FlatSpec,WordSpec,fixture.FlatSpec, orfixture.WordSpecmixes inMatchers, there will only be one implicit conversion in scope that addsshouldmethods toStrings.Also, because the class of the result of the overriding
convertToStringShouldWrapperimplicit conversion method provided inMatchersextends this trait'sStringShouldWrapperForVerbclass, the four uses ofshouldprovided here are still available. These fourshouldare in fact available to any class that mixes inMatchers, but each takes an implicit parameter that is provided only inFlatSpecandfixture.FlatSpec, orWordSpecandfixture.WordSpec. -
final
class
SizeWord
extends AnyRef
This 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 AnyRef
This 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 AnyRef
This 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
StringVerbBehaveLikeInvocation
extends AnyRef
Class that provides a role-specific type for an implicit conversion used to support the registration of subject descriptions in
FlatSpecandFreeSpecstyles.Class that provides a role-specific type for an implicit conversion used to support the registration of subject descriptions in
FlatSpecandFreeSpecstyles.For example, this class enables syntax such as the following in
WordSpecandfixture.WordSpec:"A Stack (when empty)" should { ... ^This
shouldmethod, which is provided inShouldVerb, needs an implicit parameter of typeStringVerbBlockRegistration. -
abstract
class
StringVerbBlockRegistration
extends AnyRef
Class that provides a role-specific type for an implicit conversion used to support the registration of subject descriptions in
WordSpecandfixture.WordSpec.Class that provides a role-specific type for an implicit conversion used to support the registration of subject descriptions in
WordSpecandfixture.WordSpec.For example, this class enables syntax such as the following in
WordSpecandfixture.WordSpec:"A Stack (when empty)" should { ... ^This
shouldmethod, which is provided inShouldVerb, needs an implicit parameter of typeStringVerbBlockRegistration. -
abstract
class
StringVerbStringInvocation
extends AnyRef
Class that provides a role-specific type for an implicit conversion used to support the registration of subject descriptions in
FlatSpecandFreeSpecstyles.Class that provides a role-specific type for an implicit conversion used to support the registration of subject descriptions in
FlatSpecandFreeSpecstyles.For example, this class enables syntax such as the following in
WordSpecandfixture.WordSpec:"A Stack (when empty)" should { ... ^This
shouldmethod, which is provided inShouldVerb, needs an implicit parameter of typeStringVerbBlockRegistration. -
abstract
class
SubjectWithAfterWordRegistration
extends AnyRef
Class that provides a role-specific type for an implicit conversion used to support the registration of subject descriptions in
FlatSpecandFreeSpecstyles.Class that provides a role-specific type for an implicit conversion used to support the registration of subject descriptions in
FlatSpecandFreeSpecstyles.For example, this class enables syntax such as the following in
WordSpecandfixture.WordSpec:"A Stack (when empty)" should { ... ^This
shouldmethod, which is provided inShouldVerb, needs an implicit parameter of typeStringVerbBlockRegistration. -
final
class
TypeCheckWord
extends AnyRef
This 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 AnyRef
This 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 MatcherWords extends MatcherWords