Clears the mapping of environment variables.
Clears the mapping of system properties.
Returns the specified environment variable if it exists.
Returns the specified environment variable if it exists.
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.
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.
Returns the system line separator.
Returns the system line separator.
Returns the specified system property if it exists.
Returns the specified system property if it exists.
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.
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.
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 system properties
maintained by this TestSystem
.
Saves the TestSystem
's current state in an effect which, when run, will restore the
TestSystem
state to the saved state.
Saves the TestSystem
's current state in an effect which, when run, will restore the
TestSystem
state to the saved state.
Sets the system line separator maintained by this TestSystem
to the
specified value.