public function toString() { $str = parent::toString(); if (!is_null($this->parent)) { $str = $this->parent->toString() . ' ' . $str; } return $str; }
public function startTestSuite(PHPUnit_Framework_TestSuite $suite) { $this->depth++; if ($this->depth >= 2) { return; } $location = $this->LOCATION_PROTOCOL . $this->myfilename . "::" . $suite->toString(); print traceCommand("testSuiteStarted", "name", $suite->getName() . " (" . basename($this->myfilename) . ")", "locationHint", $location); flush(); }