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
setEnvironmentVariable(string $name, string $value)
No description
string
getEnvironmentVariable(string $name)
No description
void
run(int $flags = 0)
Runs single test.
bool
isRunning()
Checks if the test is still running.
int
getExitCode()
Returns exit code.
array
getHeaders()
Returns output headers.
Details
at line 59
__construct(Test $test, PhpInterpreter $interpreter, array $envVars = null)
No description
at line 74
void
setEnvironmentVariable(string $name, string $value)
No description
at line 80
string
getEnvironmentVariable(string $name)
No description
at line 90
void
run(int $flags = 0)
Runs single test.
at line 147
bool
isRunning()
Checks if the test is still running.
at line 182
Test
getTest()
No description
at line 191
int
getExitCode()
Returns exit code.
at line 201
array
getHeaders()
Returns output headers.