You are here

OutputTestCase.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/_files/OutputTestCase.php

File

vendor/phpunit/phpunit/tests/_files/OutputTestCase.php
View source
<?php

class OutputTestCase extends PHPUnit_Framework_TestCase {
  public function testExpectOutputStringFooActualFoo() {
    $this
      ->expectOutputString('foo');
    print 'foo';
  }
  public function testExpectOutputStringFooActualBar() {
    $this
      ->expectOutputString('foo');
    print 'bar';
  }
  public function testExpectOutputRegexFooActualFoo() {
    $this
      ->expectOutputRegex('/foo/');
    print 'foo';
  }
  public function testExpectOutputRegexFooActualBar() {
    $this
      ->expectOutputRegex('/foo/');
    print 'bar';
  }

}

Classes

Namesort descending Description
OutputTestCase