eb6d2af1bed5786a293f836cfc88a5df245e932a
4 * Base test harness for CSSTidy, please make all tests inherit from this.
6 class csstidy_harness
extends UnitTestCase
9 * Modified testing algorithm that allows a single test method to be
10 * prefixed with __only in order to make it the only one run.
13 // __onlytest makes only one test get triggered
14 foreach (get_class_methods(get_class($this)) as $method) {
15 if (strtolower(substr($method, 0, 10)) == '__onlytest') {
16 return array($method);
19 return parent
::getTests();