|
@@ 259-268 (lines=10) @@
|
| 256 |
|
$this->assertEquals(0, $result); |
| 257 |
|
} |
| 258 |
|
|
| 259 |
|
public function testRunnerVerbosityThresholdVerbose() |
| 260 |
|
{ |
| 261 |
|
$argv = ['placeholder', 'test:verbosity-threshold', '-v']; |
| 262 |
|
$result = $this->runner->execute($argv, null, null, $this->capturedOutputStream()); |
| 263 |
|
|
| 264 |
|
$this->assertOutputContains('This command will print more information at higher verbosity levels'); |
| 265 |
|
$this->assertOutputContains("Running echo verbose or higher\nverbose or higher"); |
| 266 |
|
$this->assertOutputNotContains('very verbose or higher'); |
| 267 |
|
$this->assertEquals(0, $result); |
| 268 |
|
} |
| 269 |
|
|
| 270 |
|
public function testRunnerVerbosityThresholdVeryVerbose() |
| 271 |
|
{ |
|
@@ 270-279 (lines=10) @@
|
| 267 |
|
$this->assertEquals(0, $result); |
| 268 |
|
} |
| 269 |
|
|
| 270 |
|
public function testRunnerVerbosityThresholdVeryVerbose() |
| 271 |
|
{ |
| 272 |
|
$argv = ['placeholder', 'test:verbosity-threshold', '-vv']; |
| 273 |
|
$result = $this->runner->execute($argv, null, null, $this->capturedOutputStream()); |
| 274 |
|
|
| 275 |
|
$this->assertOutputContains('This command will print more information at higher verbosity levels'); |
| 276 |
|
$this->assertOutputContains("Running echo verbose or higher\nverbose or higher"); |
| 277 |
|
$this->assertOutputContains("Running echo very verbose or higher\nvery verbose or higher"); |
| 278 |
|
$this->assertEquals(0, $result); |
| 279 |
|
} |
| 280 |
|
|
| 281 |
|
public function testRunnerDebugOutput() |
| 282 |
|
{ |