You are here

class MissingGroupException in Drupal 8

Same name in this branch
  1. 8 core/modules/simpletest/src/Exception/MissingGroupException.php \Drupal\simpletest\Exception\MissingGroupException
  2. 8 core/lib/Drupal/Core/Test/Exception/MissingGroupException.php \Drupal\Core\Test\Exception\MissingGroupException
Same name and namespace in other branches
  1. 9 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\Exception
View source
class MissingGroupException extends \LogicException {

}

Members