TestStatus::EXCEPTION

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Test/TestStatus.php \Drupal\Core\Test\TestStatus::EXCEPTION
  2. 10 core/lib/Drupal/Core/Test/TestStatus.php \Drupal\Core\Test\TestStatus::EXCEPTION
  3. 11.x core/lib/Drupal/Core/Test/TestStatus.php \Drupal\Core\Test\TestStatus::EXCEPTION

Signify that the test result was an exception or code error.

This means that the test runner was able to exit and report an error.

File

core/lib/Drupal/Core/Test/TestStatus.php, line 29

Class

TestStatus
Consolidates test result status information.

Namespace

Drupal\Core\Test

Code

const EXCEPTION = 2;

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