515 calls to DrupalTestCase::assertTrue()

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