trait StringMustWrapperForVerb 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 must methods to
be invoked on Strings.
- Source
- MustVerb.scala
- Alphabetic
- By Inheritance
- StringMustWrapperForVerb
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        must(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" must 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"must", and theResultOfAfterWordApplicationpassed tomust.
- 
      
      
      
        
      
    
      
        
        def
      
      
        must(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)" must { ... ^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"must", and the right by-name parameter transformed into a no-arg function.
- 
      
      
      
        
      
    
      
        
        def
      
      
        must(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)" must 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
      
      
        must(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)" must "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"must", and right, and returns the result.
- 
      
      
      
        
      
    
      
        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( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )