Must be called to free all resources of this Run.
Calls JSRun#close on the underlying JSRun and awaits termination.
Calls JSRun#close on the underlying JSRun and awaits termination.
Waits until the given string is output to stderr (in UTF8).
Waits until the given string is output to stderr (in UTF8).
java.lang.AssertionError
if there is some other output on stderr
or the run terminates.
java.util.concurrent.TimeoutException
if there is not enough output for too long.
Waits until the given string is output to stdout (in UTF8).
Waits until the given string is output to stdout (in UTF8).
java.lang.AssertionError
if there is some other output on stdout
or the run terminates.
java.util.concurrent.TimeoutException
if there is not enough output for too long.
Waits until the underlying JSRun terminates and asserts it failed.
Waits until the underlying JSRun terminates and asserts it succeeded.
A JSRun instrumented for testing.
Create an instance of this class through one of the overloads of
TestKit.withRun
orTestKit.start
.