46 calls to DrupalTestCase::assert()

AggregatorRenderingTestCase::testBlockLinks in modules/aggregator/aggregator.test
Adds a feed block to the page and checks its links.
AJAXMultiFormTestCase::testMultiForm in modules/simpletest/tests/ajax.test
Test that a page with the 'page_node_form' included twice works correctly.
CascadingStylesheetsTestCase::testAlter in modules/simpletest/tests/common.test
Tests Locale module's CSS Alter to include RTL overrides.
CascadingStylesheetsTestCase::testRenderOverride in modules/simpletest/tests/common.test
Test CSS override.
CommentActionsTestCase::assertWatchdogMessage in modules/comment/comment.test
Verify that a watchdog message has been entered.
CommentInterfaceTest::setEnvironment in modules/comment/comment.test
Re-configures the environment, module settings, and user permissions.
DatabaseReservedKeywordTestCase::testTableNameQuoting in modules/simpletest/tests/database_test.test
DatabaseTablePrefixTestCase::testSchemaDotTablePrefixes in modules/simpletest/tests/database_test.test
DrupalTestCase::assertEqual in modules/simpletest/drupal_web_test_case.php
Check to see if two values are equal.
DrupalTestCase::assertFalse in 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 modules/simpletest/drupal_web_test_case.php
Check to see if two values are identical.
DrupalTestCase::assertNotEqual in modules/simpletest/drupal_web_test_case.php
Check to see if two values are not equal.
DrupalTestCase::assertNotIdentical in modules/simpletest/drupal_web_test_case.php
Check to see if two values are not identical.
DrupalTestCase::assertNotNull in modules/simpletest/drupal_web_test_case.php
Check to see if a value is not NULL.
DrupalTestCase::assertNull in modules/simpletest/drupal_web_test_case.php
Check to see if a value is NULL.
DrupalTestCase::assertTrue in 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 modules/simpletest/drupal_web_test_case.php
Fire an error assertion.
DrupalTestCase::fail in modules/simpletest/drupal_web_test_case.php
Fire an assertion that is always negative.
DrupalTestCase::pass in modules/simpletest/drupal_web_test_case.php
Fire an assertion that is always positive.
DrupalWebTestCase::assertLink in 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 modules/simpletest/drupal_web_test_case.php
Pass if a link containing a given href (part) is found.
DrupalWebTestCase::assertNoDuplicateIds in modules/simpletest/drupal_web_test_case.php
Asserts that each HTML ID is used for just a single element.
DrupalWebTestCase::assertNoLink in modules/simpletest/drupal_web_test_case.php
Pass if a link with the specified label is not found.
DrupalWebTestCase::assertNoLinkByHref in modules/simpletest/drupal_web_test_case.php
Pass if a link containing a given href (part) is not found.
DrupalWebTestCase::assertNoPattern in 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 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 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 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 modules/simpletest/drupal_web_test_case.php
Helper for assertText and assertNoText.
DrupalWebTestCase::assertUniqueTextHelper in modules/simpletest/drupal_web_test_case.php
Helper for assertUniqueText and assertNoUniqueText.
DrupalWebTestCase::storeSetupCache in modules/simpletest/drupal_web_test_case.php
Store the installation setup to a cache.
FieldAttachStorageTestCase::testFieldAttachLoadMultiple in modules/field/tests/field.test
Test the 'multiple' load feature.
FieldSqlStorageTestCase::testFieldCompareDataModification in modules/field/modules/field_sql_storage/field_sql_storage.test
Tests the expected return values of _field_sql_storage_write_compare().
FormAlterTestCase::testExecutionOrder in modules/simpletest/tests/form.test
Tests execution order of hook_form_alter() and hook_form_FORM_ID_alter().
FormsFormStorageTestCase::testImmutableFormLegacyProtection in modules/simpletest/tests/form.test
Verify that existing contrib code cannot overwrite immutable form state.
FormsRebuildTestCase::testPreserveFormActionAfterAJAX in modules/simpletest/tests/form.test
Tests that a form's action is retained after an Ajax submission.
LocaleImportFunctionalTest::testStandalonePoFile in modules/locale/locale.test
Test import of standalone .po files.
MenuTreeDataTestCase::assertSameLink in modules/simpletest/tests/menu.test
Check that two menu links are the same by comparing the mlid.
ModuleDependencyTestCase::testIncompatibleCoreVersionDependency in modules/system/system.test
Tests enabling a module that depends on a module with an incompatible core version.
ModuleDependencyTestCase::testIncompatibleModuleVersionDependency in modules/system/system.test
Tests enabling a module that depends on an incompatible version of a module.
ModuleDependencyTestCase::testMissingModules in modules/system/system.test
Attempt to enable a module with a missing dependency.
ModuleDependencyTestCase::testUninstallDependents in modules/system/system.test
Tests attempting to uninstall a module that has installed dependents.
RequestSanitizerTest::assertEqualLabelled in modules/simpletest/tests/request_sanitizer.test
Asserts two values are equal, includes a label.
SimpleTestDiscoveryTestCase::testDiscoveryFunctions in modules/simpletest/simpletest.test
Test discovery of PSR-0 test classes.
UserActionsTest::testUserBlockUnBlockActions in modules/user/user.test
Tests user block and unblock actions.
XMLRPCBasicTestCase::testMethodSignature in modules/simpletest/tests/xmlrpc.test
Ensure that system.methodSignature returns an array of signatures.

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