PHP 클래스 Mutagenesis\Adapter\AdapterAbstract

파일 보기 프로젝트 열기: padraic/mutagenesis 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_output string Output from the test library in use

공개 메소드들

메소드 설명
getOutput ( ) : string Get the test library output
runTests ( Base $runner, boolean $useStdout = false, boolean $firstRun = false, array $mutation = [], array $testCases = [] ) : array Runs the tests suite according to Runner set options and the execution order of test case (if any). It then returns an array of two elements.
setOutput ( string $output ) Set the test library output so it can be used later

메소드 상세

getOutput() 공개 메소드

Get the test library output
public getOutput ( ) : string
리턴 string

runTests() 추상적인 공개 메소드

First element is a boolean result value indicating if tests passed or not. Second element is an array containing the key "stdout" which stores the output from the last test run.
abstract public runTests ( Base $runner, boolean $useStdout = false, boolean $firstRun = false, array $mutation = [], array $testCases = [] ) : array
$runner Mutagenesis\Runner\Base
$useStdout boolean
$firstRun boolean
$mutation array
$testCases array
리턴 array

setOutput() 공개 메소드

Set the test library output so it can be used later
public setOutput ( string $output )
$output string

프로퍼티 상세

$_output 보호되어 있는 프로퍼티

Output from the test library in use
protected string $_output
리턴 string