You are here

532 calls to DrupalTestCase::assertTrue() in Drupal 7

ActionLoopTestCase::triggerActions in modules/simpletest/tests/actions.test
Create an infinite loop by causing a watchdog message to be set, which causes the actions to be triggered again, up to actions_max_stack times.
AddFeedTestCase::testAddFeed in modules/aggregator/aggregator.test
Creates and ensures that a feed is unique, checks source, and deletes feed.
AddFeedTestCase::testAddLongFeed in modules/aggregator/aggregator.test
Tests feeds with very long URLs.
AggregatorRenderingTestCase::testFeedPage in modules/aggregator/aggregator.test
Creates a feed and checks that feed's page.
AggregatorTestCase::createFeed in modules/aggregator/aggregator.test
Creates an aggregator feed.
AggregatorTestCase::updateAndRemove in modules/aggregator/aggregator.test
Adds and removes feed items and ensure that the count is zero.
AggregatorUpdatePathTestCase::testAggregatorUpdate in modules/simpletest/tests/upgrade/update.aggregator.test
Tests that the aggregator.module update is successful.
AJAXFrameworkTestCase::testLazyLoad in modules/simpletest/tests/ajax.test
Test that new JavaScript and CSS files added during an AJAX request are returned.
AJAXTestCase::assertCommand in modules/simpletest/tests/ajax.test
Assert that a command with the required properties exists within the array of Ajax commands returned by the server.
BasicMinimalUpdatePath::testBasicMinimalUpdate in modules/simpletest/tests/upgrade/upgrade.test
Tests a successful point release update.
BasicStandardUpdatePath::testBasicStandardUpdate in modules/simpletest/tests/upgrade/upgrade.test
Tests a successful point release update.
BasicUpgradePath::testBasicUpgrade in modules/simpletest/tests/upgrade/upgrade.test
Test a successful upgrade.
BlockHashTestCase::doRehash in modules/block/block.test
Performs a block rehash and checks several related assertions.
BlockInterestCohortTest::testExistingPolicyHeader in modules/simpletest/tests/common.test
Tests that an existing header is appended to correctly.
BlockTestCase::testBlock in modules/block/block.test
Test configuring and moving a module-define block to specific regions.
BlockTestCase::testBlockRehash in modules/block/block.test
Test _block_rehash().
BlockTestCase::testCustomBlock in modules/block/block.test
Test creating custom block, moving it to a specific region and then deleting it.
BookTestCase::testBookDelete in modules/book/book.test
Tests the access for deleting top-level book nodes.
BootstrapAutoloadTestCase::testAutoloadCase in modules/simpletest/tests/bootstrap.test
Tests that autoloader name matching is not case sensitive.
BootstrapGetFilenameTestCase::testDrupalGetFilename in modules/simpletest/tests/bootstrap.test
Test that drupal_get_filename() works correctly when the file is not found in the database.
BootstrapGetFilenameWebTestCase::testDrupalGetFilename in modules/simpletest/tests/bootstrap.test
Test that drupal_get_filename() works correctly with a full Drupal site.
BootstrapGetFilenameWebTestCase::testRecursiveRebuilds in modules/simpletest/tests/bootstrap.test
Test that drupal_get_filename() does not break recursive rebuilds.
BootstrapGetFilenameWebTestCase::testWatchdog in modules/simpletest/tests/bootstrap.test
Test that watchdog messages about missing files are correctly recorded.
BootstrapIPAddressTestCase::testIPAddressHost in modules/simpletest/tests/bootstrap.test
test IP Address and hostname
BootstrapMiscTestCase::testCheckMemoryLimit in modules/simpletest/tests/bootstrap.test
Tests that the drupal_check_memory_limit() function works as expected.
BootstrapPageCacheTestCase::testPageCache in modules/simpletest/tests/bootstrap.test
Test cache headers.
BootstrapTimerTestCase::testTimer in modules/simpletest/tests/bootstrap.test
Test timer_read() to ensure it properly accumulates time when the timer started and stopped multiple times.
CacheClearCase::testClearArray in modules/simpletest/tests/cache.test
Test clearing using an array.
CacheClearCase::testClearCid in modules/simpletest/tests/cache.test
Test clearing using a cid.
CacheClearCase::testClearWildcard in modules/simpletest/tests/cache.test
Test clearing using wildcard.
CacheClearCase::testIsValidBin in modules/simpletest/tests/cache.test
Test DrupalDatabaseCache::isValidBin().
CacheClearCase::testMinimumCacheLifetime in modules/simpletest/tests/cache.test
Test minimum cache lifetime.
CacheGetMultipleUnitTest::testCacheMultiple in modules/simpletest/tests/cache.test
Test cache_get_multiple().
CacheIsEmptyCase::testIsEmpty in modules/simpletest/tests/cache.test
Test clearing using a cid.
CacheSavingCase::checkVariable in modules/simpletest/tests/cache.test
Check or a variable is stored and restored properly.
CacheSavingCase::testObject in modules/simpletest/tests/cache.test
Test the saving and restoring of an object.
CacheTestCase::assertCacheExists in modules/simpletest/tests/cache.test
Assert or a cache entry exists.
CascadingStylesheetsTestCase::testModuleInfo in modules/simpletest/tests/common.test
Test that stylesheets in module .info files are loaded.
CascadingStylesheetsTestCase::testRenderExternal in modules/simpletest/tests/common.test
Tests rendering an external stylesheet.
CascadingStylesheetsTestCase::testRenderFile in modules/simpletest/tests/common.test
Tests rendering the stylesheets.
CascadingStylesheetsTestCase::testRenderInlineNoPreprocess in modules/simpletest/tests/common.test
Tests rendering inline stylesheets with preprocessing off.
CategorizeFeedItemTestCase::testCategorizeFeedItem in modules/aggregator/aggregator.test
Checks that children of a feed inherit a defined category.
ColorTestCase::_testColor in modules/color/color.test
Tests the Color module functionality using the given theme.
CommentActionsTestCase::testCommentUnpublishByKeyword in modules/comment/comment.test
Tests the unpublish comment by keyword action.
CommentAnonymous::testAnonymous in modules/comment/comment.test
Test anonymous comment functionality.
CommentApprovalTest::testApprovalAdminInterface in modules/comment/comment.test
Test comment approval functionality through admin/content/comment.
CommentApprovalTest::testApprovalNodeInterface in modules/comment/comment.test
Test comment approval functionality through node interface.
CommentBlockFunctionalTest::testRecentCommentBlock in modules/comment/comment.test
Test the recent comments block.
CommentContentRebuild::testCommentRebuild in modules/comment/comment.test
Test to ensure that the comment's content array is rebuilt for every call to comment_view().
CommentFieldsTest::testCommentDefaultFields in modules/comment/comment.test
Tests that the default 'comment_body' field is correctly added.
CommentFieldsTest::testCommentEnable in modules/comment/comment.test
Test that comment module works when enabled after a content module.
CommentHelperCase::postComment in modules/comment/comment.test
Post comment.
CommentInterfaceTest::assertCommentLinks in modules/comment/comment.test
Asserts that comment links appear according to the passed environment setup.
CommentInterfaceTest::testCommentClasses in modules/comment/comment.test
Tests CSS classes on comments.
CommentInterfaceTest::testCommentInterface in modules/comment/comment.test
Test comment interface.
CommentInterfaceTest::testCommentNewCommentsIndicator in modules/comment/comment.test
Tests new comment marker.
CommentNodeAccessTest::testThreadedCommentView in modules/comment/comment.test
Test that threaded comments can be viewed.
CommentNodeChangesTestCase::testNodeDeletion in modules/comment/comment.test
Tests that comments are deleted with the node.
CommentPagerTest::testCommentPaging in modules/comment/comment.test
Confirm comment paging works correctly with flat and threaded comments.
CommentThreadingTestCase::testCommentThreading in modules/comment/comment.test
Tests the comment threading.
CommentUninstallTestCase::testCommentUninstall in modules/comment/comment.test
CommentUpgradePathTestCase::testCommentUpgrade in modules/simpletest/tests/upgrade/upgrade.comment.test
Test a successful upgrade.
CommonURLUnitTest::testDrupalParseUrl in modules/simpletest/tests/common.test
Test drupal_parse_url().
CommonURLUnitTest::testExternalUrls in modules/simpletest/tests/common.test
Test external URL handling.
CommonURLUnitTest::testLActiveClass in modules/simpletest/tests/common.test
CommonURLUnitTest::testLCustomClass in modules/simpletest/tests/common.test
Tests for custom class in l() function.
CommonURLUnitTest::testLXSS in modules/simpletest/tests/common.test
Confirm that invalid text given as $path is filtered.
ConfirmFormTest::assertCancelLinkUrl in modules/system/system.test
Asserts that a cancel link is present pointing to the provided URL.
ConnectionUnitTest::assertConnection in modules/simpletest/tests/database_test.test
Asserts that a connection ID exists.
CronRunTestCase::testAutomaticCron in modules/system/system.test
Ensure that the automatic cron run feature is working.
CronRunTestCase::testTempFileCleanup in modules/system/system.test
Ensure that temporary files are removed.
DashboardBlocksTestCase::testBlockAvailability in modules/dashboard/dashboard.test
Tests that administrative blocks are available for the dashboard.
DashboardBlocksTestCase::testDashboardRegions in modules/dashboard/dashboard.test
Tests that dashboard regions are displayed or hidden properly.
DashboardBlocksTestCase::testDisableEnable in modules/dashboard/dashboard.test
Tests that the dashboard module can be re-enabled, retaining its blocks.
DatabaseEmptyStatementTestCase::testEmpty in modules/simpletest/tests/database_test.test
Test that the empty result set behaves as empty.
DatabaseFetch2TestCase::testQueryFetchBoth in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record into a doubly-keyed array explicitly.
DatabaseFetch2TestCase::testQueryFetchNum in modules/simpletest/tests/database_test.test
DatabaseFetchTestCase::testQueryFetchArray in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record to an array associative explicitly.
DatabaseFetchTestCase::testQueryFetchClass in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record into a new instance of a custom class.
DatabaseFetchTestCase::testQueryFetchDefault in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record properly in default object mode.
DatabaseFetchTestCase::testQueryFetchObject in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record to an object explicitly.
DatabaseInsertLOBTestCase::testInsertMultipleBlob in modules/simpletest/tests/database_test.test
Test that we can insert multiple blob fields in the same query.
DatabaseInsertLOBTestCase::testInsertOneBlob in modules/simpletest/tests/database_test.test
Test that we can insert a single blob field successfully.
DatabaseReservedKeywordTestCase::testTableNameQuoting in modules/simpletest/tests/database_test.test
DatabaseSelectComplexTestCase::testDefaultJoin in modules/simpletest/tests/database_test.test
Test simple JOIN statements.
DatabaseSelectComplexTestCase::testGroupBy in modules/simpletest/tests/database_test.test
Test GROUP BY clauses.
DatabaseSelectComplexTestCase::testGroupByAndHaving in modules/simpletest/tests/database_test.test
Test GROUP BY and HAVING clauses together.
DatabaseSelectComplexTestCase::testLeftOuterJoin in modules/simpletest/tests/database_test.test
Test LEFT OUTER joins.
DatabaseSelectOrderedTestCase::testSimpleSelectMultiOrdered in modules/simpletest/tests/database_test.test
Test multiple order by.
DatabaseSelectOrderedTestCase::testSimpleSelectOrdered in modules/simpletest/tests/database_test.test
Test basic order by.
DatabaseSelectOrderedTestCase::testSimpleSelectOrderedDesc in modules/simpletest/tests/database_test.test
Test order by descending.
DatabaseTablePrefixTestCase::testSchemaDotTablePrefixes in modules/simpletest/tests/database_test.test
DatabaseTaggingTestCase::testExtenderHasAllTags in modules/simpletest/tests/database_test.test
Test extended query tagging "has all of these tags" functionality.
DatabaseTaggingTestCase::testExtenderHasAnyTag in modules/simpletest/tests/database_test.test
Test extended query tagging "has at least one of these tags" functionality.
DatabaseTaggingTestCase::testExtenderHasTag in modules/simpletest/tests/database_test.test
Confirm that an extended query has a "tag" added to it.
DatabaseTaggingTestCase::testHasAllTags in modules/simpletest/tests/database_test.test
Test query tagging "has all of these tags" functionality.
DatabaseTaggingTestCase::testHasAnyTag in modules/simpletest/tests/database_test.test
Test query tagging "has at least one of these tags" functionality.
DatabaseTaggingTestCase::testHasTag in modules/simpletest/tests/database_test.test
Confirm that a query has a "tag" added to it.
DatabaseTestCase::installTables in modules/simpletest/tests/database_test.test
Set up several tables needed by a certain test.
DatabaseTransactionTestCase::assertRowPresent in modules/simpletest/tests/database_test.test
Assert that a given row is present in the test table.
DatabaseTransactionTestCase::testTransactionStacking in modules/simpletest/tests/database_test.test
Test transaction stacking and commit / rollback.
DatabaseTransactionTestCase::transactionInnerLayer in modules/simpletest/tests/database_test.test
Helper method for transaction unit tests. This "inner layer" transaction is either used alone or nested inside of the "outer layer" transaction.
DatabaseTransactionTestCase::transactionOuterLayer in modules/simpletest/tests/database_test.test
Helper method for transaction unit test.
DatabaseUpdateLOBTestCase::testUpdateMultipleBlob in modules/simpletest/tests/database_test.test
Confirm that we can update two blob columns in the same table.
DatabaseUpdateLOBTestCase::testUpdateOneBlob in modules/simpletest/tests/database_test.test
Confirm that we can update a blob column.
DBLogTestCase::doNode in modules/dblog/dblog.test
Generates and then verifies some node events.
DBLogTestCase::doUser in modules/dblog/dblog.test
Generates and then verifies some user events.
DBLogTestCase::verifyCron in modules/dblog/dblog.test
Verifies that cron correctly applies the database log row limit.
DBLogTestCase::verifyRowLimit in modules/dblog/dblog.test
Verifies setting of the database log row limit.
DisabledNodeTypeTestCase::testDisabledNodeTypeUpgrade in modules/simpletest/tests/upgrade/upgrade.node.test
Tests a successful upgrade.
DrupalDataApiTest::testDrupalWriteRecord in modules/simpletest/tests/common.test
Test the drupal_write_record() API function.
DrupalErrorHandlerTestCase::testExceptionHandler in modules/simpletest/tests/error.test
Test the exception handler.
DrupalGetRdfNamespacesTestCase::testGetRdfNamespaces in modules/simpletest/tests/common.test
Test RDF namespaces.
DrupalGotoTest::testDrupalGoto in modules/simpletest/tests/common.test
Test drupal_goto().
DrupalHtmlToTextTestCase::testVeryLongLineWrap in modules/simpletest/tests/mail.test
Tests that drupal_html_to_text() wraps before 1000 characters.
DrupalHTTPRequestTestCase::testDrupalHTTPRequest in modules/simpletest/tests/common.test
DrupalJSONTest::testJSON in modules/simpletest/tests/common.test
Tests converting PHP variables to JSON strings and back.
DrupalRenderTestCase::testDrupalRenderCache in modules/simpletest/tests/common.test
Tests caching of render items.
DrupalRenderTestCase::testDrupalRenderChildrenAttached in modules/simpletest/tests/common.test
Test #attached functionality in children elements.
DrupalRenderTestCase::testDrupalRenderSorting in modules/simpletest/tests/common.test
Test sorting by weight.
DrupalSystemListingTestCase::testDirectoryPrecedence in modules/simpletest/tests/common.test
Test that files in different directories take precedence as expected.
DrupalTagsHandlingTestCase::assertTags in modules/simpletest/tests/common.test
Helper function: asserts that the ending array of tags is what we wanted.
DrupalWebTestCase::assertFieldByXPath in modules/simpletest/drupal_web_test_case.php
Asserts that a field exists in the current page by the given XPath.
DrupalWebTestCase::assertFieldChecked in modules/simpletest/drupal_web_test_case.php
Asserts that a checkbox field in the current page is checked.
DrupalWebTestCase::assertMail in modules/simpletest/drupal_web_test_case.php
Asserts that the most recently sent e-mail message has the given value.
DrupalWebTestCase::assertMailPattern in modules/simpletest/drupal_web_test_case.php
Asserts that the most recently sent e-mail message has the pattern in it.
DrupalWebTestCase::assertMailString in modules/simpletest/drupal_web_test_case.php
Asserts that the most recently sent e-mail message has the string in it.
DrupalWebTestCase::assertNoFieldChecked in modules/simpletest/drupal_web_test_case.php
Asserts that a checkbox field in the current page is not checked.
DrupalWebTestCase::assertNoOptionSelected in modules/simpletest/drupal_web_test_case.php
Asserts that a select option in the current page is not checked.
DrupalWebTestCase::assertOptionSelected in modules/simpletest/drupal_web_test_case.php
Asserts that a select option in the current page is checked.
DrupalWebTestCase::assertResponse in modules/simpletest/drupal_web_test_case.php
Asserts the page responds with the specified response code.
DrupalWebTestCase::curlExec in modules/simpletest/drupal_web_test_case.php
Initializes and executes a cURL request.
DrupalWebTestCase::drupalCreateRole in modules/simpletest/drupal_web_test_case.php
Creates a role with specified permissions.
DrupalWebTestCase::drupalCreateUser in modules/simpletest/drupal_web_test_case.php
Create a user with a given set of permissions.
DrupalWebTestCase::drupalPost in 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::setUp in modules/simpletest/drupal_web_test_case.php
Sets up a Drupal site for running functional and integration tests.
EarlyBootstrapTestCase::testHookBoot in modules/simpletest/tests/boot.test
Test hook_boot() on both regular and "early exit" pages.
EnableDisableTestCase::testEnableDisable in modules/system/system.test
Test that all core modules can be enabled, disabled and uninstalled.
EnableDisableTestCase::testEntityInfoChanges in modules/system/system.test
Ensures entity info cache is updated after changes.
EntityCrudHookTestCase::assertHookMessage in modules/simpletest/tests/entity_crud_hook_test.test
Pass if the message $text was set by one of the CRUD hooks in entity_crud_hook_test.module, i.e., if the $text is an element of $_SESSION['entity_crud_hook_test'].
EntityFieldQueryTestCase::testEntityFieldQuery in modules/simpletest/tests/entity_query.test
Tests EntityFieldQuery.
EntityFieldQueryTestCase::testEntityFieldQueryRouting in modules/simpletest/tests/entity_query.test
Tests the routing feature of EntityFieldQuery.
FieldAttachOtherTestCase::testFieldAttachPrepareViewMultiple in modules/field/tests/field.test
Tests the 'multiple entity' behavior of field_attach_prepare_view().
FieldAttachOtherTestCase::testFieldAttachView in modules/field/tests/field.test
Test field_attach_view() and field_attach_prepare_view().
FieldAttachStorageTestCase::testFieldAttachSaveMissingData in modules/field/tests/field.test
Tests insert and update with missing or NULL fields.
FieldAttachStorageTestCase::testFieldAttachSaveMissingDataDefaultValue in modules/field/tests/field.test
Test insert with missing or NULL fields, with default value.
FieldAttachStorageTestCase::testFieldHasData in modules/field/tests/field.test
Test field_has_data().
FieldAttachStorageTestCase::testFieldStorageDetailsAlter in modules/field/tests/field.test
Test storage details alteration.
FieldBulkDeleteTestCase::checkHooksInvocations in modules/field/tests/field.test
Tests that the expected hooks have been invoked on the expected entities.
FieldBulkDeleteTestCase::testDeleteFieldInstance in modules/field/tests/field.test
Verify that deleting an instance leaves the field data items in the database and that the appropriate Field API functions can operate on the deleted data and instance.
FieldBulkDeleteTestCase::testPurgeField in modules/field/tests/field.test
Verify that fields are preserved and purged correctly as multiple instances are deleted and purged.
FieldBulkDeleteTestCase::testPurgeInstance in modules/field/tests/field.test
Verify that field data items and instances are purged when an instance is deleted.
FieldCrudTestCase::testCreateFieldFail in modules/field/tests/field.test
Test failure to create a field.
FieldCrudTestCase::testDeleteField in modules/field/tests/field.test
Test the deletion of a field.
FieldCrudTestCase::testReadField in modules/field/tests/field.test
Test reading back a field definition.
FieldCrudTestCase::testReadFields in modules/field/tests/field.test
Tests reading field definitions.
FieldCrudTestCase::_testActiveHelper in modules/field/tests/field.test
Helper function for testActive().
FieldFormTestCase::testNestedFieldForm in modules/field/tests/field.test
Tests Field API form integration within a subform.
FieldInfoTestCase::testFieldInfo in modules/field/tests/field.test
Test that field types and field definitions are correcly cached.
FieldInfoTestCase::testFieldInfoCache in modules/field/tests/field.test
Tests that the field info cache can be built correctly.
FieldInstanceCrudTestCase::testCreateFieldInstance in modules/field/tests/field.test
Test the creation of a field instance.
FieldInstanceCrudTestCase::testDeleteFieldInstance in modules/field/tests/field.test
Test the deletion of a field instance.
FieldInstanceCrudTestCase::testReadFieldInstance in modules/field/tests/field.test
Test reading back an instance definition.
FieldInstanceCrudTestCase::testUpdateFieldInstance in modules/field/tests/field.test
Test the update of a field instance.
FieldSqlStorageTestCase::testFieldAttachInsertAndUpdate in modules/field/modules/field_sql_storage/field_sql_storage.test
Reads mysql to verify correct data is written when using insert and update.
FieldSqlStorageTestCase::testFieldStorageDetails in modules/field/modules/field_sql_storage/field_sql_storage.test
Test the storage details.
FieldSqlStorageTestCase::testFieldUpdateFailure in modules/field/modules/field_sql_storage/field_sql_storage.test
Test that failure to create fields is handled gracefully.
FieldSqlStorageTestCase::testFieldUpdateIndexesWithData in modules/field/modules/field_sql_storage/field_sql_storage.test
Test adding and removing indexes while data is present.
FieldTranslationsTestCase::checkTranslationRevisions in modules/field/tests/field.test
Check if the field translation attached to the entity revision identified by the passed arguments were correctly stored.
FieldTranslationsTestCase::testFieldAvailableLanguages in modules/field/tests/field.test
Ensures that only valid values are returned by field_available_languages().
FieldTranslationsTestCase::testFieldDisplayLanguage in modules/field/tests/field.test
Tests display language logic for translatable fields.
FieldTranslationsTestCase::testFieldInvokeMultiple in modules/field/tests/field.test
Test the multilanguage logic of _field_invoke_multiple().
FieldTranslationsTestCase::testTranslatableFieldSaveLoad in modules/field/tests/field.test
Test translatable fields storage/retrieval.
FieldUIManageFieldsTestCase::assertFieldSettings in modules/field_ui/field_ui.test
Asserts field settings are as expected.
FieldUIManageFieldsTestCase::createField in modules/field_ui/field_ui.test
Tests adding a new field.
FieldUIManageFieldsTestCase::testHiddenFields in modules/field_ui/field_ui.test
Tests that Field UI respects the 'no_ui' option in hook_field_info().
FieldUpdatePathTestCase::testFilledUpgrade in modules/simpletest/tests/upgrade/update.field.test
Tests that the update is successful.
FileCopyTest::testExistingRename in modules/simpletest/tests/file.test
Test renaming when copying over a file that already exists.
FileCopyTest::testExistingReplace in modules/simpletest/tests/file.test
Test replacement when copying over a file that already exists.
FileCopyTest::testNormal in modules/simpletest/tests/file.test
Test file copying in the normal, base case.
FileDeleteTest::testInUse in modules/simpletest/tests/file.test
Tries deleting a file that is in use.
FileDeleteTest::testUnused in modules/simpletest/tests/file.test
Tries deleting a normal file (as opposed to a directory, symlink, etc).
FileDirectoryTest::testFileCheckDirectoryHandling in modules/simpletest/tests/file.test
Test directory handling functions.
FileFieldPathTestCase::assertPathMatch in modules/file/tests/file.test
Asserts that a file is uploaded to the right location.
FileFieldTestCase::assertFileExists in modules/file/tests/file.test
Asserts that a file exists physically on disk.
FileFieldTestCase::assertFileIsPermanent in modules/file/tests/file.test
Asserts that a file's status is set to permanent in the database.
FileFieldValidateTestCase::testRequired in modules/file/tests/file.test
Tests the required property on file fields.
FileFieldWidgetTestCase::doTestTemporaryFileRemovalExploit in modules/file/tests/file.test
Helper for testing exploiting the temporary file removal using fid.
FileFieldWidgetTestCase::testMultiValuedWidget in modules/file/tests/file.test
Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTestCase::testSingleValuedWidget in modules/file/tests/file.test
Tests upload and remove buttons for a single-valued File field.
FileHookTestCase::assertFileHooksCalled in modules/simpletest/tests/file.test
Assert that all of the specified hook_file_* hooks were called once, other values result in failure.
FileLoadTest::testMultiple in modules/simpletest/tests/file.test
This will test loading file data from the database.
FileLoadTest::testSingleValues in modules/simpletest/tests/file.test
Load a single file and ensure that the correct values are returned.
FileManagedFileElementTestCase::testManagedFile in modules/file/tests/file.test
Tests the managed_file element type.
FileMoveTest::testExistingError in modules/simpletest/tests/file.test
Test that moving onto an existing file fails when FILE_EXISTS_ERROR is specified.
FileMoveTest::testExistingRename in modules/simpletest/tests/file.test
Test renaming when moving onto a file that already exists.
FileMoveTest::testExistingReplace in modules/simpletest/tests/file.test
Test replacement when moving onto a file that already exists.
FileMoveTest::testNormal in modules/simpletest/tests/file.test
Move a normal file.
FileNameMungingTest::testMunging in modules/simpletest/tests/file.test
Create a file and munge/unmunge the name.
FilePrivateTestCase::testPrivateFile in modules/file/tests/file.test
Tests file access for file uploaded to a private node.
FileSaveDataTest::testExistingRename in modules/simpletest/tests/file.test
Test file_save_data() when renaming around an existing file.
FileSaveDataTest::testExistingReplace in modules/simpletest/tests/file.test
Test file_save_data() when replacing an existing file.
FileSaveDataTest::testWithFilename in modules/simpletest/tests/file.test
Test the file_save_data() function when a filename is provided.
FileSaveDataTest::testWithoutFilename in modules/simpletest/tests/file.test
Test the file_save_data() function when no filename is provided.
FileSaveTest::testFileSave in modules/simpletest/tests/file.test
FileSaveUploadTest::setUp in modules/simpletest/tests/file.test
Sets up a Drupal site for running functional and integration tests.
FileSaveUploadTest::testNormal in modules/simpletest/tests/file.test
Test the file_save_upload() function.
FileScanDirectoryTest::testOptionMinDepth in modules/simpletest/tests/file.test
Check that the min_depth options lets us ignore files in the starting directory.
FileScanDirectoryTest::testOptionRecurse in modules/simpletest/tests/file.test
Check that the recurse option decends into subdirectories.
FileTaxonomyTermTestCase::_testTermFile in modules/file/tests/file.test
Runs tests for attaching a file field to a taxonomy term.
FileTestCase::createDirectory in modules/simpletest/tests/file.test
Create a directory and assert it exists.
FileTestCase::createFile in modules/simpletest/tests/file.test
Create a file and save it to the files table and assert that it occurs correctly.
FileTranferTest::testJail in modules/simpletest/tests/filetransfer.test
FileUnmanagedCopyTest::testNormal in modules/simpletest/tests/file.test
Copy a normal file.
FileUnmanagedCopyTest::testOverwriteSelf in modules/simpletest/tests/file.test
Copy a file onto itself.
FileUnmanagedDeleteRecursiveTest::testDirectory in modules/simpletest/tests/file.test
Try deleting a directory with some files.
FileUnmanagedDeleteRecursiveTest::testEmptyDirectory in modules/simpletest/tests/file.test
Try deleting an empty directory.
FileUnmanagedDeleteRecursiveTest::testSingleFile in modules/simpletest/tests/file.test
Delete a normal file.
FileUnmanagedDeleteRecursiveTest::testSubDirectory in modules/simpletest/tests/file.test
Try deleting subdirectories with some files.
FileUnmanagedDeleteTest::testDirectory in modules/simpletest/tests/file.test
Try deleting a directory.
FileUnmanagedDeleteTest::testMissing in modules/simpletest/tests/file.test
Try deleting a missing file.
FileUnmanagedDeleteTest::testNormal in modules/simpletest/tests/file.test
Delete a normal file.
FileUnmanagedMoveTest::testNormal in modules/simpletest/tests/file.test
Move a normal file.
FileUnmanagedMoveTest::testOverwriteSelf in modules/simpletest/tests/file.test
Try to move a file onto itself.
FileUnmanagedSaveDataTest::testFileSaveData in modules/simpletest/tests/file.test
Test the file_unmanaged_save_data() function.
FileUsageTest::testGetUsage in modules/simpletest/tests/file.test
Tests file_usage_list().
FileValidatorTest::testFileValidateImageResolution in modules/simpletest/tests/file.test
This ensures the resolution of a specific file is within bounds. The image will be resized if it's too large.
FileValidatorTest::testFileValidateIsImage in modules/simpletest/tests/file.test
This ensures a specific file is actually an image.
FilledMinimalUpdatePath::testFilledStandardUpdate in modules/simpletest/tests/upgrade/upgrade.test
Tests a successful point release update.
FilledStandardUpdatePath::testFilledStandardUpdate in modules/simpletest/tests/upgrade/upgrade.test
Tests a successful point release update.
FilterAdminTestCase::testFilterAdmin in modules/filter/filter.test
Tests filter administration functionality.
FilterCRUDTestCase::testTextFormatCRUD in modules/filter/filter.test
Tests CRUD operations for text formats and filters.
FilterCRUDTestCase::verifyFilters in modules/filter/filter.test
Verifies that filters are properly stored for a text format.
FilterFormatAccessTestCase::testFormatPermissions in modules/filter/filter.test
Tests the Filter format access permissions functionality.
FilterFormatAccessTestCase::testFormatRoles in modules/filter/filter.test
Tests if text format is available to a role.
FilterFormatUpgradePathTestCase::testFilterFormatUpgrade in modules/simpletest/tests/upgrade/upgrade.filter.test
Test a successful upgrade.
FilterUnitTestCase::assertFilteredString in modules/filter/filter.test
Asserts multiple filter output expectations for multiple input strings.
FilterUnitTestCase::assertNoNormalized in modules/filter/filter.test
Asserts that text transformed to lowercase with HTML entities decoded does not contain a given string.
FilterUnitTestCase::assertNormalized in modules/filter/filter.test
Asserts that a text transformed to lowercase with HTML entities decoded does contains a given string.
FilterUnitTestCase::testFilterXSS in modules/filter/filter.test
Tests limiting allowed tags and XSS prevention.
FloodFunctionalTest::testCleanUp in modules/system/system.test
Test flood control mechanism clean-up.
FormElementTestCase::testOptions in modules/simpletest/tests/form.test
Tests expansion of #options for #type checkboxes and radios.
FormElementTestCase::testWeightDefaultValue in modules/simpletest/tests/form.test
Tests Weight form element #default_value behavior.
FormsElementsLabelsTestCase::testFormLabels in 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.
FormsElementsTableSelectFunctionalTest::testMultipleFalseOptionchecker in modules/simpletest/tests/form.test
Test the whether the option checker gives an error on invalid tableselect values for radios.
FormsElementsTableSelectFunctionalTest::testMultipleTrueOptionchecker in modules/simpletest/tests/form.test
Test the whether the option checker gives an error on invalid tableselect values for checkboxes.
FormsElementsVerticalTabsFunctionalTest::testJavaScriptOrdering in modules/simpletest/tests/form.test
Ensures that vertical-tabs.js is included before collapse.js.
FormsFormCacheTestCase::testCacheFormCustomExpiration in modules/simpletest/tests/form.test
Tests changing form_cache_expiration.
FormsProgrammaticTestCase::submitForm in modules/simpletest/tests/form.test
Helper function used to programmatically submit the form defined in form_test.module with the given values.
FormStateValuesCleanAdvancedTestCase::testFormStateValuesCleanAdvanced in modules/simpletest/tests/form.test
Tests form_state_values_clean().
FormStateValuesCleanTestCase::testFormStateValuesClean in modules/simpletest/tests/form.test
Tests form_state_values_clean().
FormsTestCase::testDisabledMarkup in modules/simpletest/tests/form.test
Verify markup for disabled form elements.
FormsTestCase::testRequiredFields in modules/simpletest/tests/form.test
Check several empty values for required forms elements.
ForumIndexTestCase::testForumIndexStatus in modules/forum/forum.test
Tests the forum index for published and unpublished nodes.
ForumTestCase::createForum in modules/forum/forum.test
Creates a forum container or a forum.
ForumTestCase::createForumTopic in modules/forum/forum.test
Creates forum topic.
ForumTestCase::doAdminTests in modules/forum/forum.test
Runs admin tests on the admin user.
ForumTestCase::testEnableForumField in modules/forum/forum.test
Tests disabling and re-enabling the Forum module.
ForumTestCase::verifyForums in modules/forum/forum.test
Verifies that the logged in user has access to a forum nodes.
ForumUpgradePathTestCase::testForumUpgrade in modules/simpletest/tests/upgrade/upgrade.forum.test
Test a successful upgrade (no negotiation).
GraphUnitTest::assertWeights in modules/simpletest/tests/graph.test
Verify expected order in a graph.
HookBootExitTestCase::testHookBootExit in modules/simpletest/tests/bootstrap.test
Test calling of hook_boot() and hook_exit().
ImageAdminStylesUnitTest::testDefaultStyle in modules/image/image.test
Test to override, edit, then revert a style.
ImageAdminStylesUnitTest::testNumericStyleName in modules/image/image.test
Test creating an image style with a numeric name and ensuring it can be applied to an image.
ImageAdminStylesUnitTest::testStyle in modules/image/image.test
General test to add a style, add/remove/edit effects to it, then delete it.
ImageDimensionsTestCase::testImageDimensions in modules/image/image.test
Test styled image dimensions cumulatively.
ImageEffectsUnitTest::testCropEffect in modules/image/image.test
Test the image_crop_effect() function.
ImageEffectsUnitTest::testDesaturateEffect in modules/image/image.test
Test the image_desaturate_effect() function.
ImageEffectsUnitTest::testImageEffectsCaching in modules/image/image.test
Test image effect caching.
ImageEffectsUnitTest::testResizeEffect in modules/image/image.test
Test the image_resize_effect() function.
ImageEffectsUnitTest::testRotateEffect in modules/image/image.test
Test the image_rotate_effect() function.
ImageEffectsUnitTest::testScaleAndCropEffect in modules/image/image.test
Test the image_scale_and_crop_effect() function.
ImageEffectsUnitTest::testScaleEffect in modules/image/image.test
Test the image_scale_effect() function.
ImageFieldDisplayTestCase::testImageFieldDefaultImage in modules/image/image.test
Test use of a default image with an image field.
ImageFieldDisplayTestCase::testImageFieldFormatterAttributes in modules/image/image.test
Test passing attributes into the image field formatters.
ImageFileMoveTest::testNormal in modules/simpletest/tests/image.test
Tests moving a randomly generated image.
ImageStylesPathAndUrlTestCase::_testImageStyleUrlAndPath in modules/image/image.test
Test image_style_url().
ImageToolkitGdTestCase::testManipulations in modules/simpletest/tests/image.test
Since PHP can't visually check that our images have been manipulated properly, build a list of expected color values for each of the corners and the expected height and widths for the final images.
ImageToolkitGdTestCase::testTransparentColorOutOfRange in modules/simpletest/tests/image.test
Tests loading an image whose transparent color index is out of range.
ImageToolkitTestCase::assertToolkitOperationsCalled in modules/simpletest/tests/image.test
Assert that all of the specified image toolkit operations were called exactly once once, other values result in failure.
ImageToolkitUnitTest::testCrop in modules/simpletest/tests/image.test
Test the image_crop() function.
ImageToolkitUnitTest::testDesaturate in modules/simpletest/tests/image.test
Test the image_desaturate() function.
ImageToolkitUnitTest::testGetAvailableToolkits in modules/simpletest/tests/image.test
Check that hook_image_toolkits() is called and only available toolkits are returned.
ImageToolkitUnitTest::testLoad in modules/simpletest/tests/image.test
Test the image_load() function.
ImageToolkitUnitTest::testResize in modules/simpletest/tests/image.test
Test the image_resize() function.
ImageToolkitUnitTest::testRotate in modules/simpletest/tests/image.test
Test the image_rotate() function.
ImageToolkitUnitTest::testScale in modules/simpletest/tests/image.test
Test the image_scale() function.
ImageToolkitUnitTest::testScaleAndCrop in modules/simpletest/tests/image.test
Test the image_scale_and_crop() function.
ImportOPMLTestCase::submitImportForm in modules/aggregator/aggregator.test
Submits form with invalid, empty, and valid OPML files.
IPAddressBlockingTestCase::testIPAddressValidation in modules/system/system.test
Test a variety of user input to confirm correct validation and saving of data.
JavaScriptTestCase::testAddExternal in modules/simpletest/tests/common.test
Tests adding an external JavaScript File.
JavaScriptTestCase::testAddFile in modules/simpletest/tests/common.test
Test adding a JavaScript file.
JavaScriptTestCase::testAddInline in modules/simpletest/tests/common.test
Test adding inline scripts.
JavaScriptTestCase::testAlter in modules/simpletest/tests/common.test
Test altering a JavaScript's weight via hook_js_alter().
JavaScriptTestCase::testAttachedLibrary in modules/simpletest/tests/common.test
Tests the addition of libraries through the #attached['library'] property.
JavaScriptTestCase::testFooterHTML in modules/simpletest/tests/common.test
Test drupal_get_js() with a footer scope.
JavaScriptTestCase::testGetLibrary in modules/simpletest/tests/common.test
Tests retrieval of libraries via drupal_get_library().
JavaScriptTestCase::testHeaderSetting in modules/simpletest/tests/common.test
Test drupal_get_js() for JavaScript settings.
JavaScriptTestCase::testJavaScriptAlwaysUseJQuery in modules/simpletest/tests/common.test
Test the 'javascript_always_use_jquery' variable.
JavaScriptTestCase::testLibraryAlter in modules/simpletest/tests/common.test
Adds a JavaScript library to the page and alters it.
JavaScriptTestCase::testLibraryRender in modules/simpletest/tests/common.test
Adds a library to the page and tests for both its JavaScript and its CSS.
JavaScriptTestCase::testLibraryUnknown in modules/simpletest/tests/common.test
Tests non-existing libraries.
JavaScriptTestCase::testRenderDifferentWeight in modules/simpletest/tests/common.test
Test rendering the JavaScript with a file's weight above jQuery's.
JavaScriptTestCase::testRenderExternal in modules/simpletest/tests/common.test
Test rendering an external JavaScript file.
ListDynamicValuesValidationTestCase::testDynamicAllowedValues in modules/field/modules/list/tests/list.test
Test that allowed values function gets the entity.
ListFieldTestCase::testUpdateAllowedValues in modules/field/modules/list/tests/list.test
Test that allowed values can be updated.
LocaleCommentLanguageFunctionalTest::setUp in modules/locale/locale.test
Sets up a Drupal site for running functional and integration tests.
LocaleJavascriptTranslationTest::testFileParsing in modules/locale/locale.test
LocaleLanguageNegotiationInfoFunctionalTest::checkFixedLanguageTypes in modules/locale/locale.test
Check that language negotiation for fixed types matches the stored one.
LocaleLanguageNegotiationInfoFunctionalTest::testInfoAlterations in modules/locale/locale.test
Tests alterations to language types/negotiation info.
LocaleLibraryInfoAlterTest::testLibraryInfoAlter in modules/locale/locale.test
Verifies that the datepicker can be localized.
LocaleMultilingualFieldsFunctionalTest::testMultilingualDisplaySettings in modules/locale/locale.test
LocaleMultilingualFieldsFunctionalTest::testMultilingualNodeForm in modules/locale/locale.test
Test if field languages are correctly set through the node form.
LocalePathFunctionalTest::testPathLanguageConfiguration in modules/locale/locale.test
Test if a language can be associated with a path alias.
LocaleStringIsSafeTest::testLocaleStringIsSafe in modules/locale/locale.test
Tests for locale_string_is_safe().
LocaleTranslationFunctionalTest::testJavaScriptTranslation in modules/locale/locale.test
LocaleTranslationFunctionalTest::testStringTranslation in modules/locale/locale.test
Adds a language and tests string translation by users with the appropriate permissions.
LocaleTranslationFunctionalTest::testStringValidation in modules/locale/locale.test
Tests the validation of the translation input.
LocaleUILanguageNegotiationTest::testLanguageDomain in modules/locale/locale.test
Tests url() when separate domains are used for multiple languages.
LocaleUILanguageNegotiationTest::testUrlLanguageFallback in modules/locale/locale.test
Test URL language detection when the requested URL has no language.
LocaleUninstallFunctionalTest::testUninstallProcess in modules/locale/locale.test
Check if the values of the Locale variables are correct after uninstall.
LocaleUpgradePathTestCase::testLocaleUpgrade in modules/simpletest/tests/upgrade/upgrade.locale.test
Test a successful upgrade (no negotiation).
LocaleUpgradePathTestCase::testLocaleUpgradeDomain in modules/simpletest/tests/upgrade/upgrade.locale.test
Test an upgrade with domain-based negotiation.
LocaleUpgradePathTestCase::testLocaleUpgradePathDefault in modules/simpletest/tests/upgrade/upgrade.locale.test
Test an upgrade with path-based negotiation.
LocaleUpgradePathTestCase::testLocaleUpgradePathFallback in modules/simpletest/tests/upgrade/upgrade.locale.test
Test an upgrade with path-based (with fallback) negotiation.
LocaleUserLanguageFunctionalTest::testUserLanguageConfiguration in modules/locale/locale.test
Test if user can change their default language.
LockFunctionalTest::testLockAcquire in modules/simpletest/tests/lock.test
Confirm that we can acquire and release locks in two parallel requests.
MenuBreadcrumbTestCase::testBreadCrumbs in modules/simpletest/tests/menu.test
Tests breadcrumbs on node and administrative paths.
MenuNodeTestCase::assertNoOption in modules/menu/menu.test
Asserts that a select option in the current page does not exist.
MenuNodeTestCase::testMenuNodeFormWidget in modules/menu/menu.test
Test creating, editing, deleting menu links via node form widget.
MenuRouterTestCase::testAuthUserUserLogin in modules/simpletest/tests/menu.test
Test that an authenticated user hitting 'user/login' gets redirected to 'user' and 'user/register' gets redirected to the user edit page.
MenuRouterTestCase::testMenuGetNames in modules/simpletest/tests/menu.test
Test menu_get_names().
MenuTestCase::addMenuLink in modules/menu/menu.test
Add a menu link using the menu module UI.
MenuTestCase::getStandardMenuLink in modules/menu/menu.test
Get standard menu link.
MenuTreeOutputTestCase::testMenuTreeData in modules/simpletest/tests/menu.test
Validate the generation of a proper menu tree output.
MenuUpgradePathTestCase::testMenuUpgrade in modules/simpletest/tests/upgrade/upgrade.menu.test
Test a successful upgrade.
MenuWebTestCase::assertBreadcrumb in modules/simpletest/tests/menu.test
Assert that a given path shows certain breadcrumb links.
ModuleDependencyTestCase::testModuleMetaData in modules/system/system.test
Tests whether the correct module metadata is returned.
ModuleDependencyTestCase::testThemeMetaData in modules/system/system.test
Tests whether the correct theme metadata is returned.
ModuleImplementsAlterTestCase::testModuleImplementsAlter in modules/simpletest/tests/module.test
Tests hook_module_implements_alter() adding an implementation.
ModuleInstallTestCase::testDrupalWriteRecord in modules/simpletest/tests/module.test
Test that calls to drupal_write_record() work during module installation.
ModuleTestCase::assertLogMessage in modules/system/system.test
Verify a log entry was entered for a module's status change. Called in the same way of the expected original watchdog() execution.
ModuleTestCase::assertModuleTablesExist in modules/system/system.test
Assert that all tables defined in a module's hook_schema() exist.
ModuleTestCase::assertTableCount in modules/system/system.test
Assert there are tables that begin with the specified base table name.
ModuleUnitTest::testDependencyResolution in modules/simpletest/tests/module.test
Test dependency resolution.
ModuleUnitTest::testModuleImplements in modules/simpletest/tests/module.test
Test module_implements() caching.
NodeAccessBaseTableTestCase::assertTaxonomyPage in modules/node/node.test
Checks taxonomy/term listings to ensure only accessible nodes are listed.
NodeAccessBaseTableTestCase::testNodeAccessBasic in modules/node/node.test
Tests the "private" node access functionality.
NodeAccessPagerTestCase::testForumPager in modules/node/node.test
Tests the forum node pager for nodes with multiple grants per realm.
NodeAccessRecordsTestCase::testNodeAccessRecords in modules/node/node.test
Creates a node and tests the creation of node access rules.
NodeBlockFunctionalTest::testRecentNodeBlock in modules/node/node.test
Tests the recent comments block.
NodeBodyUpgradePathTestCase::testNodeBodyUpgrade in modules/simpletest/tests/upgrade/upgrade.node.test
Test a successful upgrade.
NodeCreationTestCase::testFailedPageCreation in modules/node/node.test
Verifies that a transaction rolls back the failed creation.
NodeCreationTestCase::testNodeCreation in modules/node/node.test
Creates a "Basic page" node and verifies its consistency in the database.
NodeFeedTestCase::testNodeFeedExtraChannelElements in modules/node/node.test
Ensures that node_feed() accepts and prints extra channel elements.
NodeLoadMultipleTestCase::testNodeMultipleLoad in modules/node/node.test
Create four nodes and ensure they're loaded correctly.
NodeMultiByteUtf8Test::testMultiByteUtf8 in modules/node/node.test
Tests that multi-byte UTF-8 characters are stored and retrieved correctly.
NodeRevisionPermissionsTestCase::testNodeRevisionAccess in modules/node/node.test
Tests the _node_revision_access() function.
NodeRevisionsTestCase::testNodeRevisionWithoutLogMessage in modules/node/node.test
Checks that revisions are correctly saved without log messages.
NodeRevisionsTestCase::testRevisions in modules/node/node.test
Checks node revision related operations.
NodeSaveTestCase::testImport in modules/node/node.test
Checks whether custom node IDs are saved properly during an import operation.
NodeTypePersistenceTestCase::testNodeTypeCustomizationPersistence in modules/node/node.test
Tests that node type customizations persist through disable and uninstall.
NodeTypeTestCase::testNodeTypeCreation in modules/node/node.test
Tests creating a content type programmatically and via a form.
NodeTypeTestCase::testNodeTypeGetFunctions in modules/node/node.test
Ensures that node type functions (node_type_get_*) work correctly.
NodeTypeTestCase::testNodeTypeStatus in modules/node/node.test
Tests that node_types_rebuild() correctly handles the 'disabled' flag.
OpenIDRegistrationTestCase::testRegisterUserWithAXButNoSREG in modules/openid/openid.test
Test OpenID auto-registration with a provider that supplies AX information, but no SREG.
OpenIDRegistrationTestCase::testRegisterUserWithEmailVerification in modules/openid/openid.test
Test OpenID auto-registration with e-mail verification enabled.
OpenIDRegistrationTestCase::testRegisterUserWithInvalidSreg in modules/openid/openid.test
Test OpenID auto-registration with a provider that supplies invalid SREG information (a username that is already taken, and no e-mail address).
OpenIDRegistrationTestCase::testRegisterUserWithoutEmailVerification in modules/openid/openid.test
Test OpenID auto-registration with e-mail verification disabled.
OpenIDRegistrationTestCase::testRegisterUserWithoutSreg in modules/openid/openid.test
Test OpenID auto-registration with a provider that does not supply SREG information (i.e. no username or e-mail address).
OpenIDTestCase::testOpenidXRITest in modules/openid/openid.test
Test _openid_is_xri().
OptionsSelectDynamicValuesTestCase::testSelectListDynamic in modules/field/modules/options/options.test
Tests the 'options_select' widget (single select).
OptionsWidgetsTestCase::testSelectListSingle in modules/field/modules/options/options.test
Tests the 'options_select' widget (single select).
PageEditTestCase::testPageEdit in modules/node/node.test
Checks node edit functionality.
PagerFunctionalWebTestCase::assertClass in modules/simpletest/tests/pager.test
Asserts that an element has a given class.
PagerFunctionalWebTestCase::assertNoClass in modules/simpletest/tests/pager.test
Asserts that an element does not have a given class.
PagerFunctionalWebTestCase::assertPagerItems in modules/simpletest/tests/pager.test
Asserts pager items and links.
PageTitleFiltering::testTitleTags in modules/system/system.test
Tests the handling of HTML by drupal_set_title() and drupal_get_title()
PageViewTestCase::testPageView in modules/node/node.test
Tests an anonymous and unpermissioned user attempting to edit the node.
PasswordHashingTest::testPasswordHashing in modules/simpletest/tests/password.test
Test password hashing.
PathLanguageTestCase::testAliasTranslation in modules/path/path.test
Test alias functionality through the admin interfaces.
PathTestCase::testPathCache in modules/path/path.test
Tests the path cache.
PHPTestCase::setUp in modules/php/php.test
Sets up a Drupal site for running functional and integration tests.
PollCreateTestCase::testPollClose in modules/poll/poll.test
PollCreateTestCase::testPollCreate in modules/poll/poll.test
PollDeleteChoiceTestCase::testChoiceRemoval in modules/poll/poll.test
PollExpirationTestCase::testAutoExpire in modules/poll/poll.test
PollTestCase::pollCreate in modules/poll/poll.test
Creates a poll.
PollTranslateTestCase::testPollTranslate in modules/poll/poll.test
Tests poll creation and translation.
PollUpgradePathTestCase::testPollUpgrade in modules/simpletest/tests/upgrade/upgrade.node.test
Test a successful upgrade.
PollUpgradePathTestCase::testPollUpgrade in modules/simpletest/tests/upgrade/upgrade.poll.test
Test a successful upgrade.
PollVoteCheckHostname::testHostnamePollVote in 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 modules/poll/poll.test
ProfileTestCase::createProfileField in modules/profile/profile.test
Create a profile field.
ProfileTestWeights::testProfileFieldWeights in modules/profile/profile.test
QueueTestCase::testQueue in modules/system/system.test
Queues and dequeues a set of items to check the basic queue functionality.
RdfCommentAttributesTestCase::testCommentRdfaMarkup in 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::testNumberOfCommentsRdfaMarkup in modules/rdf/rdf.test
Tests the presence of the RDFa markup for the number of comments.
RdfCommentAttributesTestCase::_testBasicCommentRdfaMarkup in modules/rdf/rdf.test
Helper function for testCommentRdfaMarkup().
RdfCrudTestCase::testCRUD in modules/rdf/rdf.test
Test inserting, loading, updating, and deleting RDF mappings.
RdfGetRdfNamespacesTestCase::testGetRdfNamespaces in modules/rdf/rdf.test
Test getting RDF namesapces.
RdfMappingDefinitionTestCase::testAttributesInMarkup1 in 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 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 modules/rdf/rdf.test
Create a random content type and node and ensure the default mapping for node is used.
RdfMappingDefinitionTestCase::testTaxonomyTermRdfaAttributes in modules/rdf/rdf.test
Creates a random term and ensures the right RDFa markup is used.
RdfMappingDefinitionTestCase::testUserAttributesInMarkup in modules/rdf/rdf.test
Create a random user and ensure the default mapping for user is used.
RdfRdfaMarkupTestCase::testAttributesInMarkupFile in 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 modules/rdf/rdf.test
Helper function for testAttributesInTracker().
RegistryParseFilesTestCase::testRegistryParseFiles in modules/simpletest/tests/registry.test
testRegistryParseFiles
RegistryParseFileTestCase::testRegistryParseFile in modules/simpletest/tests/registry.test
testRegistryParseFile
RetrieveFileTestCase::testFileRetrieving in modules/system/system.test
Invokes system_retrieve_file() in several scenarios.
SchemaTestCase::testFindTables in modules/simpletest/tests/schema.test
Tests the findTables() method.
SchemaTestCase::testSchema in modules/simpletest/tests/schema.test
SchemaTestCase::testUnsignedColumns in modules/simpletest/tests/schema.test
Tests creating unsigned columns and data integrity thereof.
SearchAdvancedSearchForm::testNodeType in modules/search/search.test
Test using the search form with GET and POST queries. Test using the advanced search form to limit search to nodes of type "Basic page".
SearchExcerptTestCase::testSearchExcerpt in modules/search/search.test
Tests search_excerpt() with several simulated search keywords.
SearchExcerptTestCase::testSearchExcerptSimplified in modules/search/search.test
Tests search_excerpt() with search keywords matching simplified words.
SearchNodeTagTest::testNodeSearchQueryTags in modules/search/search.test
Tests that the correct tags are available and hooks invoked.
SearchSimplifyTestCase::testSearchSimplifyUnicode in modules/search/search.test
Tests that all Unicode characters simplify correctly.
SessionHttpsTestCase::assertSessionIds in modules/simpletest/tests/session.test
Test that there exists a session with two specific session IDs.
SessionHttpsTestCase::testHttpsSession in modules/simpletest/tests/session.test
SessionTestCase::testEmptyAnonymousSession in modules/simpletest/tests/session.test
Test that empty anonymous sessions are destroyed.
SessionTestCase::testSameSiteCookieAttributeLax in modules/simpletest/tests/session.test
Test SameSite attribute = Lax on session cookies.
SessionTestCase::testSameSiteCookieAttributeNone in modules/simpletest/tests/session.test
Test SameSite attribute = None on session cookies.
SessionTestCase::testSameSiteCookieAttributeNoneSecure in modules/simpletest/tests/session.test
Test SameSite attribute = None by default on Secure session cookies.
SessionTestCase::testSameSiteCookieAttributeStrict in modules/simpletest/tests/session.test
Test SameSite attribute = Strict on session cookies.
SessionTestCase::testSamesiteCookieLogoutLax in modules/simpletest/tests/session.test
Test SameSite attribute = Lax on set-cookie header on logout.
SessionTestCase::testSamesiteCookieOverrideLaxToStrict in modules/simpletest/tests/session.test
Test overriding the PHP setting for session.cookie_samesite with the samesite_cookie_value variable.
SessionTestCase::testSamesiteCookiePhpSettingLax in modules/simpletest/tests/session.test
Test that a PHP setting for session.cookie_samesite is not overridden by the default value in Drupal, without a samesite_cookie_value variable.
SessionTestCase::testSessionSaveRegenerate in modules/simpletest/tests/session.test
Tests for drupal_save_session() and drupal_session_regenerate().
ShortcutLinksTestCase::testShortcutLinkAdd in modules/shortcut/shortcut.test
Tests that creating a shortcut works properly.
ShortcutLinksTestCase::testShortcutLinkChangePath in modules/shortcut/shortcut.test
Tests that changing the path of a shortcut link works.
ShortcutLinksTestCase::testShortcutLinkRename in modules/shortcut/shortcut.test
Tests that shortcut links can be renamed.
ShortcutSetsTestCase::testShortcutSetAdd in modules/shortcut/shortcut.test
Tests creating a shortcut set.
ShortcutSetsTestCase::testShortcutSetAssign in modules/shortcut/shortcut.test
Tests switching another user's shortcut set.
ShortcutSetsTestCase::testShortcutSetRename in modules/shortcut/shortcut.test
Tests renaming a shortcut set.
ShortcutSetsTestCase::testShortcutSetSave in modules/shortcut/shortcut.test
Tests that shortcut_set_save() correctly updates existing links.
ShortcutSetsTestCase::testShortcutSetSwitchOwn in modules/shortcut/shortcut.test
Tests switching a user's own shortcut set.
ShortcutSetsTestCase::testShortcutSetUnassign in modules/shortcut/shortcut.test
Tests unassigning a shortcut set.
SimpleTestBrowserTestCase::testCookieDoesNotBleed in modules/simpletest/simpletest.test
Tests that the cookies from a previous test do not bleed into a new test.
SimpleTestBrowserTestCase::testCookies in modules/simpletest/simpletest.test
Tests that cookies set during a request are available for testing.
SimpleTestFolderTestCase::testFolderSetup in modules/simpletest/simpletest.test
SimpleTestFunctionalTest::assertAssertion in modules/simpletest/simpletest.test
Assert that an assertion with the specified values is displayed in the test results.
SimpleTestFunctionalTest::confirmStubTestResults in modules/simpletest/simpletest.test
Confirm that the stub test produced the desired results.
SimpleTestFunctionalTest::testInternalBrowser in modules/simpletest/simpletest.test
Test the internal browsers functionality.
SimpleTestFunctionalTest::testUserAgentValidation in modules/simpletest/simpletest.test
Test validation of the User-Agent header we use to perform test requests.
SimpleTestFunctionalTest::testWebTestRunner in modules/simpletest/simpletest.test
Make sure that tests selected through the web interface are run and that the results are displayed correctly.
StatisticsAdminTestCase::testStatisticsSettings in modules/statistics/statistics.test
Verifies that the statistics settings page works.
StatisticsLoggingTestCase::testLogging in modules/statistics/statistics.test
Verifies request logging for cached and uncached pages.
StreamWrapperTest::testGetValidStreamScheme in modules/simpletest/tests/file.test
Test the scheme functions.
StreamWrapperTest::testPharFile in modules/simpletest/tests/file.test
Tests that only valid phar files can be used.
StreamWrapperTest::testPharStreamWrapperRegistration in modules/simpletest/tests/file.test
Tests that phar stream wrapper is registered as expected.
SummaryLengthTestCase::testSummaryLength in modules/node/node.test
Tests the node summary length functionality.
SyslogTestCase::testSettings in modules/syslog/syslog.test
Tests the syslog settings page.
SystemAdminTestCase::testCompactMode in modules/system/system.test
Test compact mode.
SystemInfoAlterTestCase::testSystemInfoAlter in modules/system/system.test
Tests that {system}.info is rebuilt after a module that implements hook_system_info_alter() is enabled. Also tests if core *_list() functions return freshly altered info.
SystemMainContentFallback::testMainContentFallback in modules/system/system.test
Test availability of main content.
SystemThemeFunctionalTest::testSwitchDefaultTheme in modules/system/system.test
Test switching the default theme.
TaxonomyTermFieldTestCase::testTaxonomyTermFieldChangeMachineName in modules/taxonomy/taxonomy.test
Tests that vocabulary machine name changes are mirrored in field definitions.
TaxonomyTermFunctionTestCase::testTermDelete in modules/taxonomy/taxonomy.test
TaxonomyTermTestCase::testNodeTermCreationAndDeletion in modules/taxonomy/taxonomy.test
Test term creation with a free-tagging vocabulary from the node form.
TaxonomyTermTestCase::testTaxonomyGetTermByName in modules/taxonomy/taxonomy.test
Test taxonomy_get_term_by_name().
TaxonomyTermTestCase::testTaxonomyTermHierarchy in modules/taxonomy/taxonomy.test
Test terms in a single and multiple hierarchy.
TaxonomyVocabularyFunctionalTest::testTaxonomyAdminDeletingVocabulary in modules/taxonomy/taxonomy.test
Deleting a vocabulary.
TaxonomyVocabularyTestCase::testTaxonomyVocabularyChangeMachineName in modules/taxonomy/taxonomy.test
Tests that machine name changes are properly reflected.
TaxonomyVocabularyTestCase::testTaxonomyVocabularyLoadReturnFalse in modules/taxonomy/taxonomy.test
Ensure that when an invalid vocabulary vid is loaded, it is possible to load the same vid successfully if it subsequently becomes valid.
TaxonomyVocabularyTestCase::testTaxonomyVocabularyLoadStaticReset in modules/taxonomy/taxonomy.test
Ensure that the vocabulary static reset works correctly.
TextFieldTestCase::testTextFieldValidation in modules/field/modules/text/text.test
Test text field validation.
ThemeDebugMarkupTestCase::testDebugOutput in modules/simpletest/tests/theme.test
Tests debug markup added to template output.
ThemeRegistryTestCase::testRaceCondition in modules/simpletest/tests/theme.test
Tests the behavior of the theme registry class.
ThemeTableTestCase::testThemeTableStickyHeaders in modules/simpletest/tests/theme.test
Tableheader.js provides 'sticky' table headers, and is included by default.
ThemeTestCase::testFrontPageThemeSuggestion in modules/simpletest/tests/theme.test
Ensure page-front template suggestion is added when on front page.
ThemeTestCase::testListThemes in modules/simpletest/tests/theme.test
Test the list_themes() function.
TokenReplaceTestCase::testSystemTokenRecognition in modules/system/system.test
Test whether token-replacement works in various contexts.
TokenScanTest::testTokenScan in modules/system/system.test
Scans dummy text, then tests the output.
TranslatableUpgradePathTestCase::testTranslatableUpgrade in modules/simpletest/tests/upgrade/upgrade.translatable.test
Test a successful upgrade (no negotiation).
TranslationTestCase::addLanguage in modules/translation/translation.test
Installs the specified language, or enables it if it is already installed.
TranslationTestCase::assertContentByXPath in modules/translation/translation.test
Asserts an element identified by the given XPath has the given content.
TranslationTestCase::assertLanguageSwitchLinks in modules/translation/translation.test
Tests whether the specified language switch links are found.
TranslationTestCase::createPage in modules/translation/translation.test
Creates a "Basic page" in the specified language.
TranslationTestCase::createTranslation in modules/translation/translation.test
Creates a translation for a basic page in the specified language.
TriggerActionTestCase::assignSimpleAction in modules/trigger/trigger.test
Assigns a simple (non-configurable) action to a trigger.
TriggerContentTestCase::testActionContentMultiple in modules/trigger/trigger.test
Tests multiple node actions.
TriggerContentTestCase::testActionsContent in modules/trigger/trigger.test
Tests several content-oriented trigger issues.
TriggerCronTestCase::testActionsCron in modules/trigger/trigger.test
Tests assigning multiple actions to the cron trigger.
TriggerOrphanedActionsTestCase::testActionsOrphaned in modules/trigger/trigger.test
Tests logic around orphaned actions.
TriggerOtherTestCase::testActionsComment in modules/trigger/trigger.test
Tests triggering on comment save.
TriggerOtherTestCase::testActionsTaxonomy in modules/trigger/trigger.test
Tests triggering on taxonomy new term.
TriggerOtherTestCase::testActionsUser in modules/trigger/trigger.test
Tests triggering on user create and user login.
TriggerUpdatePathTestCase::testFilledUpgrade in modules/simpletest/tests/upgrade/update.trigger.test
Tests that the upgrade is successful.
TriggerUserActionTestCase::testUserActionAssignmentExecution in modules/trigger/trigger.test
Tests user action assignment and execution.
UpdateDependencyHookInvocationTestCase::testHookUpdateDependencies in modules/simpletest/tests/update.test
Test the structure of the array returned by hook_update_dependencies().
UpdateDependencyMissingTestCase::testMissingUpdate in modules/simpletest/tests/update.test
UpdateDependencyOrderingTestCase::testUpdateOrderingModuleInterdependency in modules/simpletest/tests/update.test
Test that dependencies between modules are resolved correctly.
UpdateFeedItemTestCase::testUpdateFeedItem in modules/aggregator/aggregator.test
Tests running "update items" from 'admin/config/services/aggregator' page.
UpdateFeedTestCase::testUpdateFeed in modules/aggregator/aggregator.test
Creates a feed and attempts to update it.
UpdateTestContribCase::testUpdateContribOrder in modules/update/update.test
Tests that contrib projects are ordered by project name.
UpgradePathTaxonomyTestCase::testTaxonomyUpgrade in modules/simpletest/tests/upgrade/upgrade.taxonomy.test
Basic tests for the taxonomy upgrade.
UpgradePathTriggerTestCase::testTaxonomyUpgrade in modules/simpletest/tests/upgrade/upgrade.trigger.test
Basic tests for the trigger upgrade.
UploadUpgradePathTestCase::testUploadUpgrade in modules/simpletest/tests/upgrade/upgrade.upload.test
Test a successful upgrade.
UserBlocksUnitTests::testWhosOnlineBlock in modules/user/user.test
Test the Who's Online block.
UserCancelTestCase::testMassUserCancelByAdmin in modules/user/user.test
Create an administrative user and mass-delete other users.
UserCancelTestCase::testUserAnonymize in modules/user/user.test
Delete account and anonymize all content.
UserCancelTestCase::testUserBlock in modules/user/user.test
Disable account and keep all content.
UserCancelTestCase::testUserBlockUnpublish in modules/user/user.test
Disable account and unpublish all content.
UserCancelTestCase::testUserCancelInvalid in modules/user/user.test
Attempt invalid account cancellations.
UserCancelTestCase::testUserCancelWithoutPermission in modules/user/user.test
Attempt to cancel account without permission.
UserCancelTestCase::testUserDelete in modules/user/user.test
Delete account and remove all content.
UserEditRebuildTestCase::testUserEditFormRebuild in modules/user/user.test
Test user edit page when the form is set to rebuild.
UserPasswordResetTestCase::testUserPasswordReset in modules/user/user.test
Tests password reset functionality.
UserPasswordResetTestCase::testUserPasswordResetLoggedIn in modules/user/user.test
Test user password reset while logged in.
UserPermissionsTestCase::testAdministratorRole in modules/user/user.test
Test assigning of permissions for the administrator role.
UserPermissionsTestCase::testUserPermissionChanges in modules/user/user.test
Change user permissions and check user_access().
UserPermissionsTestCase::testUserRoleChangePermissions in modules/user/user.test
Verify proper permission changes by user_role_change_permissions().
UserPictureTestCase::setUp in modules/user/user.test
Sets up a Drupal site for running functional and integration tests.
UserPictureTestCase::testDeletePicture in modules/user/user.test
Tests deletion of user pictures.
UserPictureTestCase::testPictureIsValid in modules/user/user.test
Do the test: Picture is valid (proper size and dimension)
UserPictureTestCase::testWithGDinvalidDimension in modules/user/user.test
Do the test: GD Toolkit is installed Picture has invalid dimension
UserRegistrationTestCase::testRegistrationDefaultValues in modules/user/user.test
UserRegistrationTestCase::testRegistrationWithEmailVerification in modules/user/user.test
UserRoleAdminTestCase::testRoleAdministration in modules/user/user.test
Test adding, renaming and deleting roles.
UserRoleAdminTestCase::testRoleWeightChange in modules/user/user.test
Test user role weight change operation.
UserRolesAssignmentTestCase::userLoadAndCheckRoleAssigned in modules/user/user.test
Check role on user object.
UserSaveTestCase::testUserImport in modules/user/user.test
Test creating a user with arbitrary uid.
UserUpdatePathTestCase::testFilledUpgrade in modules/simpletest/tests/upgrade/update.user.test
Tests that the update is successful.
UserUpgradePathDuplicatedPermissionTestCase::testUserUpgrade in modules/simpletest/tests/upgrade/upgrade.user.test
Test a successful upgrade.
UserUpgradePathNoPasswordTokenTestCase::testUserUpgrade in modules/simpletest/tests/upgrade/upgrade.user.test
Test a successful upgrade.
UserUpgradePathPasswordTokenTestCase::testUserUpgrade in modules/simpletest/tests/upgrade/upgrade.user.test
Test a successful upgrade.
ValidUrlTestCase::testValidAbsolute in modules/simpletest/tests/common.test
Test valid absolute URLs.
ValidUrlTestCase::testValidRelative in modules/simpletest/tests/common.test
Test valid relative URLs.
XMLRPCMessagesTestCase::testAlterListMethods in modules/simpletest/tests/xmlrpc.test
Ensure that hook_xmlrpc_alter() can hide even builtin methods.
XMLRPCMessagesTestCase::testMulticallLimit in modules/simpletest/tests/xmlrpc.test
Test limits on system.multicall that can prevent brute-force attacks.