Class

zio.test.environment.TestConsole

Test

Related Doc: package TestConsole

Permalink

case class Test(consoleState: Ref[Data]) extends Service[Any] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Service[Any], console.Console.Service[Any], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Test
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Service
  7. Service
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Test(consoleState: Ref[Data])

    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. val clearInput: UIO[Unit]

    Permalink

    Clears the contents of the input buffer.

    Clears the contents of the input buffer.

    Definition Classes
    TestService
  6. val clearOutput: UIO[Unit]

    Permalink

    Clears the contents of the output buffer.

    Clears the contents of the output buffer.

    Definition Classes
    TestService
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val consoleState: Ref[Data]

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

    Permalink
    Definition Classes
    AnyRef
  10. def feedLines(lines: String*): UIO[Unit]

    Permalink

    Writes the specified sequence of strings to the input buffer.

    Writes the specified sequence of strings to the input buffer. The first string in the sequence will be the first to be taken. These strings will be taken before any strings that were previously in the input buffer.

    Definition Classes
    TestService
  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. val getStrLn: ZIO[Any, IOException, String]

    Permalink

    Takes the first value from the input buffer, if one exists, or else fails with an EOFException.

    Takes the first value from the input buffer, if one exists, or else fails with an EOFException.

    Definition Classes
    Test → Service
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. val output: UIO[Vector[String]]

    Permalink

    Returns the contents of the output buffer.

    Returns the contents of the output buffer. The first value written to the output buffer will be the first in the sequence.

    Definition Classes
    TestService
  19. def putStr(line: String): UIO[Unit]

    Permalink

    Writes the specified string to the output buffer.

    Writes the specified string to the output buffer.

    Definition Classes
    Test → Service
  20. def putStrLn(line: String): ZIO[Any, Nothing, Unit]

    Permalink

    Writes the specified string to the output buffer followed by a newline character.

    Writes the specified string to the output buffer followed by a newline character.

    Definition Classes
    Test → Service
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Service[Any]

Inherited from console.Console.Service[Any]

Inherited from AnyRef

Inherited from Any

Ungrouped