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
drupal_autoload_test_trait.sh file modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_trait.sh Test traits for code registry testing.
drupal_generate_test_ua function includes/bootstrap.inc Generates a user agent string with a HMAC and timestamp for simpletest.
drupal_system_listing_compatible_test.info file modules/simpletest/tests/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info name = "Drupal system listing compatible test"
description = "Support module for testing the drupal_system_listing function."
package = Testing
version = VERSION
core = 7.x
hidden = TRUE
drupal_system_listing_compatible_test.info file profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info name = "Drupal system listing compatible test"
description = "Support module for testing the drupal_system_listing function."
package = Testing
version = VERSION
core = 7.x
hidden = TRUE
files[] =…
drupal_system_listing_compatible_test.module file profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.module
drupal_system_listing_compatible_test.module file modules/simpletest/tests/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.module
drupal_system_listing_compatible_test.test file profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.test
drupal_system_listing_incompatible_test.info file profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info name = "Drupal system listing incompatible test"
description = "Support module for testing the drupal_system_listing function."
package = Testing
version = VERSION
; This deliberately has the wrong core version, to test that it…
drupal_system_listing_incompatible_test.info file modules/simpletest/tests/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info name = "Drupal system listing incompatible test"
description = "Support module for testing the drupal_system_listing function."
package = Testing
version = VERSION
core = 7.x
hidden = TRUE
drupal_system_listing_incompatible_test.module file modules/simpletest/tests/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.module
drupal_system_listing_incompatible_test.module file profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.module
drupal_valid_test_ua function includes/bootstrap.inc Returns the test prefix if this is an internal request from SimpleTest.
drupal_web_test_case.php file modules/simpletest/drupal_web_test_case.php
EarlyBootstrapTestCase class modules/simpletest/tests/boot.test Perform early bootstrap tests.
EarlyBootstrapTestCase::getInfo function modules/simpletest/tests/boot.test
EarlyBootstrapTestCase::setUp function modules/simpletest/tests/boot.test Sets up a Drupal site for running functional and integration tests.
EarlyBootstrapTestCase::testHookBoot function modules/simpletest/tests/boot.test Test hook_boot() on both regular and "early exit" pages.
EnableDisableTestCase class modules/system/system.test Test module enabling/disabling functionality.
EnableDisableTestCase::$profile property modules/system/system.test The profile to install as a basis for testing.
EnableDisableTestCase::assertSuccessfulDisableAndUninstall function modules/system/system.test Disables and uninstalls a module and asserts that it was done correctly.
EnableDisableTestCase::getInfo function modules/system/system.test
EnableDisableTestCase::testEnableDisable function modules/system/system.test Test that all core modules can be enabled, disabled and uninstalled.
EnableDisableTestCase::testEntityInfoCacheWatchdog function modules/system/system.test Tests entity info cache after enabling a module with a dependency on an entity providing module.
EnableDisableTestCase::testEntityInfoChanges function modules/system/system.test Ensures entity info cache is updated after changes.
EntityCrudHookTestCase class modules/simpletest/tests/entity_crud_hook_test.test Tests invocation of hooks when performing an action.
EntityCrudHookTestCase::$ids property modules/simpletest/tests/entity_crud_hook_test.test
EntityCrudHookTestCase::assertHookMessage function modules/simpletest/tests/entity_crud_hook_test.test Pass if the message $text was set by one of the CRUD hooks in
entity_crud_hook_test.module, i.e., if the $text is an element of
$_SESSION['entity_crud_hook_test'].
EntityCrudHookTestCase::getInfo function modules/simpletest/tests/entity_crud_hook_test.test
EntityCrudHookTestCase::setUp function modules/simpletest/tests/entity_crud_hook_test.test Sets up a Drupal site for running functional and integration tests.
EntityCrudHookTestCase::testCommentHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on comments.
EntityCrudHookTestCase::testFileHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on files.
EntityCrudHookTestCase::testNodeHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on nodes.
EntityCrudHookTestCase::testTaxonomyTermHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on taxonomy terms.
EntityCrudHookTestCase::testTaxonomyVocabularyHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on taxonomy vocabularies.
EntityCrudHookTestCase::testUserHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on users.
EntityFieldQueryTestCase class modules/simpletest/tests/entity_query.test Tests EntityFieldQuery.
EntityFieldQueryTestCase::$fields property modules/simpletest/tests/entity_query.test
EntityFieldQueryTestCase::$field_names property modules/simpletest/tests/entity_query.test
EntityFieldQueryTestCase::$instances property modules/simpletest/tests/entity_query.test
EntityFieldQueryTestCase::assertEntityFieldQuery function modules/simpletest/tests/entity_query.test Fetches the results of an EntityFieldQuery and compares.
EntityFieldQueryTestCase::getInfo function modules/simpletest/tests/entity_query.test
EntityFieldQueryTestCase::setUp function modules/simpletest/tests/entity_query.test Sets up a Drupal site for running functional and integration tests.
EntityFieldQueryTestCase::testEntityFieldQuery function modules/simpletest/tests/entity_query.test Tests EntityFieldQuery.
EntityFieldQueryTestCase::testEntityFieldQueryAccess function modules/simpletest/tests/entity_query.test Tests EntityFieldQuery access on non-node entities.
EntityFieldQueryTestCase::testEntityFieldQueryDisablePager function modules/simpletest/tests/entity_query.test Tests disabling the pager in EntityFieldQuery.
EntityFieldQueryTestCase::testEntityFieldQueryMetaConditions function modules/simpletest/tests/entity_query.test Tests field meta conditions.
EntityFieldQueryTestCase::testEntityFieldQueryPager function modules/simpletest/tests/entity_query.test Tests the pager integration of EntityFieldQuery.
EntityFieldQueryTestCase::testEntityFieldQueryRouting function modules/simpletest/tests/entity_query.test Tests the routing feature of EntityFieldQuery.
EntityFieldQueryTestCase::testEntityFieldQueryTableSort function modules/simpletest/tests/entity_query.test Tests the TableSort integration of EntityFieldQuery.
EntityFieldQueryTestCase::testEntityFieldQueryTranslatable function modules/simpletest/tests/entity_query.test Tests querying translatable fields.

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