Class

work.martins.simon.expect.core

Expect

Related Doc: package core

Permalink

class Expect[R] extends LazyLogging

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Expect
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Expect(command: String, defaultValue: R)(expects: ExpectBlock[R]*)

    Permalink
  2. new Expect(command: String, defaultValue: R, config: Config)(expects: ExpectBlock[R]*)

    Permalink
  3. new Expect(command: String, defaultValue: R, settings: Settings)(expects: ExpectBlock[R]*)

    Permalink
  4. new Expect(command: Seq[String], defaultValue: R, config: Config)(expects: ExpectBlock[R]*)

    Permalink
  5. new Expect(command: Seq[String], defaultValue: R, settings: Settings = new Settings())(expects: ExpectBlock[R]*)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val command: Seq[String]

    Permalink
  7. val defaultValue: R

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(other: Any): Boolean

    Permalink

    Returns whether other is an Expect with the same command, the same defaultValue, the same settings and the same expects as this Expect.

    Returns whether other is an Expect with the same command, the same defaultValue, the same settings and the same expects as this Expect.

    In the cases that expects contains an Action with a function, eg. Returning, this method will return false, because equality is not defined for functions.

    The method structurallyEqual can be used to test that two expects contain the same structure.

    Definition Classes
    Expect → AnyRef → Any
  10. val expects: ExpectBlock[R]*

    Permalink
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    Expect → AnyRef → Any
  14. def innerRun(richProcess: RichProcess, intermediateResult: IntermediateResult[R], expectsStack: List[ExpectBlock[R]])(implicit ec: ExecutionContext): Future[R]

    Permalink
    Attributes
    protected
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def run(timeout: FiniteDuration = timeout, charset: Charset = charset, bufferSize: Int = bufferSize, redirectStdErrToStdOut: Boolean = redirectStdErrToStdOut)(implicit ex: ExecutionContext): Future[R]

    Permalink
  21. val settings: Settings

    Permalink
  22. def structurallyEquals(other: Expect[R]): Boolean

    Permalink

    Returns whether the other expect has the same command, the same defaultValue, the same settings and the same expects structurally.

    Returns whether the other expect has the same command, the same defaultValue, the same settings and the same expects structurally. The expects are structurally equal if there are the same number of expects and each expect has the same number of Whens with the same structure.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    Expect → AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped