Search for discovery

  1. Search 7.x for discovery
  2. Search 9.5.x for discovery
  3. Search 10.3.x for discovery
  4. Search 11.x for discovery
  5. Search main for discovery
  6. Other projects
Title Object type File name Summary
TestDiscoveryDeprecationTest.php file core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php
TestDiscoveryDeprecationTest::$modules property core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php Modules to enable.
TestDiscoveryDeprecationTest::testHookSimpletestAlter function core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php @expectedDeprecation The deprecated alter hook hook_simpletest_alter() is implemented in these functions: simpletest_deprecation_test_simpletest_alter. Convert your test to a PHPUnit-based one and implement test listeners. See:…
TestDiscoveryTest class core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php @coversDefaultClass \Drupal\simpletest\TestDiscovery[[api-linebreak]]
TestDiscoveryTest class core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @coversDefaultClass \Drupal\Core\Test\TestDiscovery[[api-linebreak]]
@group Test
TestDiscoveryTest.php file core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php
TestDiscoveryTest.php file core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::getTestDiscoveryMock function core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php Mock a TestDiscovery object to return specific extension values.
TestDiscoveryTest::getTestDiscoveryMock function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Mock a TestDiscovery object to return specific extension values.
TestDiscoveryTest::infoParserProvider function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::providerTestGetPhpunitTestSuite function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::setupVfsWithTestClasses function core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php
TestDiscoveryTest::setupVfsWithTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::testGetPhpunitTestSuite function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getPhpunitTestSuite[[api-linebreak]]
@dataProvider providerTestGetPhpunitTestSuite
TestDiscoveryTest::testGetTestClasses function core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestClassesWithSelectedTypes function core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestClassesWithSelectedTypes function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestInfoEmptyDocblock function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Ensure that classes are not reflected when the docblock is empty.
TestDiscoveryTest::testGetTestsInProfiles function core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestsInProfiles function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testScanDirectoryNoAbstract function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Ensure TestDiscovery::scanDirectory() ignores certain abstract file types.
TestDiscoveryTest::testTestInfoParser function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestInfo[[api-linebreak]]
@dataProvider infoParserProvider
TestDiscoveryTest::testTestInfoParserMissingGroup function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestInfo[[api-linebreak]]
TestDiscoveryTest::testTestInfoParserMissingSummary function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestInfo[[api-linebreak]]
TestEntityTypeManager::setDiscovery function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Sets the discovery for the manager.
TestExtension::$extensionDiscovery property core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
TestExtension::getExtensionDiscovery function core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php Returns the extension discovery.
TestExtension::setExtensionDiscovery function core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
TestLibraryDiscoveryParser class core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Wraps the tested class to mock the external dependencies.
TestLibraryDiscoveryParser::$paths property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestLibraryDiscoveryParser::$validUris property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestLibraryDiscoveryParser::drupalGetPath function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Wraps drupal_get_path().
TestLibraryDiscoveryParser::fileValidUri function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Wraps \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidUri().
TestLibraryDiscoveryParser::setFileValidUri function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestLibraryDiscoveryParser::setPaths function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestMailManager::setDiscovery function core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php Sets the discovery for the manager.
TestRouteBuilder::$yamlDiscovery property core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php The mocked YAML discovery.
TestRouteBuilder::setYamlDiscovery function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php Sets the YAML discovery.
test_discovery service core/modules/simpletest/simpletest.services.yml Drupal\simpletest\TestDiscovery
ThemeNotUsingClassyLibraryTest::$libraryDiscovery property core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php The library discovery service.
TwigNamespaceTest::testTemplateDiscovery function core/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.php Tests template discovery using namespaces.
TwigRegistryLoaderTest::testTemplateDiscovery function core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php Tests template discovery using the Drupal theme registry.
TypedConfigManager::getDiscovery function core/lib/Drupal/Core/Config/TypedConfigManager.php Gets the plugin discovery.
UrlResolverTest::providerUrlDiscovery function core/modules/media/tests/src/Functional/UrlResolverTest.php Data provider for testUrlDiscovery().
UrlResolverTest::testUrlDiscovery function core/modules/media/tests/src/Functional/UrlResolverTest.php Tests URL resolution when the resource URL must be actively discovered by
scanning the asset.
VfsThemeExtensionList::$extensionDiscovery property core/tests/Drupal/KernelTests/Core/Theme/BaseThemeDefaultDeprecationTest.php The extension discovery for this extension list.
VfsThemeExtensionList::getExtensionDiscovery function core/tests/Drupal/KernelTests/Core/Theme/BaseThemeDefaultDeprecationTest.php Returns the extension discovery.
VfsThemeExtensionList::setExtensionDiscovery function core/tests/Drupal/KernelTests/Core/Theme/BaseThemeDefaultDeprecationTest.php Sets the extension discovery.
YamlDirectoryDiscovery class core/lib/Drupal/Core/Plugin/Discovery/YamlDirectoryDiscovery.php Allows multiple YAML files per directory to define plugin definitions.

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