PHPUnit_Framework_TestSuite::getName PHP Method

getName() public method

Returns the name of the suite.
public getName ( ) : string
return string
    public function getName()
    {
        return $this->name;
    }

Usage Example

コード例 #1
0
 /**
  * Determine the "full" test name (including the suite name if it is set)
  *
  * @param \PHPUnit_Framework_TestCase $test
  * @return string
  */
 private function getCurrentTestName(\PHPUnit_Framework_TestCase $test)
 {
     if (null === $this->currentSuite) {
         return $test->getName(true);
     }
     return $this->currentSuite->getName() . '::' . $test->getName(true);
 }
All Usage Examples Of PHPUnit_Framework_TestSuite::getName