3 class PHPT_SimpleReporter implements PHPT_Reporter {
4 public function onSuiteStart(PHPT_Suite $suite) {
5 echo __METHOD__, " was called\n";
7 public function onCaseStart(PHPT_Case $case) {
8 echo __METHOD__, " was called\n";
10 public function onCasePass(PHPT_Case $case) {
11 echo __METHOD__, " was called\n";
13 public function onCaseEnd(PHPT_Case $case) {
14 echo __METHOD__, " was called\n";
16 public function onCaseFail(PHPT_Case $case, PHPT_Case_FailureException $failure) {
17 echo __METHOD__, " was called\n";
19 public function onCaseSkip(PHPT_Case $case, PHPT_Case_VetoException $veto) {
20 echo __METHOD__, " was called\n";
22 public function onSuiteEnd(PHPT_Suite $suite) {
23 echo __METHOD__, " was called\n";