|
@@ 391-398 (lines=8) @@
|
| 388 |
|
$this->assertTrue($result->wasSuccessful()); |
| 389 |
|
} |
| 390 |
|
|
| 391 |
|
public function testExpectOutputStringFooActualFoo() |
| 392 |
|
{ |
| 393 |
|
$test = new OutputTestCase('testExpectOutputStringFooActualFoo'); |
| 394 |
|
$result = $test->run(); |
| 395 |
|
|
| 396 |
|
$this->assertEquals(1, count($result)); |
| 397 |
|
$this->assertTrue($result->wasSuccessful()); |
| 398 |
|
} |
| 399 |
|
|
| 400 |
|
public function testExpectOutputStringFooActualBar() |
| 401 |
|
{ |
|
@@ 409-416 (lines=8) @@
|
| 406 |
|
$this->assertFalse($result->wasSuccessful()); |
| 407 |
|
} |
| 408 |
|
|
| 409 |
|
public function testExpectOutputRegexFooActualFoo() |
| 410 |
|
{ |
| 411 |
|
$test = new OutputTestCase('testExpectOutputRegexFooActualFoo'); |
| 412 |
|
$result = $test->run(); |
| 413 |
|
|
| 414 |
|
$this->assertEquals(1, count($result)); |
| 415 |
|
$this->assertTrue($result->wasSuccessful()); |
| 416 |
|
} |
| 417 |
|
|
| 418 |
|
public function testExpectOutputRegexFooActualBar() |
| 419 |
|
{ |