Loading core/modules/layout_builder/tests/modules/layout_builder_field_block_test/src/ContextProvider/FakeViewModeContext.php +0 −2 Original line number Diff line number Diff line Loading @@ -10,8 +10,6 @@ /** * Provides a global context for view_mode for testing purposes. * * @group layout_builder */ class FakeViewModeContext implements ContextProviderInterface { Loading core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php +0 −2 Original line number Diff line number Diff line Loading @@ -15,8 +15,6 @@ * This test checks that the discovered upgrade paths, which are based on the * source_module and destination_module definition matches the declared * upgrade paths in all the migrate_drupal.yml files. * * @group migrate_drupal */ trait ValidateMigrationStateTestTrait { Loading core/scripts/run-tests.sh +5 −5 Original line number Diff line number Diff line Loading @@ -85,7 +85,7 @@ } if ($args['list']) { // Display all available tests organized by one @group annotation. // Display all available tests organized by one #[Group()] attribute. echo "\nAvailable test groups & classes\n"; echo "-------------------------------\n\n"; $test_discovery = PhpUnitTestDiscovery::instance()->setConfigurationFilePath($args['phpunit-configuration']); Loading Loading @@ -378,7 +378,7 @@ function simpletest_script_help(): void { One or more tests to be run. By default, these are interpreted as the names of test groups which are derived from test class @group annotations. #[Group()] attributes. These group names typically correspond to module names like "User" or "Profile" or "System", but there is also a group "Database". If --class is specified then these are interpreted as the names of Loading Loading @@ -865,7 +865,7 @@ function simpletest_script_get_test_list() { echo (string) $e; exit(SIMPLETEST_SCRIPT_EXIT_EXCEPTION); } // Ensure that tests marked explicitly as @group #slow are run at the // Ensure that tests marked explicitly as #[Group('#slow')] are run at the // beginning of each job. if (key($groups) === '#slow') { $slow_tests = array_shift($groups); Loading @@ -890,8 +890,8 @@ function simpletest_script_get_test_list() { } else { // Sort all tests by the number of test cases on the test class. // This is used in combination with @group #slow to start the slowest // tests first and distribute tests between test runners. // This is used in combination with #[Group('#slow')] to start the // slowest tests first and distribute tests between test runners. sort_tests_by_public_method_count($slow_tests); sort_tests_by_public_method_count($not_slow_tests); $all_tests_list = array_merge($slow_tests, $not_slow_tests); Loading core/tests/Drupal/KernelTests/Core/Hook/HookOrderTestTrait.php +0 −2 Original line number Diff line number Diff line Loading @@ -6,8 +6,6 @@ /** * Provides methods to support testing hooks. * * @group Hook */ trait HookOrderTestTrait { Loading core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php +0 −6 Original line number Diff line number Diff line Loading @@ -1056,8 +1056,6 @@ protected function getRaw($value) { /** * Helper interface to test Container::get() with configurator. * * @group DependencyInjection */ interface MockConfiguratorInterface { Loading @@ -1074,8 +1072,6 @@ public function configureService($service); /** * Helper class to test Container::get() method for varying number of parameters. * * @group DependencyInjection */ class MockInstantiationService { Loading Loading @@ -1106,8 +1102,6 @@ public function getArguments() { /** * Helper class to test Container::get() method. * * @group DependencyInjection */ class MockService { Loading Loading
core/modules/layout_builder/tests/modules/layout_builder_field_block_test/src/ContextProvider/FakeViewModeContext.php +0 −2 Original line number Diff line number Diff line Loading @@ -10,8 +10,6 @@ /** * Provides a global context for view_mode for testing purposes. * * @group layout_builder */ class FakeViewModeContext implements ContextProviderInterface { Loading
core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php +0 −2 Original line number Diff line number Diff line Loading @@ -15,8 +15,6 @@ * This test checks that the discovered upgrade paths, which are based on the * source_module and destination_module definition matches the declared * upgrade paths in all the migrate_drupal.yml files. * * @group migrate_drupal */ trait ValidateMigrationStateTestTrait { Loading
core/scripts/run-tests.sh +5 −5 Original line number Diff line number Diff line Loading @@ -85,7 +85,7 @@ } if ($args['list']) { // Display all available tests organized by one @group annotation. // Display all available tests organized by one #[Group()] attribute. echo "\nAvailable test groups & classes\n"; echo "-------------------------------\n\n"; $test_discovery = PhpUnitTestDiscovery::instance()->setConfigurationFilePath($args['phpunit-configuration']); Loading Loading @@ -378,7 +378,7 @@ function simpletest_script_help(): void { One or more tests to be run. By default, these are interpreted as the names of test groups which are derived from test class @group annotations. #[Group()] attributes. These group names typically correspond to module names like "User" or "Profile" or "System", but there is also a group "Database". If --class is specified then these are interpreted as the names of Loading Loading @@ -865,7 +865,7 @@ function simpletest_script_get_test_list() { echo (string) $e; exit(SIMPLETEST_SCRIPT_EXIT_EXCEPTION); } // Ensure that tests marked explicitly as @group #slow are run at the // Ensure that tests marked explicitly as #[Group('#slow')] are run at the // beginning of each job. if (key($groups) === '#slow') { $slow_tests = array_shift($groups); Loading @@ -890,8 +890,8 @@ function simpletest_script_get_test_list() { } else { // Sort all tests by the number of test cases on the test class. // This is used in combination with @group #slow to start the slowest // tests first and distribute tests between test runners. // This is used in combination with #[Group('#slow')] to start the // slowest tests first and distribute tests between test runners. sort_tests_by_public_method_count($slow_tests); sort_tests_by_public_method_count($not_slow_tests); $all_tests_list = array_merge($slow_tests, $not_slow_tests); Loading
core/tests/Drupal/KernelTests/Core/Hook/HookOrderTestTrait.php +0 −2 Original line number Diff line number Diff line Loading @@ -6,8 +6,6 @@ /** * Provides methods to support testing hooks. * * @group Hook */ trait HookOrderTestTrait { Loading
core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php +0 −6 Original line number Diff line number Diff line Loading @@ -1056,8 +1056,6 @@ protected function getRaw($value) { /** * Helper interface to test Container::get() with configurator. * * @group DependencyInjection */ interface MockConfiguratorInterface { Loading @@ -1074,8 +1072,6 @@ public function configureService($service); /** * Helper class to test Container::get() method for varying number of parameters. * * @group DependencyInjection */ class MockInstantiationService { Loading Loading @@ -1106,8 +1102,6 @@ public function getArguments() { /** * Helper class to test Container::get() method. * * @group DependencyInjection */ class MockService { Loading