Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
WebTestBase.php
»
WebTestBase
»
WebTestBase::drupalGetContent
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
30 calls to WebTestBase::drupalGetContent()
CommentBlockTest::testRecentCommentBlock
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentBlockTest.php
Tests the recent comments block.
CommentTestBase::commentContactInfoAvailable
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentTestBase.php
Checks whether the commenter's contact information is displayed.
CommentTestBase::commentExists
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentTestBase.php
Checks current page for specified comment.
CommentTestBase::getUnapprovedComment
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentTestBase.php
Gets the comment ID for an unapproved comment.
FormTest::testSelect
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormTest.php
Tests validation of #type 'select' elements.
ItemsPerPageTest::testItemsPerPage
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Wizard/
ItemsPerPageTest.php
Tests the number of items per page.
LanguageSelectElementTest::testHiddenLanguageSelectElement
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
LanguageSelectElementTest.php
Tests the case when the language select elements should not be printed.
ManageDisplayTest::assertNodeViewTextHelper
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
Tests/
ManageDisplayTest.php
Asserts that a string is (not) found in the rendered nodein a view mode.
PageCacheTest::testPageCompression
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Bootstrap/
PageCacheTest.php
Tests page compression.
RenderTest::assertRenderedElement
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
RenderTest.php
Tests that elements are rendered properly.
SelectPagerDefaultTest::testEvenPagerQuery
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
SelectPagerDefaultTest.php
Confirms that a pager query returns the correct results.
SelectPagerDefaultTest::testOddPagerQuery
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
SelectPagerDefaultTest.php
Confirms that a pager query returns the correct results.
SelectTableSortDefaultTest::testTableSortQuery
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
SelectTableSortDefaultTest.php
Confirms that a tablesort query returns the correct results.
SelectTableSortDefaultTest::testTableSortQueryFirst
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
SelectTableSortDefaultTest.php
Confirms precedence of tablesorts headers.
SessionTest::testSessionSaveRegenerate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Session/
SessionTest.php
Tests for
drupal_save_session
() and
drupal_session_regenerate
().
SortingTest::testSorting
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Wizard/
SortingTest.php
Tests the sorting functionality.
TemporaryQueryTest::testTemporaryQuery
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
TemporaryQueryTest.php
Confirms that temporary tables work and are limited to one request.
TranslationTest::addLanguage
in drupal/
core/
modules/
translation/
lib/
Drupal/
translation/
Tests/
TranslationTest.php
Installs the specified language, or enables it if it is already installed.
UpdateContribTest::testUpdateContribOrder
in drupal/
core/
modules/
update/
lib/
Drupal/
update/
Tests/
UpdateContribTest.php
Tests that contrib projects are ordered by project name.
UpgradePathTestBase::performUpgrade
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
UpgradePathTestBase.php
Perform the upgrade.
UserBlocksTests::testWhosOnlineBlock
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserBlocksTests.php
Test the Who's Online block.
WebTestBase::assertNoPattern
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Will trigger a pass if the perl regex pattern is not present in raw content.
WebTestBase::assertNoRaw
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.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.
WebTestBase::assertPattern
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Will trigger a pass if the Perl regex pattern is found in the raw content.
WebTestBase::assertRaw
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.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.
WebTestBase::assertTextHelper
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Helper for assertText and assertNoText.
WebTestBase::assertUniqueTextHelper
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Helper for assertUniqueText and assertNoUniqueText.
WebTestBase::checkForMetaRefresh
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.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.
WebTestBase::curlExec
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Initializes and executes a cURL request.
WebTestBase::parse
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Parse content returned from curlExec using DOM and SimpleXML.