Lines Matching refs:groups
59 protected $groups = []; variable in PHPUnit_Framework_TestSuite
206 * @param array $groups
208 public function addTest(PHPUnit_Framework_Test $test, $groups = []) argument
217 empty($groups)) {
218 $groups = $test->getGroups();
221 if (empty($groups)) {
222 $groups = ['default'];
225 foreach ($groups as $group) {
226 if (!isset($this->groups[$group])) {
227 $this->groups[$group] = [$test];
229 $this->groups[$group][] = $test;
234 $test->setGroups($groups);
534 $groups = PHPUnit_Util_Test::getGroups($className, $name);
539 $test->addTest($data, $groups);
564 $test->addTest($_test, $groups);
629 return array_keys($this->groups);
634 return $this->groups;
640 * @param array $groups
642 public function setGroupDetails(array $groups) argument
644 $this->groups = $groups;