object Succeeded extends Outcome with scalatest.compatible.Assertion with Product with Serializable
Outcome for a test that succeeded.
Note: the difference between this Succeeded object and the similarly named SucceededStatus
object is that this object indicates one test (or assertion) succeeded, whereas the SucceededStatus object indicates the absence of any failed tests or
aborted suites during a run. Both are used as the result type of Suite lifecycle methods, but Succeeded
is a possible result of withFixture, whereas SucceededStatus is a possible result of run, runNestedSuites,
runTests, or runTest. In short, Succeeded is always just about one test (or assertion), whereas SucceededStatus could be
about something larger: multiple tests or an entire suite.
- Source
- Outcome.scala
- Alphabetic
- By Inheritance
- Succeeded
- Assertion
- Outcome
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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()
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        isCanceled: Boolean
      
      
      Indicates whether this Outcomerepresents a test that was canceled.Indicates whether this Outcomerepresents a test that was canceled.This class's implementation of this method always returns false.- returns
- true if this - Outcomeis an instance of- Canceled.
 - Definition Classes
- Outcome
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        isExceptional: Boolean
      
      
      Indicates whether this Outcomerepresents a test that either failed or was canceled, in which case thisOutcomewill contain an exception.Indicates whether this Outcomerepresents a test that either failed or was canceled, in which case thisOutcomewill contain an exception.- returns
- true if this - Outcomeis an instance of either- Failedor- Canceled.
 - Definition Classes
- Outcome
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        isFailed: Boolean
      
      
      Indicates whether this Outcomerepresents a test that failed.Indicates whether this Outcomerepresents a test that failed.This class's implementation of this method always returns false.- returns
- true if this - Outcomeis an instance of- Failed.
 - Definition Classes
- Outcome
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        isPending: Boolean
      
      
      Indicates whether this Outcomerepresents a test that was pending.Indicates whether this Outcomerepresents a test that was pending.This class's implementation of this method always returns false.- returns
- true if this - Outcomeis an instance of- Pending.
 - Definition Classes
- Outcome
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        isSucceeded: Boolean
      
      
      Indicates that this Outcomerepresents a test that succeeded.
- 
      
      
      
        
      
    
      
        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
      
      
        toOption: Option[Throwable]
      
      
      Converts this Outcometo anOption[Throwable].Converts this Outcometo anOption[Throwable].This class's implementation of this method always returns None.- returns
- a - Somewrapping the contained exception if this- Outcomeis an instance of either- Failedor- Canceled.
 - Definition Classes
- Outcome
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toSucceeded: Succeeded.type
      
      
      Converts this Outcometo aSucceeded.
- 
      
      
      
        
      
    
      
        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( ... )