namespace Drupal\Tests\block\Functional

Same name in other branches
  1. 10 Drupal\Tests\block\Functional
  2. 11.x Drupal\Tests\block\Functional
  3. 9 Drupal\Tests\block\Functional
Object name File name Summary
AssertBlockAppearsTrait core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php Provides test assertions for testing block appearance.
BlockAdminThemeTest core/modules/block/tests/src/Functional/BlockAdminThemeTest.php Tests the block system with admin themes.
BlockCacheTest core/modules/block/tests/src/Functional/BlockCacheTest.php Tests block caching.
BlockDemoTest core/modules/block/tests/src/Functional/BlockDemoTest.php Tests the block demo page with admin themes.
BlockFormInBlockTest core/modules/block/tests/src/Functional/BlockFormInBlockTest.php Tests form in block caching.
BlockHiddenRegionTest core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php Tests that a newly installed theme does not inherit blocks to its hidden
regions.
BlockHookOperationTest core/modules/block/tests/src/Functional/BlockHookOperationTest.php Tests for Block module regarding hook_entity_operations_alter().
BlockHtmlTest core/modules/block/tests/src/Functional/BlockHtmlTest.php Tests block HTML ID validity.
BlockInstallTest core/modules/block/tests/src/Functional/BlockInstallTest.php Tests block module's installation.
BlockInvalidRegionTest core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Tests that an active block assigned to a non-existing region triggers the
warning message and is disabled.
BlockLanguageCacheTest core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php Tests display of menu blocks with multiple languages.
BlockLanguageTest core/modules/block/tests/src/Functional/BlockLanguageTest.php Tests if a block can be configured to be only visible on a particular
language.
BlockRenderOrderTest core/modules/block/tests/src/Functional/BlockRenderOrderTest.php Tests blocks are being rendered in order by weight.
BlockSystemBrandingTest core/modules/block/tests/src/Functional/BlockSystemBrandingTest.php Tests branding block display.
BlockTest core/modules/block/tests/src/Functional/BlockTest.php Tests basic block functionality.
BlockTestBase core/modules/block/tests/src/Functional/BlockTestBase.php Provides setup and helper methods for block module tests.
BlockUiTest core/modules/block/tests/src/Functional/BlockUiTest.php Tests that the block configuration UI exists and stores data correctly.
BlockXssTest core/modules/block/tests/src/Functional/BlockXssTest.php Tests that the block module properly escapes block descriptions.
NonDefaultBlockAdminTest core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php Tests the block administration page for a non-default theme.

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