You are here

class TestCase in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/masterminds/html5/test/HTML5/TestCase.php \Masterminds\HTML5\Tests\TestCase
  2. 8.0 vendor/behat/mink/driver-testsuite/tests/TestCase.php \Behat\Mink\Tests\Driver\TestCase
  3. 8.0 vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php \Composer\Installers\Test\TestCase
Same name and namespace in other branches
  1. 8 vendor/masterminds/html5/test/HTML5/TestCase.php \Masterminds\HTML5\Tests\TestCase

Hierarchy

  • class \Masterminds\HTML5\Tests\TestCase extends \Masterminds\HTML5\Tests\PHPUnit_Framework_TestCase

Expanded class hierarchy of TestCase

1 string reference to 'TestCase'
Util_TestDox_NamePrettifierTest::testCaterForUserDefinedSuffix in vendor/phpunit/phpunit/tests/Util/TestDox/NamePrettifierTest.php
@covers PHPUnit_Util_TestDox_NamePrettifier::prettifyTestClass

File

vendor/masterminds/html5/test/HTML5/TestCase.php, line 6

Namespace

Masterminds\HTML5\Tests
View source
class TestCase extends \PHPUnit_Framework_TestCase {
  const DOC_OPEN = '<!DOCTYPE html><html><head><title>test</title></head><body>';
  const DOC_CLOSE = '</body></html>';
  public function testFoo() {

    // Placeholder. Why is PHPUnit emitting warnings about no tests?
  }
  public function getInstance(array $options = array()) {
    return new HTML5($options);
  }
  protected function wrap($fragment) {
    return self::DOC_OPEN . $fragment . self::DOC_CLOSE;
  }

}

Members