PHPUnit_Framework_TestSuite::getGroupDetails PHP Method

getGroupDetails() public method

public getGroupDetails ( )
    public function getGroupDetails()
    {
        return $this->groups;
    }

Usage Example

Example #1
0
 /**
  * @param RecursiveIterator           $iterator
  * @param array                       $groups
  * @param PHPUnit_Framework_TestSuite $suite
  */
 public function __construct(RecursiveIterator $iterator, array $groups, PHPUnit_Framework_TestSuite $suite)
 {
     parent::__construct($iterator);
     foreach ($suite->getGroupDetails() as $group => $tests) {
         if (in_array($group, $groups)) {
             $testHashes = array_map(function ($test) {
                 return spl_object_hash($test);
             }, $tests);
             $this->groupTests = array_merge($this->groupTests, $testHashes);
         }
     }
 }
All Usage Examples Of PHPUnit_Framework_TestSuite::getGroupDetails