Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 10.3.x for test
  5. Search main for test
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.
Test class core/modules/config/tests/config_constant_test/src/Test.php A test class.

All search results

Title Object type File name Summary
ProjectInfoTest::testNotPublishedProject function core/modules/package_manager/tests/src/Kernel/ProjectInfoTest.php Tests a project with a status other than "published".
ProjectReleaseTest class core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests Drupal\update\ProjectRelease.
ProjectReleaseTest.php file core/modules/update/tests/src/Unit/ProjectReleaseTest.php
ProjectReleaseTest::getValidData function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Gets valid data for a project release.
ProjectReleaseTest::providerCreateFromArray function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArray().
ProjectReleaseTest::providerCreateFromArrayInvalidField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArrayInvalidField().
ProjectReleaseTest::providerCreateFromArrayMissingField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArrayMissingField().
ProjectReleaseTest::testCreateFromArray function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests creating with valid data.
ProjectReleaseTest::testCreateFromArrayInvalidField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests exceptions for invalid field types.
ProjectReleaseTest::testCreateFromArrayMissingField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests exceptions with missing fields.
ProjectReleaseTest::testOptionalFields function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests that optional fields can be omitted.
PromotedContentPageTest class core/modules/node/tests/src/Functional/Views/PromotedContentPageTest.php Tests the promoted content view provided with views.
PromotedContentPageTest.php file core/modules/node/tests/src/Functional/Views/PromotedContentPageTest.php
PromotedContentPageTest::$defaultTheme property core/modules/node/tests/src/Functional/Views/PromotedContentPageTest.php
PromotedContentPageTest::$modules property core/modules/node/tests/src/Functional/Views/PromotedContentPageTest.php
PromotedContentPageTest::$nodeStorage property core/modules/node/tests/src/Functional/Views/PromotedContentPageTest.php The entity storage for nodes.
PromotedContentPageTest::assertNotInResultSet function core/modules/node/tests/src/Functional/Views/PromotedContentPageTest.php Verifies that an amount of nids aren't in the result.
PromotedContentPageTest::doTestPromotedContentPageViewCacheTags function core/modules/node/tests/src/Functional/Views/PromotedContentPageTest.php Tests the cache tags on the promoted content page.
PromotedContentPageTest::setUp function core/modules/node/tests/src/Functional/Views/PromotedContentPageTest.php
PromotedContentPageTest::testCacheTagsWithCachePluginNone function core/modules/node/tests/src/Functional/Views/PromotedContentPageTest.php Tests the cache tags when using the "none" cache plugin.
PromotedContentPageTest::testCacheTagsWithCachePluginTag function core/modules/node/tests/src/Functional/Views/PromotedContentPageTest.php Tests the cache tags when using the "tag" cache plugin.
PromotedContentPageTest::testCacheTagsWithCachePluginTime function core/modules/node/tests/src/Functional/Views/PromotedContentPageTest.php Tests the cache tags when using the "time" cache plugin.
PromotedContentPageTest::testPromotedContentPage function core/modules/node/tests/src/Functional/Views/PromotedContentPageTest.php Tests the promoted content view.
PromotedContentViewTestTrait trait core/modules/node/tests/src/Traits/PromotedContentViewTestTrait.php Provides a method to enable the promoted_content view.
PromotedContentViewTestTrait.php file core/modules/node/tests/src/Traits/PromotedContentViewTestTrait.php
PromotedContentViewTestTrait::enablePromotedContentView function core/modules/node/tests/src/Traits/PromotedContentViewTestTrait.php Enables the promoted_content view and optionally rebuilds the router.
ProtectedUserFieldConstraintValidatorTest class core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php Tests Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraintValidator.
ProtectedUserFieldConstraintValidatorTest.php file core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php
ProtectedUserFieldConstraintValidatorTest::createValidator function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php
ProtectedUserFieldConstraintValidatorTest::testValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php Tests validate.
ProtectedUserFieldConstraintValidatorTest::validate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php Perform the validation.
ProtocolVersionCacheContextTest class core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php Tests Drupal\Core\Cache\Context\ProtocolVersionCacheContext.
ProtocolVersionCacheContextTest.php file core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php
ProtocolVersionCacheContextTest::providerTestGetContext function core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php Provides a list of query arguments and expected cache contexts.
ProtocolVersionCacheContextTest::testGetContext function core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php Tests get context.
ProviderRepositoryTest class core/modules/media/tests/src/Unit/ProviderRepositoryTest.php Tests Drupal\media\OEmbed\ProviderRepository.
ProviderRepositoryTest class core/modules/media/tests/src/Kernel/ProviderRepositoryTest.php Tests the oEmbed provider repository.
ProviderRepositoryTest.php file core/modules/media/tests/src/Kernel/ProviderRepositoryTest.php
ProviderRepositoryTest.php file core/modules/media/tests/src/Unit/ProviderRepositoryTest.php
ProviderRepositoryTest::$currentTime property core/modules/media/tests/src/Unit/ProviderRepositoryTest.php The time that the current test began.
ProviderRepositoryTest::$keyValue property core/modules/media/tests/src/Unit/ProviderRepositoryTest.php The key-value store.
ProviderRepositoryTest::$logger property core/modules/media/tests/src/Unit/ProviderRepositoryTest.php The mocked logger channel.
ProviderRepositoryTest::$repository property core/modules/media/tests/src/Unit/ProviderRepositoryTest.php The provider repository under test.
ProviderRepositoryTest::$responses property core/modules/media/tests/src/Unit/ProviderRepositoryTest.php The HTTP client handler which will serve responses.
ProviderRepositoryTest::providerEmptyProviderList function core/modules/media/tests/src/Kernel/ProviderRepositoryTest.php Data provider for testEmptyProviderList().
ProviderRepositoryTest::providerInvalidResponse function core/modules/media/tests/src/Unit/ProviderRepositoryTest.php Data provider for ::testInvalidResponse().
ProviderRepositoryTest::providerNonExistingProviderDatabase function core/modules/media/tests/src/Kernel/ProviderRepositoryTest.php Data provider for testEmptyProviderList().
ProviderRepositoryTest::setUp function core/modules/media/tests/src/Unit/ProviderRepositoryTest.php
ProviderRepositoryTest::testCorruptProviderIgnored function core/modules/media/tests/src/Unit/ProviderRepositoryTest.php Tests a successful fetch but with a single corrupt item.
ProviderRepositoryTest::testEmptyProviderList function core/modules/media/tests/src/Kernel/ProviderRepositoryTest.php Tests that provider discovery fails if the provider database is empty.

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