git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix test coverage calculations
[plcapi.git]
/
tests
/
3LocalhostTest.php
diff --git
a/tests/3LocalhostTest.php
b/tests/3LocalhostTest.php
index
439b635
..
d513b09
100644
(file)
--- a/
tests/3LocalhostTest.php
+++ b/
tests/3LocalhostTest.php
@@
-30,6
+30,9
@@
class LocalhostTest extends PhpXmlRpc_PolyfillTestCase
protected $collectCodeCoverageInformation;
protected $coverageScriptUrl;
protected $collectCodeCoverageInformation;
protected $coverageScriptUrl;
+ /**
+ * @todo instead of overriding run via _fail, implement PHPUnit_Framework_TestListener - IFF there is such an API portable across PHPUnit 5 to 9...
+ */
public static function _fail($message = '')
{
// save in a static var that this particular test has failed
public static function _fail($message = '')
{
// save in a static var that this particular test has failed
@@
-54,6
+57,8
@@
class LocalhostTest extends PhpXmlRpc_PolyfillTestCase
* @param TestResult $result
* @return TestResult
* @throws Exception
* @param TestResult $result
* @return TestResult
* @throws Exception
+ *
+ * @todo instead of overriding run via _run, subclass PHPUnit_Extensions_TestDecorator - IFF there is such an API portable across PHPUnit 5 to 9...
*/
public function _run($result = NULL)
{
*/
public function _run($result = NULL)
{