Метод | Описание | |
---|---|---|
createFailed ( GrumPHP\Task\TaskInterface $task, GrumPHP\Task\Context\ContextInterface $context, string $message ) : |
||
createNonBlockingFailed ( GrumPHP\Task\TaskInterface $task, GrumPHP\Task\Context\ContextInterface $context, string $message ) : |
||
createPassed ( GrumPHP\Task\TaskInterface $task, GrumPHP\Task\Context\ContextInterface $context ) : |
||
createSkipped ( GrumPHP\Task\TaskInterface $task, GrumPHP\Task\Context\ContextInterface $context ) : |
||
getContext ( ) : GrumPHP\Task\Context\ContextInterface | ||
getMessage ( ) : null | string | ||
getResultCode ( ) : integer | ||
getTask ( ) : GrumPHP\Task\TaskInterface | ||
isBlocking ( ) : boolean | ||
isPassed ( ) : boolean |
Метод | Описание | |
---|---|---|
__construct ( integer $resultCode, GrumPHP\Task\TaskInterface $task, GrumPHP\Task\Context\ContextInterface $context, string | null $message = null ) | Initializes test result. |
public static createFailed ( GrumPHP\Task\TaskInterface $task, GrumPHP\Task\Context\ContextInterface $context, string $message ) : |
||
$task | GrumPHP\Task\TaskInterface | |
$context | GrumPHP\Task\Context\ContextInterface | |
$message | string | |
Результат |
public static createNonBlockingFailed ( GrumPHP\Task\TaskInterface $task, GrumPHP\Task\Context\ContextInterface $context, string $message ) : |
||
$task | GrumPHP\Task\TaskInterface | |
$context | GrumPHP\Task\Context\ContextInterface | |
$message | string | |
Результат |
public static createPassed ( GrumPHP\Task\TaskInterface $task, GrumPHP\Task\Context\ContextInterface $context ) : |
||
$task | GrumPHP\Task\TaskInterface | |
$context | GrumPHP\Task\Context\ContextInterface | |
Результат |
public static createSkipped ( GrumPHP\Task\TaskInterface $task, GrumPHP\Task\Context\ContextInterface $context ) : |
||
$task | GrumPHP\Task\TaskInterface | |
$context | GrumPHP\Task\Context\ContextInterface | |
Результат |
public getContext ( ) : GrumPHP\Task\Context\ContextInterface | ||
Результат | GrumPHP\Task\Context\ContextInterface |
public getTask ( ) : GrumPHP\Task\TaskInterface | ||
Результат | GrumPHP\Task\TaskInterface |