summaryrefslogtreecommitdiff
path: root/test/HTML5/TestCase.php
blob: 836614e7f2674b579c8a52f5b8196e8abc5cec32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
namespace HTML5\Tests;

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?
  }

  protected function wrap($fragment) {
    return self::DOC_OPEN . $fragment . self::DOC_CLOSE;
  }

}