class MissingGroupException

Same name in other branches
  1. 8.9.x core/modules/simpletest/src/Exception/MissingGroupException.php \Drupal\simpletest\Exception\MissingGroupException
  2. 8.9.x core/lib/Drupal/Core/Test/Exception/MissingGroupException.php \Drupal\Core\Test\Exception\MissingGroupException
  3. 10 core/lib/Drupal/Core/Test/Exception/MissingGroupException.php \Drupal\Core\Test\Exception\MissingGroupException
  4. 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()

2 files declare their use of MissingGroupException
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\Exception
View source
class MissingGroupException extends \LogicException {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.