summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2014-04-24 15:16:57 +0200
committerAndreas Fischer <bantu@owncloud.com>2014-04-24 15:16:57 +0200
commite85fe01faf3851576a222e7acb6f6944ed247778 (patch)
treef56d6532dd1e7b22f2269bad0a37eec14c22820a /tests
parentf9091a85847124a12dd459d5cb9683b400d69b6b (diff)
downloadnextcloud-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.php3
-rw-r--r--tests/testcleanuplistener.php3
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) {
}