final case class Test(systemState: Ref[Data]) extends system.System.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
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
clearEnv(variable: String): UIO[Unit]
Clears the mapping of environment variables.
-
def
clearProperty(prop: String): UIO[Unit]
Clears the mapping of system properties.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
env(variable: String): IO[SecurityException, Option[String]]
Returns the specified environment variable if it exists.
Returns the specified environment variable if it exists.
- Definition Classes
- Test → Service
-
def
envOrElse(variable: String, alt: ⇒ String): IO[SecurityException, String]
Returns the specified environment variable if it exists or else the specified fallback value.
Returns the specified environment variable if it exists or else the specified fallback value.
- Definition Classes
- Test → Service
-
def
envOrOption(variable: String, alt: ⇒ Option[String]): IO[SecurityException, Option[String]]
Returns the specified environment variable if it exists or else the specified optional fallback value.
Returns the specified environment variable if it exists or else the specified optional fallback value.
- Definition Classes
- Test → Service
-
val
envs: ZIO[Any, SecurityException, Map[String, String]]
- Definition Classes
- Test → Service
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
lineSeparator: UIO[String]
Returns the system line separator.
Returns the system line separator.
- Definition Classes
- Test → 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
properties: ZIO[Any, Throwable, Map[String, String]]
- Definition Classes
- Test → Service
-
def
property(prop: String): IO[Throwable, Option[String]]
Returns the specified system property if it exists.
Returns the specified system property if it exists.
- Definition Classes
- Test → Service
-
def
propertyOrElse(prop: String, alt: ⇒ String): IO[Throwable, String]
Returns the specified system property if it exists or else the specified fallback value.
Returns the specified system property if it exists or else the specified fallback value.
- Definition Classes
- Test → Service
-
def
propertyOrOption(prop: String, alt: ⇒ Option[String]): IO[Throwable, Option[String]]
Returns the specified system property if it exists or else the specified optional fallback value.
Returns the specified system property if it exists or else the specified optional fallback value.
- Definition Classes
- Test → Service
-
def
putEnv(name: String, value: String): UIO[Unit]
Adds the specified name and value to the mapping of environment variables maintained by this
TestSystem. -
def
putProperty(name: String, value: String): UIO[Unit]
Adds the specified name and value to the mapping of system properties maintained by this
TestSystem. -
val
save: UIO[UIO[Unit]]
Saves the
TestSystem's current state in an effect which, when run, will restore theTestSystemstate to the saved state.Saves the
TestSystem's current state in an effect which, when run, will restore theTestSystemstate to the saved state.- Definition Classes
- Test → Restorable
-
def
setLineSeparator(lineSep: String): UIO[Unit]
Sets the system line separator maintained by this
TestSystemto the specified value. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val systemState: Ref[Data]
-
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()