122 calls to DrupalWebTestCase::xpath()
- AggregatorRenderingTestCase::testBlockLinks in drupal/modules/aggregator/aggregator.test
- Adds a feed block to the page and checks its links.
- AggregatorRenderingTestCase::testFeedPage in drupal/modules/aggregator/aggregator.test
- Creates a feed and checks that feed's page.
- AJAXFormPageCacheTestCase::getFormBuildId in drupal/modules/simpletest/tests/ajax.test
- Return the build id of the current form.
- AJAXMultiFormTestCase::testMultiForm in drupal/modules/simpletest/tests/ajax.test
- Test that a page with the 'page_node_form' included twice works correctly.
- BlockTestCase::testCustomBlock in drupal/modules/block/block.test
- Test creating custom block, moving it to a specific region and then deleting it.
- BookTestCase::checkBookNode in drupal/modules/book/book.test
- Checks the outline of sub-pages; previous, up, and next.
- CascadingStylesheetsTestCase::testModuleInfo in drupal/modules/simpletest/tests/common.test
- Test that stylesheets in module .info files are loaded.
- CommentInterfaceTest::assertCommentLinks in drupal/modules/comment/comment.test
- Asserts that comment links appear according to the passed environment setup.
- CommentInterfaceTest::testCommentClasses in drupal/modules/comment/comment.test
- Tests CSS classes on comments.
- CommentInterfaceTest::testCommentNewCommentsIndicator in drupal/modules/comment/comment.test
- Tests new comment marker.
- CommentPagerTest::assertCommentOrder in drupal/modules/comment/comment.test
- Helper function: assert that the comments are displayed in the correct order.
- CommentPreviewTest::testCommentEditPreviewSave in drupal/modules/comment/comment.test
- Test comment edit, preview, and save.
- ConfirmFormTest::assertCancelLinkUrl in drupal/modules/system/system.test
- Asserts that a cancel link is present pointing to the provided URL.
- DashboardBlocksTestCase::testBlockAvailability in drupal/modules/dashboard/dashboard.test
- Tests that administrative blocks are available for the dashboard.
- DashboardBlocksTestCase::testDashboardRegions in drupal/modules/dashboard/dashboard.test
- Tests that dashboard regions are displayed or hidden properly.
- DBLogTestCase::doUser in drupal/modules/dblog/dblog.test
- Generates and then verifies some user events.
- DBLogTestCase::getLogEntries in drupal/modules/dblog/dblog.test
- Gets the database log event information from the browser page.
- DrupalWebTestCase::assertFieldByXPath in drupal/modules/simpletest/drupal_web_test_case.php
- Asserts that a field exists in the current page by the given XPath.
- DrupalWebTestCase::assertFieldChecked in drupal/modules/simpletest/drupal_web_test_case.php
- Asserts that a checkbox field in the current page is checked.
- DrupalWebTestCase::assertLink in drupal/modules/simpletest/drupal_web_test_case.php
- Pass if a link with the specified label is found, and optional with the
specified index.
- DrupalWebTestCase::assertLinkByHref in drupal/modules/simpletest/drupal_web_test_case.php
- Pass if a link containing a given href (part) is found.
- DrupalWebTestCase::assertNoDuplicateIds in drupal/modules/simpletest/drupal_web_test_case.php
- Asserts that each HTML ID is used for just a single element.
- DrupalWebTestCase::assertNoFieldByXPath in drupal/modules/simpletest/drupal_web_test_case.php
- Asserts that a field doesn't exist or its value doesn't match, by XPath.
- DrupalWebTestCase::assertNoFieldChecked in drupal/modules/simpletest/drupal_web_test_case.php
- Asserts that a checkbox field in the current page is not checked.
- DrupalWebTestCase::assertNoLink in drupal/modules/simpletest/drupal_web_test_case.php
- Pass if a link with the specified label is not found.
- DrupalWebTestCase::assertNoLinkByHref in drupal/modules/simpletest/drupal_web_test_case.php
- Pass if a link containing a given href (part) is not found.
- DrupalWebTestCase::assertNoOptionSelected in drupal/modules/simpletest/drupal_web_test_case.php
- Asserts that a select option in the current page is not checked.
- DrupalWebTestCase::assertNoTitle in drupal/modules/simpletest/drupal_web_test_case.php
- Pass if the page title is not the given string.
- DrupalWebTestCase::assertOptionSelected in drupal/modules/simpletest/drupal_web_test_case.php
- Asserts that a select option in the current page is checked.
- DrupalWebTestCase::assertTitle in drupal/modules/simpletest/drupal_web_test_case.php
- Pass if the page title is the given string.
- 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::clickLink in drupal/modules/simpletest/drupal_web_test_case.php
- Follows a link by name.
- DrupalWebTestCase::drupalPost in drupal/modules/simpletest/drupal_web_test_case.php
- Execute a POST request on a Drupal page.
It will be done as usual POST request with SimpleBrowser.
- DrupalWebTestCase::drupalPostAJAX in drupal/modules/simpletest/drupal_web_test_case.php
- Execute an Ajax submission.
- EnableDisableTestCase::testEnableDisable in drupal/modules/system/system.test
- Test that all core modules can be enabled, disabled and uninstalled.
- FieldFormTestCase::testNestedFieldForm in drupal/modules/field/tests/field.test
- Tests Field API form integration within a subform.
- FieldUIManageFieldsTestCase::addExistingField in drupal/modules/field_ui/field_ui.test
- Tests adding an existing field in another content type.
- FieldUIManageFieldsTestCase::createField in drupal/modules/field_ui/field_ui.test
- Tests adding a new field.
- FieldUIManageFieldsTestCase::testHiddenFields in drupal/modules/field_ui/field_ui.test
- Tests that Field UI respects the 'no_ui' option in hook_field_info().
- FileFieldWidgetTestCase::doTestTemporaryFileRemovalExploit in drupal/modules/file/tests/file.test
- Helper for testing exploiting the temporary file removal using fid.
- FileFieldWidgetTestCase::testMultiValuedWidget in drupal/modules/file/tests/file.test
- Tests upload and remove buttons for multiple multi-valued File fields.
- FileFieldWidgetTestCase::testSingleValuedWidget in drupal/modules/file/tests/file.test
- Tests upload and remove buttons for a single-valued File field.
- FileFieldWidgetTestCase::testWidgetValidation in drupal/modules/file/tests/file.test
- Tests validation with the Upload button.
- FilterAdminTestCase::testFilterAdmin in drupal/modules/filter/filter.test
- Tests filter administration functionality.
- FilterFormatAccessTestCase::testFormatPermissions in drupal/modules/filter/filter.test
- Tests the Filter format access permissions functionality.
- FormCheckboxTestCase::testFormCheckbox in drupal/modules/simpletest/tests/form.test
- FormElementTestCase::testOptions in drupal/modules/simpletest/tests/form.test
- Tests expansion of #options for #type checkboxes and radios.
- FormsElementsLabelsTestCase::testFormLabels in drupal/modules/simpletest/tests/form.test
- Test form elements, labels, title attibutes and required marks output
correctly and have the correct label option class if needed.
- FormsFormStoragePageCacheTestCase::getFormBuildId in drupal/modules/simpletest/tests/form.test
- Return the build id of the current form.
- FormsFormStorageTestCase::testImmutableForm in drupal/modules/simpletest/tests/form.test
- Verifies that form build-id is regenerated when loading an immutable form
from the cache.
- FormsFormStorageTestCase::testImmutableFormLegacyProtection in drupal/modules/simpletest/tests/form.test
- Verify that existing contrib code cannot overwrite immutable form state.
- FormsFormStorageTestCase::testMutableForm in drupal/modules/simpletest/tests/form.test
- Verify that the form build-id remains the same when validation errors
occur on a mutable form.
- FormsRebuildTestCase::testPreserveFormActionAfterAJAX in drupal/modules/simpletest/tests/form.test
- Tests that a form's action is retained after an Ajax submission.
- FormsTestCase::testDisabledElements in drupal/modules/simpletest/tests/form.test
- Test handling of disabled elements.
- FormsTestCase::testDisabledMarkup in drupal/modules/simpletest/tests/form.test
- Verify markup for disabled form elements.
- FormsTestCase::testInputForgery in drupal/modules/simpletest/tests/form.test
- Test Form API protections against input forgery.
- FormsTestCase::testRequiredCheckboxesRadio in drupal/modules/simpletest/tests/form.test
- Tests validation for required checkbox, select, and radio elements.
- FormsTriggeringElementTestCase::testAttemptAccessControlBypass in drupal/modules/simpletest/tests/form.test
- Test that $form_state['triggering_element'] does not get set to a button
with #access=FALSE.
- ForumTestCase::doAdminTests in drupal/modules/forum/forum.test
- Runs admin tests on the admin user.
- ForumTestCase::testForum in drupal/modules/forum/forum.test
- Tests forum functionality through the admin and user interfaces.
- ImageAdminStylesUnitTest::testDefaultStyle in drupal/modules/image/image.test
- Test to override, edit, then revert a style.
- LocaleLanguageSwitchingFunctionalTest::testLanguageBlock in drupal/modules/locale/locale.test
- Functional tests for the language switcher block.
- LocaleMultilingualFieldsFunctionalTest::testMultilingualDisplaySettings in drupal/modules/locale/locale.test
- LocalePathFunctionalTest::testPathLanguageConfiguration in drupal/modules/locale/locale.test
- Test if a language can be associated with a path alias.
- LocaleTranslationFunctionalTest::testStringValidation in drupal/modules/locale/locale.test
- Tests the validation of the translation input.
- LocaleUILanguageNegotiationTest::testUrlLanguageFallback in drupal/modules/locale/locale.test
- Test URL language detection when the requested URL has no language.
- LocaleUpgradePathTestCase::testLocaleUpgradeDomain in drupal/modules/simpletest/tests/upgrade/upgrade.locale.test
- Test an upgrade with domain-based negotiation.
- LocaleUserLanguageFunctionalTest::testUserLanguageConfiguration in drupal/modules/locale/locale.test
- Test if user can change their default language.
- MenuBreadcrumbTestCase::testBreadCrumbs in drupal/modules/simpletest/tests/menu.test
- Tests breadcrumbs on node and administrative paths.
- MenuNodeTestCase::assertNoOption in drupal/modules/menu/menu.test
- Asserts that a select option in the current page does not exist.
- MenuWebTestCase::assertBreadcrumb in drupal/modules/simpletest/tests/menu.test
- Assert that a given path shows certain breadcrumb links.
- MenuWebTestCase::getParts in drupal/modules/simpletest/tests/menu.test
- Returns the breadcrumb contents of the current page in the internal browser.
- ModuleDependencyTestCase::testIncompatibleCoreVersionDependency in drupal/modules/system/system.test
- Tests enabling a module that depends on a module with an incompatible core version.
- ModuleDependencyTestCase::testIncompatibleModuleVersionDependency in drupal/modules/system/system.test
- Tests enabling a module that depends on an incompatible version of a module.
- ModuleDependencyTestCase::testMissingModules in drupal/modules/system/system.test
- Attempt to enable a module with a missing dependency.
- ModuleDependencyTestCase::testUninstallDependents in drupal/modules/system/system.test
- Tests attempting to uninstall a module that has installed dependents.
- ModuleVersionTestCase::testModuleVersions in drupal/modules/system/system.test
- Test version dependencies.
- NodeAccessBaseTableTestCase::assertTaxonomyPage in drupal/modules/node/node.test
- Checks taxonomy/term listings to ensure only accessible nodes are listed.
- NodeAdminTestCase::testContentAdminSort in drupal/modules/node/node.test
- Tests that the table sorting works on the content admin pages.
- NodeBlockFunctionalTest::testRecentNodeBlock in drupal/modules/node/node.test
- Tests the recent comments block.
- NodeMultiByteUtf8Test::testMultiByteUtf8 in drupal/modules/node/node.test
- Tests that multi-byte UTF-8 characters are stored and retrieved correctly.
- NodePostSettingsTestCase::testPagePostInfo in drupal/modules/node/node.test
- Confirms "Basic page" content type and post information is on a new node.
- NodeQueryAlter::testNodeQueryAlterWithUI in drupal/modules/node/node.test
- Tests that node access permissions are followed.
- NodeTitleTestCase::testNodeTitle in drupal/modules/node/node.test
- Creates one node and tests if the node title has the correct value.
- OptionsSelectDynamicValuesTestCase::testSelectListDynamic in drupal/modules/field/modules/options/options.test
- Tests the 'options_select' widget (single select).
- OptionsWidgetsTestCase::testSelectListMultiple in drupal/modules/field/modules/options/options.test
- Tests the 'options_select' widget (multiple select).
- OptionsWidgetsTestCase::testSelectListSingle in drupal/modules/field/modules/options/options.test
- Tests the 'options_select' widget (single select).
- PagerFunctionalWebTestCase::assertPagerItems in drupal/modules/simpletest/tests/pager.test
- Asserts pager items and links.
- PagerFunctionalWebTestCase::testActiveClass in drupal/modules/simpletest/tests/pager.test
- Tests markup and CSS classes of pager links.
- PollCreateTestCase::testPollClose in drupal/modules/poll/poll.test
- PollCreateTestCase::testPollCreate in drupal/modules/poll/poll.test
- PollExpirationTestCase::testAutoExpire in drupal/modules/poll/poll.test
- PollTestCase::assertPollChoiceOrder in drupal/modules/poll/poll.test
- Assert correct poll choice order in the node form after submission.
- PollUpgradePathTestCase::testPollUpgrade in drupal/modules/simpletest/tests/upgrade/upgrade.poll.test
- Test a successful upgrade.
- PollUpgradePathTestCase::testPollUpgrade in drupal/modules/simpletest/tests/upgrade/upgrade.node.test
- Test a successful upgrade.
- PollVoteCheckHostname::testHostnamePollVote in drupal/modules/poll/poll.test
- Check that anonymous users with same ip cannot vote on poll more than once
unless user is logged in.
- PollVoteTestCase::testPollVote in drupal/modules/poll/poll.test
- RdfCommentAttributesTestCase::testCommentRdfaMarkup in drupal/modules/rdf/rdf.test
- Tests the presence of the RDFa markup for the title, date and author and
homepage on registered users and anonymous comments.
- RdfCommentAttributesTestCase::testCommentReplyOfRdfaMarkup in drupal/modules/rdf/rdf.test
- Test RDF comment replies.
- RdfCommentAttributesTestCase::testNumberOfCommentsRdfaMarkup in drupal/modules/rdf/rdf.test
- Tests the presence of the RDFa markup for the number of comments.
- RdfCommentAttributesTestCase::_testBasicCommentRdfaMarkup in drupal/modules/rdf/rdf.test
- Helper function for testCommentRdfaMarkup().
- RdfMappingDefinitionTestCase::testAttributesInMarkup1 in drupal/modules/rdf/rdf.test
- Create a node of type blog and test whether the RDF mapping defined for
this node type in rdf_test.module is used in the node page.
- RdfMappingDefinitionTestCase::testAttributesInMarkup2 in drupal/modules/rdf/rdf.test
- Create a content type and a node of type test_bundle_hook_install and test
whether the RDF mapping defined in rdf_test.install is used.
- RdfMappingDefinitionTestCase::testAttributesInMarkup3 in drupal/modules/rdf/rdf.test
- Create a random content type and node and ensure the default mapping for
node is used.
- RdfMappingDefinitionTestCase::testTaxonomyTermRdfaAttributes in drupal/modules/rdf/rdf.test
- Creates a random term and ensures the right RDFa markup is used.
- RdfMappingDefinitionTestCase::testUserAttributesInMarkup in drupal/modules/rdf/rdf.test
- Create a random user and ensure the default mapping for user is used.
- RdfRdfaMarkupTestCase::testAttributesInMarkupFile in drupal/modules/rdf/rdf.test
- Ensure that file fields have the correct resource as the object in RDFa
when displayed as a teaser.
- RdfTrackerAttributesTestCase::_testBasicTrackerRdfaMarkup in drupal/modules/rdf/rdf.test
- Helper function for testAttributesInTracker().
- SearchPageText::testSearchText in drupal/modules/search/search.test
- Tests the failed search text, and various other text on the search page.
- SessionHttpsTestCase::testEmptySessionId in drupal/modules/simpletest/tests/session.test
- Tests that empty session IDs do not cause unrelated sessions to load.
- SessionHttpsTestCase::testHttpsSession in drupal/modules/simpletest/tests/session.test
- SimpleTestBrowserTestCase::testXPathEscaping in drupal/modules/simpletest/simpletest.test
- Tests XPath escaping.
- SimpleTestFunctionalTest::getResultFieldSet in drupal/modules/simpletest/simpletest.test
- Get the fieldset containing the results for group this test is in.
- SyslogTestCase::testSettings in drupal/modules/syslog/syslog.test
- Tests the syslog settings page.
- SystemThemeFunctionalTest::testThemeSettings in drupal/modules/system/system.test
- Test the theme settings form.
- TranslationTestCase::addLanguage in drupal/modules/translation/translation.test
- Installs the specified language, or enables it if it is already installed.
- TranslationTestCase::findContentByXPath in drupal/modules/translation/translation.test
- Searches for elements matching the given xpath and value.
- UpgradePathTaxonomyTestCase::testTaxonomyUpgrade in drupal/modules/simpletest/tests/upgrade/upgrade.taxonomy.test
- Basic tests for the taxonomy upgrade.
- UpgradePathTestCase::performUpgrade in drupal/modules/simpletest/tests/upgrade/upgrade.test
- Perform the upgrade.
- UserAccountLinksUnitTests::testDisabledAccountLink in drupal/modules/user/user.test
- Tests disabling the 'My account' link.
- UserAccountLinksUnitTests::testSecondaryMenu in drupal/modules/user/user.test
- Tests the secondary menu.
- UserPictureTestCase::testExternalPicture in drupal/modules/user/user.test
- Test HTTP schema working with user pictures.