Tester\Runner\Job::getOutput PHP 메소드

getOutput() 공개 메소드

Returns test output.
public getOutput ( ) : string
리턴 string
    public function getOutput()
    {
        return $this->output;
    }

Usage Example

예제 #1
1
파일: TestHandler.php 프로젝트: xnovk/test
 private function assessOutputMatch(Job $job, $content)
 {
     if (!Tester\Assert::isMatching($content, $job->getOutput())) {
         Dumper::saveOutput($job->getFile(), $job->getOutput(), '.actual');
         Dumper::saveOutput($job->getFile(), $content, '.expected');
         return array(Runner::FAILED, 'Failed: output should match ' . Dumper::toLine(rtrim($content)));
     }
 }
All Usage Examples Of Tester\Runner\Job::getOutput