The testcase overrides the getName() method which is used by PHPUnit to
filter out invalid classes. Remove the method to let PHPUnit pick up
the tests.
Tested locally using:
php phpunit.php --debug --filter testLessFileCompilation
Bug: T106780
Change-Id: I5a59d69c96273725c2d4ca78d5e1b7303dd5cbf2
$this->assertNotNull( $compiler->compileFile( $this->file ) );
}
- public function getName( $withDataSet = true ) {
- return $this->toString();
- }
-
public function toString() {
$moduleName = $this->module->getName();