toString() 공개 메소드

Returns a string representation of the test suite.
public toString ( ) : string
리턴 string
예제 #1
0
파일: TestSuite.php 프로젝트: pago/pantr
 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();
 }