final case class Test(systemState: Atomic[Data]) extends TestSystem with Product with Serializable
- Alphabetic
- By Inheritance
- Test
- Product
- Equals
- TestSystem
- Restorable
- System
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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)(implicit trace: Trace): UIO[Unit]
Clears the mapping of environment variables.
Clears the mapping of environment variables.
- Definition Classes
- Test → TestSystem
- def clearProperty(prop: String)(implicit trace: Trace): UIO[Unit]
Clears the mapping of system properties.
Clears the mapping of system properties.
- Definition Classes
- Test → TestSystem
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def env(variable: => String)(implicit trace: Trace): IO[SecurityException, Option[String]]
Returns the specified environment variable if it exists.
- def envOrElse(variable: => String, alt: => String)(implicit trace: Trace): IO[SecurityException, String]
Returns the specified environment variable if it exists or else the specified fallback value.
- def envOrOption(variable: => String, alt: => Option[String])(implicit trace: Trace): IO[SecurityException, Option[String]]
Returns the specified environment variable if it exists or else the specified optional fallback value.
- def envs(implicit trace: Trace): ZIO[Any, SecurityException, Map[String, String]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lineSeparator(implicit trace: Trace): UIO[String]
Returns the system line separator.
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def properties(implicit trace: Trace): ZIO[Any, Throwable, Map[String, String]]
- def property(prop: => String)(implicit trace: Trace): IO[Throwable, Option[String]]
Returns the specified system property if it exists.
- def propertyOrElse(prop: => String, alt: => String)(implicit trace: Trace): IO[Throwable, String]
Returns the specified system property if it exists or else the specified fallback value.
- def propertyOrOption(prop: => String, alt: => Option[String])(implicit trace: Trace): IO[Throwable, Option[String]]
Returns the specified system property if it exists or else the specified optional fallback value.
- def putEnv(name: String, value: String)(implicit trace: Trace): UIO[Unit]
Adds the specified name and value to the mapping of environment variables maintained by this
TestSystem
.Adds the specified name and value to the mapping of environment variables maintained by this
TestSystem
.- Definition Classes
- Test → TestSystem
- def putProperty(name: String, value: String)(implicit trace: Trace): UIO[Unit]
Adds the specified name and value to the mapping of system properties maintained by this
TestSystem
.Adds the specified name and value to the mapping of system properties maintained by this
TestSystem
.- Definition Classes
- Test → TestSystem
- def save(implicit trace: Trace): UIO[UIO[Unit]]
Saves the
TestSystem
's current state in an effect which, when run, will restore the
TestSystemstate to the saved state.
Saves the
TestSystem
's current state in an effect which, when run, will restore the
TestSystemstate to the saved state.
- Definition Classes
- Test → Restorable
- def setLineSeparator(lineSep: String)(implicit trace: Trace): UIO[Unit]
Sets the system line separator maintained by this
TestSystem
to the specified value.Sets the system line separator maintained by this
TestSystem
to the specified value.- Definition Classes
- Test → TestSystem
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val systemState: Atomic[Data]
- val unsafe: UnsafeAPI
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()