40 calls to DrupalTestCase::assert()
- AggregatorRenderingTestCase::testBlockLinks in drupal/modules/aggregator/aggregator.test
- Adds a feed block to the page and checks its links.
- AJAXMultiFormTestCase::testMultiForm in drupal/modules/simpletest/tests/ajax.test
- Test that a page with the 'page_node_form' included twice works correctly.
- CascadingStylesheetsTestCase::testAlter in drupal/modules/simpletest/tests/common.test
- Tests Locale module's CSS Alter to include RTL overrides.
- CascadingStylesheetsTestCase::testRenderOverride in drupal/modules/simpletest/tests/common.test
- Test CSS override.
- CommentActionsTestCase::assertWatchdogMessage in drupal/modules/comment/comment.test
- Verify that a watchdog message has been entered.
- CommentInterfaceTest::setEnvironment in drupal/modules/comment/comment.test
- Re-configures the environment, module settings, and user permissions.
- DrupalTestCase::assertEqual in drupal/modules/simpletest/drupal_web_test_case.php
- Check to see if two values are equal.
- DrupalTestCase::assertFalse in drupal/modules/simpletest/drupal_web_test_case.php
- Check to see if a value is false (an empty string, 0, NULL, or FALSE).
- DrupalTestCase::assertIdentical in drupal/modules/simpletest/drupal_web_test_case.php
- Check to see if two values are identical.
- DrupalTestCase::assertNotEqual in drupal/modules/simpletest/drupal_web_test_case.php
- Check to see if two values are not equal.
- DrupalTestCase::assertNotIdentical in drupal/modules/simpletest/drupal_web_test_case.php
- Check to see if two values are not identical.
- DrupalTestCase::assertNotNull in drupal/modules/simpletest/drupal_web_test_case.php
- Check to see if a value is not NULL.
- DrupalTestCase::assertNull in drupal/modules/simpletest/drupal_web_test_case.php
- Check to see if a value is NULL.
- DrupalTestCase::assertTrue in drupal/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::error in drupal/modules/simpletest/drupal_web_test_case.php
- Fire an error assertion.
- DrupalTestCase::fail in drupal/modules/simpletest/drupal_web_test_case.php
- Fire an assertion that is always negative.
- DrupalTestCase::pass in drupal/modules/simpletest/drupal_web_test_case.php
- Fire an assertion that is always positive.
- 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::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::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.
- FieldAttachStorageTestCase::testFieldAttachLoadMultiple in drupal/modules/field/tests/field.test
- Test the 'multiple' load feature.
- FormAlterTestCase::testExecutionOrder in drupal/modules/simpletest/tests/form.test
- Tests execution order of hook_form_alter() and hook_form_FORM_ID_alter().
- FormsFormStorageTestCase::testImmutableFormLegacyProtection in drupal/modules/simpletest/tests/form.test
- Verify that existing contrib code cannot overwrite immutable form state.
- FormsRebuildTestCase::testPreserveFormActionAfterAJAX in drupal/modules/simpletest/tests/form.test
- Tests that a form's action is retained after an Ajax submission.
- LocaleImportFunctionalTest::testStandalonePoFile in drupal/modules/locale/locale.test
- Test import of standalone .po files.
- MenuTreeDataTestCase::assertSameLink in drupal/modules/simpletest/tests/menu.test
- Check that two menu links are the same by comparing the mlid.
- 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.
- SimpleTestDiscoveryTestCase::testDiscoveryFunctions in drupal/modules/simpletest/simpletest.test
- Test discovery of PSR-0 test classes.
- XMLRPCBasicTestCase::testMethodSignature in drupal/modules/simpletest/tests/xmlrpc.test
- Ensure that system.methodSignature returns an array of signatures.