class MissingGroupException
Same name in this branch
- 8.9.x core/modules/simpletest/src/Exception/MissingGroupException.php \Drupal\simpletest\Exception\MissingGroupException
Same name in other branches
- 9 core/lib/Drupal/Core/Test/Exception/MissingGroupException.php \Drupal\Core\Test\Exception\MissingGroupException
- 10 core/lib/Drupal/Core/Test/Exception/MissingGroupException.php \Drupal\Core\Test\Exception\MissingGroupException
- 11.x core/lib/Drupal/Core/Test/Exception/MissingGroupException.php \Drupal\Core\Test\Exception\MissingGroupException
Exception thrown when a test class is missing an @group annotation.
Hierarchy
- class \Drupal\Core\Test\Exception\MissingGroupException extends \Drupal\Core\Test\Exception\LogicException
Expanded class hierarchy of MissingGroupException
See also
\Drupal\Core\Test\TestDiscovery::getTestClasses()
4 files declare their use of MissingGroupException
- MissingGroupException.php in core/
modules/ simpletest/ src/ Exception/ MissingGroupException.php - TestDiscovery.php in core/
modules/ simpletest/ src/ TestDiscovery.php - TestDiscovery.php in core/
lib/ Drupal/ Core/ Test/ TestDiscovery.php - TestDiscoveryTest.php in core/
tests/ Drupal/ Tests/ Core/ Test/ TestDiscoveryTest.php
File
-
core/
lib/ Drupal/ Core/ Test/ Exception/ MissingGroupException.php, line 10
Namespace
Drupal\Core\Test\ExceptionView source
class MissingGroupException extends \LogicException {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.