summaryrefslogtreecommitdiffstatshomepage
path: root/core/tests/Drupal/TestTools/PhpUnitTestCaseJUnitResult.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/tests/Drupal/TestTools/PhpUnitTestCaseJUnitResult.php')
-rw-r--r--core/tests/Drupal/TestTools/PhpUnitTestCaseJUnitResult.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/core/tests/Drupal/TestTools/PhpUnitTestCaseJUnitResult.php b/core/tests/Drupal/TestTools/PhpUnitTestCaseJUnitResult.php
new file mode 100644
index 00000000000..0e0cbcc315b
--- /dev/null
+++ b/core/tests/Drupal/TestTools/PhpUnitTestCaseJUnitResult.php
@@ -0,0 +1,17 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Drupal\TestTools;
+
+/**
+ * Enumeration of JUnit test result statuses.
+ */
+enum PhpUnitTestCaseJUnitResult: string {
+
+ case Pass = 'pass';
+ case Fail = 'fail';
+ case Error = 'error';
+ case Skip = 'skipped';
+
+}