Handles output flag used to change printing on webrunner.
public handleReporter ( string $reporter ) : void | ||
$reporter | string | |
return | void |
/** * Generates a page containing the a list of test cases that could be run. * * @return void */ protected function _testCaseList() { // CUSTOMIZE MODIFY 2014/07/02 ryuring // >>> //$command = new CakeTestSuiteCommand('', $this->params); // --- $command = new BaserTestSuiteCommand('', $this->params); // <<< $Reporter = $command->handleReporter($this->params['output']); $Reporter->paintDocumentStart(); $Reporter->paintTestMenu(); $Reporter->testCaseList(); $Reporter->paintDocumentEnd(); }