Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TestSuite.php

function TestSuite::containsOnlyVirtualGroups

1 call to TestSuite::containsOnlyVirtualGroups()
TestSuite::addTest in vendor/phpunit/phpunit/src/Framework/TestSuite.php
Adds a test to the suite.

File

vendor/phpunit/phpunit/src/Framework/TestSuite.php, line 555

Class

TestSuite
@template-implements IteratorAggregate<int, Test>

Namespace

PHPUnit\Framework

Code

private function containsOnlyVirtualGroups(array $groups) : bool {
    foreach ($groups as $group) {
        if (!str_starts_with($group, '__phpunit_')) {
            return false;
        }
    }
    return true;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal