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 |
Methods
void
void
run($blocking = TRUE)
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[]
getHeaders()
Returns output headers.
Details
at line 57
void
__construct($testFile, PhpInterpreter $interpreter, array $args = NULL)
No description
at line 70
void
run($blocking = TRUE)
Runs single test.
at line 104
bool
isRunning()
Checks if the test is still running.
at line 137
string
getFile()
Returns test file path.
at line 147
string[]
getArguments()
Returns script arguments.
at line 157
int
getExitCode()
Returns exit code.
at line 167
string
getOutput()
Returns test output.
at line 177
string[]
getHeaders()
Returns output headers.