3 require_once 'class.csstidy_csst.php';
6 * Performs the csst tests in csst/ folder
8 class csstidy_test_csst
extends csstidy_harness
11 $files = globr(dirname(__FILE__
) . '/csst', '*.csst');
12 foreach ($files as $filename) {
13 $expectation = new csstidy_csst();
14 $result = $this->assert($expectation, $filename, '%s');
15 // this is necessary because SimpleTest doesn't support
16 // HTML messages; this probably should be in the reporter.
17 // This is *not* compatible with XmlReporter
18 if (!$result) echo $expectation->render();