case class Test(consoleState: Ref[Data], live: Live.Service, debugState: FiberRef[Boolean]) extends console.Console.Service with Service with Product with Serializable
- Alphabetic
- By Inheritance
- Test
- Product
- Equals
- Service
- Restorable
- Service
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
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
-
val
clearInput: UIO[Unit]
Clears the contents of the input buffer.
-
val
clearOutput: UIO[Unit]
Clears the contents of the output buffer.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val consoleState: Ref[Data]
-
def
debug[R, E, A](zio: ZIO[R, E, A]): ZIO[R, E, A]
Runs the specified effect with the
TestConsoleset to debug mode, so that console output is rendered to standard output in addition to being written to the output buffer. - val debugState: FiberRef[Boolean]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
feedLines(lines: String*): UIO[Unit]
Writes the specified sequence of strings to the input buffer.
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
getStrLn: IO[IOException, String]
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val live: Live.Service
-
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()
-
val
output: UIO[Vector[String]]
Returns the contents of the output buffer.
-
val
outputErr: UIO[Vector[String]]
Returns the contents of the error output buffer.
-
def
putStr(line: String): IO[IOException, Unit]
Writes the specified string to the output buffer.
Writes the specified string to the output buffer.
- Definition Classes
- Test → Service
-
def
putStrErr(line: String): IO[IOException, Unit]
Writes the specified string to the error buffer.
Writes the specified string to the error buffer.
- Definition Classes
- Test → Service
-
def
putStrLn(line: String): IO[IOException, Unit]
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
-
def
putStrLnErr(line: String): IO[IOException, Unit]
Writes the specified string to the error buffer followed by a newline character.
Writes the specified string to the error buffer followed by a newline character.
- Definition Classes
- Test → Service
-
val
save: UIO[UIO[Unit]]
Saves the
TestConsole's current state in an effect which, when run, will restore theTestConsolestate to the saved state.Saves the
TestConsole's current state in an effect which, when run, will restore theTestConsolestate to the saved state.- Definition Classes
- Test → Restorable
-
def
silent[R, E, A](zio: ZIO[R, E, A]): ZIO[R, E, A]
Runs the specified effect with the
TestConsoleset to silent mode, so that console output is only written to the output buffer and not rendered to standard output. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- @throws( ... ) @native()