case class Mock(consoleState: Ref[Data]) extends Service[Any] with Product with Serializable
- Alphabetic
- By Inheritance
- Mock
- Serializable
- Serializable
- Product
- Equals
- Service
- Service
- 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
-
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]
-
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: ZIO[Any, 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
- Mock → Service
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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.
-
def
putStr(line: String): UIO[Unit]
Writes the specified string to the output buffer.
Writes the specified string to the output buffer.
- Definition Classes
- Mock → Service
-
def
putStrLn(line: String): ZIO[Any, Nothing, 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
- Mock → Service
-
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()