Bridges should be allowed to declare their own functions.

This commit is contained in:
Teromene 2016-08-30 11:39:04 +02:00
parent dca1b37993
commit 65e599ba65

View File

@ -58,8 +58,6 @@ class BridgeImplementationTest extends PHPUnit_Framework_TestCase {
$parent_names .= ', ' . $parent;
}
// There should generally be no additional (public) function
$this->assertEmpty($methods, $bridgeName . ' extends (' . $parent_names . ') and defines additional public functions : ' . $method_names . '!');
}
// Checks if the bridge returns the default value for 'getCacheDuration()'
@ -152,4 +150,4 @@ class BridgeAbstractTest extends BridgeAbstract{
public function collectData(array $params){}
public function getName(){return '';}
public function getURI(){return '';}
}
}