Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
drupal_web_test_case.php
»
DrupalWebTestCase
»
DrupalWebTestCase::drupalGetContent
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
29 calls to DrupalWebTestCase::drupalGetContent()
BootstrapDestinationTestCase::testDestination
in drupal/
modules/
simpletest/
tests/
bootstrap.test
Tests that $_GET/$_REQUEST['destination'] only contain internal URLs.
BootstrapPageCacheTestCase::testPageCompression
in drupal/
modules/
simpletest/
tests/
bootstrap.test
Test page compression.
CommentBlockFunctionalTest::testRecentCommentBlock
in drupal/
modules/
comment/
comment.test
Test the recent comments block.
CommentHelperCase::commentContactInfoAvailable
in drupal/
modules/
comment/
comment.test
Check for contact info.
CommentHelperCase::commentExists
in drupal/
modules/
comment/
comment.test
Checks current page for specified comment.
CommentHelperCase::getUnapprovedComment
in drupal/
modules/
comment/
comment.test
Get the comment ID for an unapproved comment.
DatabaseSelectPagerDefaultTestCase::testEvenPagerQuery
in drupal/
modules/
simpletest/
tests/
database_test.test
Confirm that a pager query returns the correct results.
DatabaseSelectPagerDefaultTestCase::testOddPagerQuery
in drupal/
modules/
simpletest/
tests/
database_test.test
Confirm that a pager query returns the correct results.
DatabaseSelectTableSortDefaultTestCase::testTableSortQuery
in drupal/
modules/
simpletest/
tests/
database_test.test
Confirm that a tablesort query returns the correct results.
DatabaseSelectTableSortDefaultTestCase::testTableSortQueryFirst
in drupal/
modules/
simpletest/
tests/
database_test.test
Confirm that if a tablesort's orderByHeader is called before another orderBy, that the header happens first.
DatabaseTemporaryQueryTestCase::testTemporaryQuery
in drupal/
modules/
simpletest/
tests/
database_test.test
Confirm that temporary tables work and are limited to one request.
DrupalRenderTestCase::assertRenderedElement
in drupal/
modules/
simpletest/
tests/
common.test
DrupalWebTestCase::assertNoPattern
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Will trigger a pass if the perl regex pattern is not present in raw content.
DrupalWebTestCase::assertNoRaw
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Pass if the raw text is NOT found on the loaded page, fail otherwise. Raw text refers to the raw HTML that the page generated.
DrupalWebTestCase::assertPattern
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Will trigger a pass if the Perl regex pattern is found in the raw content.
DrupalWebTestCase::assertRaw
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Pass if the raw text IS found on the loaded page, fail otherwise. Raw text refers to the raw HTML that the page generated.
DrupalWebTestCase::assertTextHelper
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Helper for assertText and assertNoText.
DrupalWebTestCase::assertUniqueTextHelper
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Helper for assertUniqueText and assertNoUniqueText.
DrupalWebTestCase::checkForMetaRefresh
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Check for meta refresh tag and if found call drupalGet() recursively. This function looks for the http-equiv attribute to be set to "Refresh" and is case-sensitive.
DrupalWebTestCase::curlExec
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Initializes and executes a cURL request.
DrupalWebTestCase::parse
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Parse content returned from curlExec using DOM and SimpleXML.
FieldUIManageDisplayTestCase::assertNodeViewTextHelper
in drupal/
modules/
field_ui/
field_ui.test
Asserts that a string is (not) found in the rendered nodein a view mode.
FormsTestCase::testSelect
in drupal/
modules/
simpletest/
tests/
form.test
Tests validation of #type 'select' elements.
LocaleTranslationFunctionalTest::testStringValidation
in drupal/
modules/
locale/
locale.test
Tests the validation of the translation input.
SessionTestCase::testSessionSaveRegenerate
in drupal/
modules/
simpletest/
tests/
session.test
Tests for
drupal_save_session
() and
drupal_session_regenerate
().
TranslationTestCase::addLanguage
in drupal/
modules/
translation/
translation.test
Installs the specified language, or enables it if it is already installed.
UpdateTestContribCase::testUpdateContribOrder
in drupal/
modules/
update/
update.test
Tests that contrib projects are ordered by project name.
UpgradePathTestCase::performUpgrade
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.test
Perform the upgrade.
UserBlocksUnitTests::testWhosOnlineBlock
in drupal/
modules/
user/
user.test
Test the Who's Online block.