Search for test
| Title | Object type | File name | Summary |
|---|---|---|---|
| BlockCacheTestCase::$normal_user | property | modules/ |
|
| BlockCacheTestCase::$normal_user_alt | property | modules/ |
|
| BlockCacheTestCase::getInfo | function | modules/ |
|
| BlockCacheTestCase::setCacheMode | function | modules/ |
Private helper method to set the test block's cache mode. |
| BlockCacheTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| BlockCacheTestCase::testCacheGlobal | function | modules/ |
Test DRUPAL_CACHE_GLOBAL. |
| BlockCacheTestCase::testCachePerPage | function | modules/ |
Test DRUPAL_CACHE_PER_PAGE. |
| BlockCacheTestCase::testCachePerRole | function | modules/ |
Test DRUPAL_CACHE_PER_ROLE. |
| BlockCacheTestCase::testCachePerUser | function | modules/ |
Test DRUPAL_CACHE_PER_USER. |
| BlockCacheTestCase::testNoCache | function | modules/ |
Test DRUPAL_NO_CACHE. |
| BlockHashTestCase | class | modules/ |
Tests that block rehashing works correctly. |
| BlockHashTestCase::assertWeight | function | modules/ |
Asserts that the block_test module's block has a given weight. |
| BlockHashTestCase::doRehash | function | modules/ |
Performs a block rehash and checks several related assertions. |
| BlockHashTestCase::getInfo | function | modules/ |
|
| BlockHashTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| BlockHashTestCase::testBlockRehash | function | modules/ |
Tests that block rehashing does not write to the database too often. |
| BlockHiddenRegionTestCase | class | modules/ |
Tests that hidden regions do not inherit blocks when a theme is enabled. |
| BlockHiddenRegionTestCase::getInfo | function | modules/ |
|
| BlockHiddenRegionTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| BlockHiddenRegionTestCase::testBlockNotInHiddenRegion | function | modules/ |
Tests that hidden regions do not inherit blocks when a theme is enabled. |
| BlockHTMLIdTestCase | class | modules/ |
Test block HTML id validity. |
| BlockHTMLIdTestCase::$admin_user | property | modules/ |
|
| BlockHTMLIdTestCase::getInfo | function | modules/ |
|
| BlockHTMLIdTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| BlockHTMLIdTestCase::testHTMLId | function | modules/ |
Test valid HTML id. |
| BlockInvalidRegionTestCase | class | modules/ |
Tests that a block assigned to an invalid region triggers the warning. |
| BlockInvalidRegionTestCase::getInfo | function | modules/ |
|
| BlockInvalidRegionTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| BlockInvalidRegionTestCase::testBlockInInvalidRegion | function | modules/ |
Tests that blocks assigned to invalid regions work correctly. |
| BlockTemplateSuggestionsUnitTest | class | modules/ |
Unit tests for template_preprocess_block(). |
| BlockTemplateSuggestionsUnitTest::getInfo | function | modules/ |
|
| BlockTemplateSuggestionsUnitTest::testBlockThemeHookSuggestions | function | modules/ |
Test if template_preprocess_block() handles the suggestions right. |
| BlockTestCase | class | modules/ |
@file Tests for block.module. |
| BlockTestCase::$admin_user | property | modules/ |
|
| BlockTestCase::$regions | property | modules/ |
|
| BlockTestCase::getInfo | function | modules/ |
|
| BlockTestCase::moveBlockToRegion | function | modules/ |
|
| BlockTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| BlockTestCase::testBlock | function | modules/ |
Test configuring and moving a module-define block to specific regions. |
| BlockTestCase::testBlockRehash | function | modules/ |
Test _block_rehash(). |
| BlockTestCase::testBlockVisibility | function | modules/ |
Test block visibility. |
| BlockTestCase::testBlockVisibilityListedEmpty | function | modules/ |
Test block visibility when using "pages" restriction but leaving "pages" textarea empty |
| BlockTestCase::testBlockVisibilityPerUser | function | modules/ |
Test user customization of block visibility. |
| BlockTestCase::testCustomBlock | function | modules/ |
Test creating custom block, moving it to a specific region and then deleting it. |
| BlockTestCase::testCustomBlockFormat | function | modules/ |
Test creating custom block using Full HTML. |
| BlockViewModuleDeltaAlterWebTest | class | modules/ |
Tests for hook_block_view_MODULE_DELTA_alter(). |
| BlockViewModuleDeltaAlterWebTest::getInfo | function | modules/ |
|
| BlockViewModuleDeltaAlterWebTest::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| BlockViewModuleDeltaAlterWebTest::testBlockViewModuleDeltaAlter | function | modules/ |
Tests that the alter hook is called, even if the delta contains a hyphen. |
| block_form_form_test_alter_form_alter | function | modules/ |
Implements hook_form_FORM_ID_alter() on behalf of block.module. |
Pagination
- Previous page
- Page 6
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.