Job
class Job
Single test job.
Constants
CODE_NONE |
|
CODE_OK |
|
CODE_SKIP |
|
CODE_FAIL |
|
CODE_ERROR |
|
RUN_USLEEP |
waiting time between process activity check in microseconds |
RUN_ASYNC |
|
RUN_COLLECT_ERRORS |
|
Methods
void
void
run($flags = NULL)
Runs single test.
bool
isRunning()
Checks if the test is still running.
string
getFile()
Returns test file path.
string[]
getArguments()
Returns script arguments.
int
getExitCode()
Returns exit code.
string
getOutput()
Returns test output.
string|null
getErrorOutput()
Returns test error output.
string[]
getHeaders()
Returns output headers.
Details
at line 67
void
__construct($testFile, PhpInterpreter $interpreter, array $args = NULL)
No description
at line 80
void
run($flags = NULL)
Runs single test.
at line 123
bool
isRunning()
Checks if the test is still running.
at line 162
string
getFile()
Returns test file path.
at line 172
string[]
getArguments()
Returns script arguments.
at line 182
int
getExitCode()
Returns exit code.
at line 192
string
getOutput()
Returns test output.
at line 202
string|null
getErrorOutput()
Returns test error output.
at line 212
string[]
getHeaders()
Returns output headers.