Search for test

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

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