Browse Source

Normalise testcleanuplistener.php indentation and end of file.

tags/v7.0.0alpha2
Andreas Fischer 10 years ago
parent
commit
916b265cd5
1 changed files with 16 additions and 17 deletions
  1. 16
    17
      tests/testcleanuplistener.php

+ 16
- 17
tests/testcleanuplistener.php View File

$this->verbosity = $verbosity; $this->verbosity = $verbosity;
} }


public function addError(PHPUnit_Framework_Test $test, Exception $e, $time) {
}
public function addError(PHPUnit_Framework_Test $test, Exception $e, $time) {
}


public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time) {
}
public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time) {
}


public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
}
public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
}


public function addRiskyTest(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) {
}
public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
}


public function startTest(PHPUnit_Framework_Test $test) {
}
public function startTest(PHPUnit_Framework_Test $test) {
}


public function endTest(PHPUnit_Framework_Test $test, $time) {
}
public function endTest(PHPUnit_Framework_Test $test, $time) {
}


public function startTestSuite(PHPUnit_Framework_TestSuite $suite) {
}
public function startTestSuite(PHPUnit_Framework_TestSuite $suite) {
}


public function endTestSuite(PHPUnit_Framework_TestSuite $suite) {
public function endTestSuite(PHPUnit_Framework_TestSuite $suite) {
if ($this->cleanStrayDataFiles() && $this->isShowSuiteWarning()) { if ($this->cleanStrayDataFiles() && $this->isShowSuiteWarning()) {
printf("TestSuite '%s': Did not clean up data dir\n", $suite->getName()); printf("TestSuite '%s': Did not clean up data dir\n", $suite->getName());
} }
if ($this->cleanProxies() && $this->isShowSuiteWarning()) { if ($this->cleanProxies() && $this->isShowSuiteWarning()) {
printf("TestSuite '%s': Did not clean up proxies\n", $suite->getName()); printf("TestSuite '%s': Did not clean up proxies\n", $suite->getName());
} }
}
}


private function isShowSuiteWarning() { private function isShowSuiteWarning() {
return $this->verbosity === 'suite' || $this->verbosity === 'detail'; return $this->verbosity === 'suite' || $this->verbosity === 'detail';
return count($proxies) > 0; return count($proxies) > 0;
} }
} }
?>

Loading…
Cancel
Save