diff options
author | Andreas Fischer <bantu@owncloud.com> | 2014-04-24 15:16:57 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2014-04-24 15:16:57 +0200 |
commit | e85fe01faf3851576a222e7acb6f6944ed247778 (patch) | |
tree | f56d6532dd1e7b22f2269bad0a37eec14c22820a /tests | |
parent | f9091a85847124a12dd459d5cb9683b400d69b6b (diff) | |
download | nextcloud-server-e85fe01faf3851576a222e7acb6f6944ed247778.tar.gz nextcloud-server-e85fe01faf3851576a222e7acb6f6944ed247778.zip |
Make PHPUnit_Framework_TestListener implementations compatible to 4.0.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/startsessionlistener.php | 3 | ||||
-rw-r--r-- | tests/testcleanuplistener.php | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/startsessionlistener.php b/tests/startsessionlistener.php index 808a2a2226f..ba049559c6e 100644 --- a/tests/startsessionlistener.php +++ b/tests/startsessionlistener.php @@ -20,6 +20,9 @@ class StartSessionListener implements PHPUnit_Framework_TestListener { public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) { } + public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time) { + } + public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) { } diff --git a/tests/testcleanuplistener.php b/tests/testcleanuplistener.php index 2083ffce67c..e3f250fdca2 100644 --- a/tests/testcleanuplistener.php +++ b/tests/testcleanuplistener.php @@ -25,6 +25,9 @@ class TestCleanupListener implements PHPUnit_Framework_TestListener { public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) { } + public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time) { + } + public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) { } |