trait StringCanWrapperForVerb extends AnyRef
This class supports the syntax of FlatSpec, WordSpec, fixture.FlatSpec,
and fixture.WordSpec.
This class is used in conjunction with an implicit conversion to enable can methods to
be invoked on Strings.
- Source
 - CanVerb.scala
 
- Alphabetic
 - By Inheritance
 
- StringCanWrapperForVerb
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Concrete Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -    def can(resultOfAfterWordApplication: ResultOfAfterWordApplication)(implicit swawr: SubjectWithAfterWordRegistration): Unit
Supports the registration of subject descriptions with after words in
WordSpecandfixture.WordSpec.Supports the registration of subject descriptions with after words in
WordSpecandfixture.WordSpec.For example, this method enables syntax such as the following in
WordSpecandfixture.WordSpec:def provide = afterWord("provide")
"The ScalaTest Matchers DSL" can provide { ^WordSpecpasses in a function via the implicit parameter that takes two strings and aResultOfAfterWordApplicationand results inUnit. This method simply invokes this function, passing in leftSideString, the verb string"can", and theResultOfAfterWordApplicationpassed tocan. -    def can(right: => Unit)(implicit fun: StringVerbBlockRegistration): Unit
Supports the registration of subject descriptions in
WordSpecandfixture.WordSpec.Supports the registration of subject descriptions in
WordSpecandfixture.WordSpec.For example, this method enables syntax such as the following in
WordSpecandfixture.WordSpec:"A Stack (when empty)" can { ... ^WordSpecpasses in a function via the implicit parameter of typeStringVerbBlockRegistration, a function that takes two strings and a no-arg function and results inUnit. This method simply invokes this function, passing in leftSideString, the verb string"can", and the right by-name parameter transformed into a no-arg function. -    def can(right: BehaveWord)(implicit svbli: StringVerbBehaveLikeInvocation): BehaveWord
Supports shared test registration in
FlatSpecandfixture.FlatSpec.Supports shared test registration in
FlatSpecandfixture.FlatSpec.For example, this method enables syntax such as the following in
FlatSpecandfixture.FlatSpec:"A Stack (with one item)" can behave like nonEmptyStack(stackWithOneItem, lastValuePushed) ^FlatSpecandfixture.FlatSpecpasses in a function via the implicit parameter that takes a string and results in aBehaveWord. This method simply invokes this function, passing in leftSideString, and returns the result. -    def can(right: String)(implicit svsi: StringVerbStringInvocation): ResultOfStringPassedToVerb
Supports test registration in
FlatSpecandfixture.FlatSpec.Supports test registration in
FlatSpecandfixture.FlatSpec.For example, this method enables syntax such as the following in
FlatSpecandfixture.FlatSpec:"A Stack (when empty)" can "be empty" in { ... } ^
FlatSpecpasses in a function via the implicit parameter that takes three strings and results in aResultOfStringPassedToVerb. This method simply invokes this function, passing in leftSideString, the verb string"can", and right, and returns the result. -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @native()
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def equals(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef → Any
 
 -    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable])
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 -    def hashCode(): Int
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def toString(): String
- Definition Classes
 - AnyRef → Any
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()