| @@ 24-34 (lines=11) @@ | ||
| 21 | ob_start(); |
|
| 22 | } |
|
| 23 | ||
| 24 | protected function tearDown() |
|
| 25 | { |
|
| 26 | if ($this->args['DEBUG'] != 1) |
|
| 27 | return; |
|
| 28 | $out = ob_get_clean(); |
|
| 29 | $status = $this->getStatus(); |
|
| 30 | if ($status == PHPUnit_Runner_BaseTestRunner::STATUS_ERROR |
|
| 31 | || $status == PHPUnit_Runner_BaseTestRunner::STATUS_FAILURE) { |
|
| 32 | echo $out; |
|
| 33 | } |
|
| 34 | } |
|
| 35 | ||
| 36 | protected function newMsg($methodName, $params = array()) |
|
| 37 | { |
|
| @@ 27-37 (lines=11) @@ | ||
| 24 | ob_start(); |
|
| 25 | } |
|
| 26 | ||
| 27 | protected function tearDown() |
|
| 28 | { |
|
| 29 | if ($this->args['DEBUG'] != 1) |
|
| 30 | return; |
|
| 31 | $out = ob_get_clean(); |
|
| 32 | $status = $this->getStatus(); |
|
| 33 | if ($status == PHPUnit_Runner_BaseTestRunner::STATUS_ERROR |
|
| 34 | || $status == PHPUnit_Runner_BaseTestRunner::STATUS_FAILURE) { |
|
| 35 | echo $out; |
|
| 36 | } |
|
| 37 | } |
|
| 38 | ||
| 39 | public function test404() |
|
| 40 | { |
|
| @@ 103-113 (lines=11) @@ | ||
| 100 | ob_start(); |
|
| 101 | } |
|
| 102 | ||
| 103 | protected function tearDown() |
|
| 104 | { |
|
| 105 | if ($this->args['DEBUG'] != 1) |
|
| 106 | return; |
|
| 107 | $out = ob_get_clean(); |
|
| 108 | $status = $this->getStatus(); |
|
| 109 | if ($status == PHPUnit_Runner_BaseTestRunner::STATUS_ERROR |
|
| 110 | || $status == PHPUnit_Runner_BaseTestRunner::STATUS_FAILURE) { |
|
| 111 | echo $out; |
|
| 112 | } |
|
| 113 | } |
|
| 114 | ||
| 115 | /** |
|
| 116 | * @param PhpXmlRpc\Request|array $msg |
|