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
DrupalTestCase::assertFalse function modules/simpletest/drupal_web_test_case.php Check to see if a value is false (an empty string, 0, NULL, or FALSE).
DrupalTestCase::assertIdentical function modules/simpletest/drupal_web_test_case.php Check to see if two values are identical.
DrupalTestCase::assertNotEqual function modules/simpletest/drupal_web_test_case.php Check to see if two values are not equal.
DrupalTestCase::assertNotIdentical function modules/simpletest/drupal_web_test_case.php Check to see if two values are not identical.
DrupalTestCase::assertNotNull function modules/simpletest/drupal_web_test_case.php Check to see if a value is not NULL.
DrupalTestCase::assertNull function modules/simpletest/drupal_web_test_case.php Check to see if a value is NULL.
DrupalTestCase::assertTrue function modules/simpletest/drupal_web_test_case.php Check to see if a value is not false (not an empty string, 0, NULL, or FALSE).
DrupalTestCase::deleteAssert function modules/simpletest/drupal_web_test_case.php Delete an assertion record by message ID.
DrupalTestCase::error function modules/simpletest/drupal_web_test_case.php Fire an error assertion.
DrupalTestCase::errorHandler function modules/simpletest/drupal_web_test_case.php Handle errors during test runs.
DrupalTestCase::exceptionHandler function modules/simpletest/drupal_web_test_case.php Handle exceptions.
DrupalTestCase::fail function modules/simpletest/drupal_web_test_case.php Fire an assertion that is always negative.
DrupalTestCase::generatePermutations function modules/simpletest/drupal_web_test_case.php Converts a list of possible parameters into a stack of permutations.
DrupalTestCase::getAssertionCall function modules/simpletest/drupal_web_test_case.php Cycles through backtrace until the first non-assertion method is found.
DrupalTestCase::getDatabaseConnection function modules/simpletest/drupal_web_test_case.php Returns the database connection to the site running Simpletest.
DrupalTestCase::insertAssert function modules/simpletest/drupal_web_test_case.php Store an assertion from outside the testing context.
DrupalTestCase::pass function modules/simpletest/drupal_web_test_case.php Fire an assertion that is always positive.
DrupalTestCase::randomName function modules/simpletest/drupal_web_test_case.php Generates a random string containing letters and numbers.
DrupalTestCase::randomString function modules/simpletest/drupal_web_test_case.php Generates a random string of ASCII characters of codes 32 to 126.
DrupalTestCase::run function modules/simpletest/drupal_web_test_case.php Run all tests in this class.
DrupalTestCase::verbose function modules/simpletest/drupal_web_test_case.php Logs a verbose message in a text file.
DrupalTestCase::__construct function modules/simpletest/drupal_web_test_case.php Constructor for DrupalTestCase.
DrupalUnitTestCase class modules/simpletest/drupal_web_test_case.php Test case for Drupal unit tests.
DrupalUnitTestCase::setUp function modules/simpletest/drupal_web_test_case.php Sets up unit test environment.
DrupalUnitTestCase::tearDown function modules/simpletest/drupal_web_test_case.php
DrupalUnitTestCase::__construct function modules/simpletest/drupal_web_test_case.php Constructor for DrupalUnitTestCase.
DrupalWebTestCase class modules/simpletest/drupal_web_test_case.php Test case for typical Drupal tests.
DrupalWebTestCase::$additionalCurlOptions property modules/simpletest/drupal_web_test_case.php Additional cURL options.
DrupalWebTestCase::$content property modules/simpletest/drupal_web_test_case.php The content of the page currently loaded in the internal browser.
DrupalWebTestCase::$cookieFile property modules/simpletest/drupal_web_test_case.php The current cookie file used by cURL.
DrupalWebTestCase::$cookies property modules/simpletest/drupal_web_test_case.php The cookies of the page currently loaded in the internal browser.
DrupalWebTestCase::$curlHandle property modules/simpletest/drupal_web_test_case.php The handle of the current cURL connection.
DrupalWebTestCase::$drupalSettings property modules/simpletest/drupal_web_test_case.php The value of the Drupal.settings JavaScript variable for the page currently loaded in the internal browser.
DrupalWebTestCase::$elements property modules/simpletest/drupal_web_test_case.php The parsed version of the page.
DrupalWebTestCase::$generatedTestFiles property modules/simpletest/drupal_web_test_case.php Whether the files were copied to the test files directory.
DrupalWebTestCase::$headers property modules/simpletest/drupal_web_test_case.php The headers of the page currently loaded in the internal browser.
DrupalWebTestCase::$httpauth_credentials property modules/simpletest/drupal_web_test_case.php HTTP authentication credentials (<username>:<password>).
DrupalWebTestCase::$httpauth_method property modules/simpletest/drupal_web_test_case.php HTTP authentication method
DrupalWebTestCase::$loggedInUser property modules/simpletest/drupal_web_test_case.php The current user logged in using the internal browser.
DrupalWebTestCase::$originalCleanUrl property modules/simpletest/drupal_web_test_case.php The original clean_url variable value.
DrupalWebTestCase::$originalLanguageUrl property modules/simpletest/drupal_web_test_case.php The original language URL.
DrupalWebTestCase::$originalProfile property modules/simpletest/drupal_web_test_case.php The original active installation profile.
DrupalWebTestCase::$originalShutdownCallbacks property modules/simpletest/drupal_web_test_case.php The original shutdown handlers array, before it was cleaned for testing purposes.
DrupalWebTestCase::$originalUser property modules/simpletest/drupal_web_test_case.php The original user, before it was changed to a clean uid = 1 for testing purposes.
DrupalWebTestCase::$plainTextContent property modules/simpletest/drupal_web_test_case.php The content of the page currently loaded in the internal browser (plain text version).
DrupalWebTestCase::$private_files_directory property modules/simpletest/drupal_web_test_case.php The private files directory created for testing purposes.
DrupalWebTestCase::$profile property modules/simpletest/drupal_web_test_case.php The profile to install as a basis for testing.
DrupalWebTestCase::$public_files_directory property modules/simpletest/drupal_web_test_case.php The public files directory created for testing purposes.
DrupalWebTestCase::$redirect_count property modules/simpletest/drupal_web_test_case.php The number of redirects followed during the handling of a request.
DrupalWebTestCase::$session_id property modules/simpletest/drupal_web_test_case.php The current session ID, if available.

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