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