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. 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.

All search results

Title Object type File name Summary
BlockPluginHasSettingsTrayFormAccessCheckTest.php file core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php
BlockPluginHasSettingsTrayFormAccessCheckTest::providerTestAccess function core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php Provides test data for ::testAccess().
BlockPluginHasSettingsTrayFormAccessCheckTest::testAccess function core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php @covers ::access[[api-linebreak]]
@covers ::accessBlockPlugin[[api-linebreak]]
@dataProvider providerTestAccess
BlockRebuildTest class core/modules/block/tests/src/Kernel/BlockRebuildTest.php Tests block_rebuild().
BlockRebuildTest.php file core/modules/block/tests/src/Kernel/BlockRebuildTest.php
BlockRebuildTest::$configSchemaCheckerExclusions property core/modules/block/tests/src/Kernel/BlockRebuildTest.php An array of config object names that are excluded from schema checking.
BlockRebuildTest::$modules property core/modules/block/tests/src/Kernel/BlockRebuildTest.php Modules to install.
BlockRebuildTest::setUp function core/modules/block/tests/src/Kernel/BlockRebuildTest.php
BlockRebuildTest::testRebuildInvalidBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers \Drupal\block\Hook\BlockHooks::rebuild[[api-linebreak]]
BlockRebuildTest::testRebuildNoBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers \Drupal\block\Hook\BlockHooks::rebuild[[api-linebreak]]
BlockRebuildTest::testRebuildNoInvalidBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers \Drupal\block\Hook\BlockHooks::rebuild[[api-linebreak]]
BlockRegionTest class core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php @coversDefaultClass \Drupal\block\Plugin\migrate\process\BlockRegion[[api-linebreak]]
@group block
BlockRegionTest.php file core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php
BlockRegionTest::testTransformSameThemeRegionExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Tests transforming a block with the same theme and an existing region.
BlockRegionTest::testTransformSameThemeRegionNotExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Tests transforming a block with the same theme and a non-existent region.
BlockRegionTest::transform function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Transforms a value through the block_region plugin.
BlockRenderOrderTest class core/modules/block/tests/src/Functional/BlockRenderOrderTest.php Tests blocks are being rendered in order by weight.
BlockRenderOrderTest.php file core/modules/block/tests/src/Functional/BlockRenderOrderTest.php
BlockRenderOrderTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockRenderOrderTest.php The theme to install as the default for testing.
BlockRenderOrderTest::$modules property core/modules/block/tests/src/Functional/BlockRenderOrderTest.php Modules to install.
BlockRenderOrderTest::setUp function core/modules/block/tests/src/Functional/BlockRenderOrderTest.php
BlockRenderOrderTest::testBlockRenderOrder function core/modules/block/tests/src/Functional/BlockRenderOrderTest.php Tests the render order of the blocks.
BlockRepositoryTest class core/modules/block/tests/src/Unit/BlockRepositoryTest.php @coversDefaultClass \Drupal\block\BlockRepository[[api-linebreak]]
@group block
BlockRepositoryTest.php file core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::$blockRepository property core/modules/block/tests/src/Unit/BlockRepositoryTest.php The block repository.
BlockRepositoryTest::$blockStorage property core/modules/block/tests/src/Unit/BlockRepositoryTest.php The block storage or a mock.
BlockRepositoryTest::$contextHandler property core/modules/block/tests/src/Unit/BlockRepositoryTest.php The context handler of a mock.
BlockRepositoryTest::$theme property core/modules/block/tests/src/Unit/BlockRepositoryTest.php The theme for the test.
BlockRepositoryTest::providerBlocksConfig function core/modules/block/tests/src/Unit/BlockRepositoryTest.php Provides data to testGetVisibleBlocksPerRegion().
BlockRepositoryTest::setUp function core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::testGetVisibleBlocksPerRegion function core/modules/block/tests/src/Unit/BlockRepositoryTest.php Tests the retrieval of block entities.
BlockRepositoryTest::testGetVisibleBlocksPerRegionWithContext function core/modules/block/tests/src/Unit/BlockRepositoryTest.php Tests the retrieval of block entities that are context-aware.
BlockResourceTestBase class core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Resource test base for the block entity.
BlockResourceTestBase.php file core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php
BlockResourceTestBase::$entity property core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php
BlockResourceTestBase::$entityTypeId property core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php The tested entity type.
BlockResourceTestBase::$modules property core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Modules to install.
BlockResourceTestBase::createEntity function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Creates the entity to be tested.
BlockResourceTestBase::getExpectedCacheContexts function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
BlockResourceTestBase::getExpectedCacheTags function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php The expected cache tags for the GET/HEAD response of the test entity.
BlockResourceTestBase::getExpectedNormalizedEntity function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Returns the expected normalization of the entity.
BlockResourceTestBase::getExpectedUnauthorizedAccessCacheability function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php @todo Fix this in https://www.drupal.org/node/2820315.
BlockResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Return the expected error message.
BlockResourceTestBase::getExpectedUnauthorizedEntityAccessCacheability function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php The cacheability of unauthorized 'view' entity access.
BlockResourceTestBase::getNormalizedPostEntity function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Returns the normalized POST entity.
BlockResourceTestBase::setUpAuthorization function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Sets up the necessary authorization.
BlockSettingsTest class core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php @coversDefaultClass \Drupal\block\Plugin\migrate\process\BlockSettings[[api-linebreak]]
@group block
BlockSettingsTest.php file core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php
BlockSettingsTest::providerTestTransform function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php Provides data for testTransform.
BlockSettingsTest::testTransform function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php Tests the blocks settings process plugin.

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