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
DrupalHTMLIdentifierTestCase class modules/simpletest/tests/common.test Test for cleaning HTML identifiers.
DrupalHTMLIdentifierTestCase::getInfo function modules/simpletest/tests/common.test
DrupalHTMLIdentifierTestCase::setAllowCSSDoubleUnderscores function modules/simpletest/tests/common.test Set the variable allow_css_double_underscores and reset the cache.
DrupalHTMLIdentifierTestCase::testDrupalCleanCSSIdentifier function modules/simpletest/tests/common.test Tests that drupal_clean_css_identifier() cleans the identifier properly.
DrupalHTMLIdentifierTestCase::testDrupalHTMLClass function modules/simpletest/tests/common.test Tests that drupal_html_class() cleans the class name properly.
DrupalHTMLIdentifierTestCase::testDrupalHTMLId function modules/simpletest/tests/common.test Tests that drupal_html_id() cleans the ID properly.
DrupalHtmlToTextTestCase class modules/simpletest/tests/mail.test Unit tests for drupal_html_to_text().
DrupalHtmlToTextTestCase::assertHtmlToText function modules/simpletest/tests/mail.test Helper function for testing drupal_html_to_text().
DrupalHtmlToTextTestCase::getInfo function modules/simpletest/tests/mail.test
DrupalHtmlToTextTestCase::stringToHtml function modules/simpletest/tests/mail.test Converts a string to its PHP source equivalent for display in test messages.
DrupalHtmlToTextTestCase::testDrupalHtmlToTextArgs function modules/simpletest/tests/mail.test Test $allowed_tags argument of drupal_html_to_text().
DrupalHtmlToTextTestCase::testDrupalHtmlToTextBlockTagToNewline function modules/simpletest/tests/mail.test Test that text separated by block-level tags in HTML get separated by
(at least) a newline in the plaintext version.
DrupalHtmlToTextTestCase::testDrupalHtmltoTextCollapsesWhitespace function modules/simpletest/tests/mail.test Test that whitespace is collapsed.
DrupalHtmlToTextTestCase::testDrupalHtmlToTextParagraphs function modules/simpletest/tests/mail.test Test that combinations of paragraph breaks, line breaks, linefeeds,
and spaces are properly handled.
DrupalHtmlToTextTestCase::testDrupalHtmltoTextRemoveTrailingWhitespace function modules/simpletest/tests/mail.test Tests that drupal_wrap_mail() removes trailing whitespace before newlines.
DrupalHtmlToTextTestCase::testDrupalHtmltoTextUsenetSignature function modules/simpletest/tests/mail.test Tests drupal_wrap_mail() retains whitespace from Usenet style signatures.
DrupalHtmlToTextTestCase::testFootnoteReferences function modules/simpletest/tests/mail.test Test that footnote references are properly generated.
DrupalHtmlToTextTestCase::testHeaderSeparation function modules/simpletest/tests/mail.test Test that headers are properly separated from surrounding text.
DrupalHtmlToTextTestCase::testTags function modules/simpletest/tests/mail.test Test all supported tags of drupal_html_to_text().
DrupalHtmlToTextTestCase::testVeryLongLineWrap function modules/simpletest/tests/mail.test Tests that drupal_html_to_text() wraps before 1000 characters.
DrupalHTTPRedirectTest class modules/simpletest/tests/common.test Unit tests for processing of http redirects.
DrupalHTTPRedirectTest::getInfo function modules/simpletest/tests/common.test
DrupalHTTPRedirectTest::testHostChange function modules/simpletest/tests/common.test
DrupalHTTPRedirectTest::testHttpsDowngrade function modules/simpletest/tests/common.test
DrupalHTTPRedirectTest::testNoHostChange function modules/simpletest/tests/common.test
DrupalHTTPRedirectTest::testNoHttpsDowngrade function modules/simpletest/tests/common.test
DrupalHTTPRequestTestCase class modules/simpletest/tests/common.test Test drupal_http_request().
DrupalHTTPRequestTestCase::getInfo function modules/simpletest/tests/common.test
DrupalHTTPRequestTestCase::setUp function modules/simpletest/tests/common.test Sets up a Drupal site for running functional and integration tests.
DrupalHTTPRequestTestCase::testDrupalHTTPRequest function modules/simpletest/tests/common.test
DrupalHTTPRequestTestCase::testDrupalHTTPRequestBasicAuth function modules/simpletest/tests/common.test
DrupalHTTPRequestTestCase::testDrupalHTTPRequestHeaders function modules/simpletest/tests/common.test Tests Content-language headers generated by Drupal.
DrupalHTTPRequestTestCase::testDrupalHTTPRequestRedirect function modules/simpletest/tests/common.test
DrupalHTTPResponseStatusLineTest class modules/simpletest/tests/common.test Tests parsing of the HTTP response status line.
DrupalHTTPResponseStatusLineTest::getInfo function modules/simpletest/tests/common.test
DrupalHTTPResponseStatusLineTest::statusLineData function modules/simpletest/tests/common.test Data provider for testStatusLine().
DrupalHTTPResponseStatusLineTest::testStatusLine function modules/simpletest/tests/common.test Tests parsing HTTP response status line.
DrupalJSONTest class modules/simpletest/tests/common.test Tests converting PHP variables to JSON strings and back.
DrupalJSONTest::getInfo function modules/simpletest/tests/common.test
DrupalJSONTest::testJSON function modules/simpletest/tests/common.test Tests converting PHP variables to JSON strings and back.
DrupalMatchPathTestCase class modules/simpletest/tests/path.test Unit tests for the drupal_match_path() function in path.inc.
DrupalMatchPathTestCase::$front property modules/simpletest/tests/path.test
DrupalMatchPathTestCase::drupalMatchPathTests function modules/simpletest/tests/path.test Helper function for testDrupalMatchPath(): set up an array of test cases.
DrupalMatchPathTestCase::getInfo function modules/simpletest/tests/path.test
DrupalMatchPathTestCase::setUp function modules/simpletest/tests/path.test Sets up a Drupal site for running functional and integration tests.
DrupalMatchPathTestCase::testDrupalMatchPath function modules/simpletest/tests/path.test Run through our test cases, making sure each one works as expected.
DrupalPrivateStreamWrapper class includes/stream_wrappers.inc Drupal private (private://) stream wrapper class.
DrupalPrivateStreamWrapper::getDirectoryPath function includes/stream_wrappers.inc Implements abstract public function getDirectoryPath()
DrupalPrivateStreamWrapper::getExternalUrl function includes/stream_wrappers.inc Overrides getExternalUrl().
DrupalRenderTestCase class modules/simpletest/tests/common.test Tests for drupal_render().

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