712 calls to TestBase::assertEqual()
- AccessTest::testDynamicAccessPlugin in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/AccessTest.php
- Tests dynamic access plugin.
- AccessTest::testStaticAccessPlugin in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/AccessTest.php
- Tests static access check.
- AddFeedTest::testAddFeed in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AddFeedTest.php
- Create a feed, ensure that it is unique, check the source, and delete the feed.
- AddFeedTest::testFeedIconEscaping in drupal/core/modules/system/lib/Drupal/system/Tests/Common/AddFeedTest.php
- Checks that special characters are correctly escaped.
- AdminTest::testCompactMode in drupal/core/modules/system/lib/Drupal/system/Tests/System/AdminTest.php
- Test compact mode.
- AggregatorCronTest::testCron in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorCronTest.php
- Add feeds update them on cron.
- AggregatorTestBase::updateFeedItems in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php
- Update feed items (simulate click to admin/config/services/aggregator/update/$fid).
- AjaxCommandsUnitTest::testAddCssCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that AddCssCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testAfterCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that AfterCommand objecst can be constructed and rendered.
- AjaxCommandsUnitTest::testAlertCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that AlertCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testAppendCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that AppendCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testBeforeCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that BeforeCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testChangedCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that ChangedCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testCssCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that CssCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testDataCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that DataCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testHtmlCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that HtmlCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testInsertCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that InsertCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testInvokeCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that InvokeCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testPrependCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that PrependCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testRemoveCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that RemoveCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testReplaceCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that ReplaceCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testRestripeCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that RestripeCommand objects can be constructed and rendered.
- AjaxCommandsUnitTest::testSettingsCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php
- Tests that SettingsCommand objects can be constructed and rendered.
- AliasTest::testCRUD in drupal/core/modules/system/lib/Drupal/system/Tests/Path/AliasTest.php
- AliasTest::testLookupPath in drupal/core/modules/system/lib/Drupal/system/Tests/Path/AliasTest.php
- AlterTest::testAlterChangeConditional in drupal/core/modules/system/lib/Drupal/system/Tests/Database/AlterTest.php
- Tests that we can alter a query's conditionals.
- AlterTest::testAlterChangeFields in drupal/core/modules/system/lib/Drupal/system/Tests/Database/AlterTest.php
- Tests that we can alter the fields of a query.
- AlterTest::testAlterExpression in drupal/core/modules/system/lib/Drupal/system/Tests/Database/AlterTest.php
- Tests that we can alter expressions in the query.
- AlterTest::testAlterRemoveRange in drupal/core/modules/system/lib/Drupal/system/Tests/Database/AlterTest.php
- Tests that we can remove a range() value from a query.
- AlterTest::testAlterWithJoin in drupal/core/modules/system/lib/Drupal/system/Tests/Database/AlterTest.php
- Tests that we can alter the joins on a query.
- AlterTest::testDrupalAlter in drupal/core/modules/system/lib/Drupal/system/Tests/Common/AlterTest.php
- Tests if the theme has been altered.
- AlterTest::testSimpleAlter in drupal/core/modules/system/lib/Drupal/system/Tests/Database/AlterTest.php
- Tests that we can do basic alters.
- AlterTest::testSimpleAlterSubquery in drupal/core/modules/system/lib/Drupal/system/Tests/Database/AlterTest.php
- Tests that we can do basic alters on subqueries.
- ApiDataTest::testViewsData in drupal/core/modules/views/lib/Drupal/views/Tests/Field/ApiDataTest.php
- Unit testing the views data structure.
- AreaTextTest::testAreaText in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTextTest.php
- ArgumentDefaultTest::testArgumentDefaultFixed in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/ArgumentDefaultTest.php
- Tests fixed default argument.
- ArgumentDefaultTest::testArgumentDefaultPlugin in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/ArgumentDefaultTest.php
- Tests the argument default test plugin.
- ArgumentDefaultTest::test_plugin_argument_default_current_user in drupal/core/modules/views/lib/Drupal/views/Tests/User/ArgumentDefaultTest.php
- ArgumentNullTest::testAreaText in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/ArgumentNullTest.php
- ArgumentStringTest::testGlossary in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/ArgumentStringTest.php
- Tests the glossary feature.
- ArrayUnitTest::testGet in drupal/core/modules/system/lib/Drupal/system/Tests/Common/ArrayUnitTest.php
- Tests getting nested array values.
- ArrayUnitTest::testSet in drupal/core/modules/system/lib/Drupal/system/Tests/Common/ArrayUnitTest.php
- Tests setting nested array values.
- BareMinimalUpgradePathTest::testBasicMinimalUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/BareMinimalUpgradePathTest.php
- Tests a successful major version release upgrade.
- BareStandardUpgradePathTest::testBasicStandardUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/BareStandardUpgradePathTest.php
- Tests a successful major version release upgrade.
- BasicTest::testSimpleArgument in drupal/core/modules/views/lib/Drupal/views/Tests/BasicTest.php
- Tests simple argument.
- BasicTest::testSimpleFiltering in drupal/core/modules/views/lib/Drupal/views/Tests/BasicTest.php
- Tests filtering of the result set.
- BasicTest::testSimpleResultSet in drupal/core/modules/views/lib/Drupal/views/Tests/BasicTest.php
- Tests a trivial result set.
- BlockTemplateSuggestionsUnitTest::testBlockThemeHookSuggestions in drupal/core/modules/block/lib/Drupal/block/Tests/BlockTemplateSuggestionsUnitTest.php
- Test if template_preprocess_block() handles the suggestions right.
- BlockTest::testBlockRehash in drupal/core/modules/block/lib/Drupal/block/Tests/BlockTest.php
- Test _block_rehash().
- BlockTest::testCustomBlock in drupal/core/modules/block/lib/Drupal/block/Tests/BlockTest.php
- Test creating custom block, moving it to a specific region and then deleting it.
- BreakpointAPITest::testConfigName in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointAPITest.php
- Test Breakpoint::buildConfigName().
- BreakpointGroupTestBase::verifyBreakpointGroup in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointGroupTestBase.php
- Verify that a breakpoint is properly stored.
- BreakpointTestBase::verifyBreakpoint in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointTestBase.php
- Verify that a breakpoint is properly stored.
- BrowserTest::testGetAbsoluteUrl in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/BrowserTest.php
- Test Drupal\simpletest\WebTestBase::getAbsoluteUrl().
- BrowserTest::testXPathEscaping in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/BrowserTest.php
- Tests XPath escaping.
- BulkDeleteTest::checkHooksInvocations in drupal/core/modules/field/lib/Drupal/field/Tests/BulkDeleteTest.php
- Tests that the expected hooks have been invoked on the expected entities.
- BulkDeleteTest::testDeleteFieldInstance in drupal/core/modules/field/lib/Drupal/field/Tests/BulkDeleteTest.php
- 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.
- BulkDeleteTest::testPurgeField in drupal/core/modules/field/lib/Drupal/field/Tests/BulkDeleteTest.php
- Verify that fields are preserved and purged correctly as multiple
instances are deleted and purged.
- BulkDeleteTest::testPurgeInstance in drupal/core/modules/field/lib/Drupal/field/Tests/BulkDeleteTest.php
- Verify that field data items and instances are purged when an
instance is deleted.
- CacheTest::testNoneCaching in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/CacheTest.php
- Tests no caching.
- CacheTest::testTimeCaching in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/CacheTest.php
- Tests time based caching.
- CascadingStylesheetsTest::testAddExternal in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
- Tests adding an external stylesheet.
- CascadingStylesheetsTest::testAddFile in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
- Tests adding a file stylesheet.
- CascadingStylesheetsTest::testDefault in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
- Checks that default stylesheets are empty.
- CascadingStylesheetsTest::testRenderFile in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
- Tests rendering the stylesheets.
- CascadingStylesheetsTest::testRenderInlinePreprocess in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
- Tests rendering inline stylesheets with preprocessing on.
- CascadingStylesheetsTest::testReset in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
- Makes sure that resetting the CSS empties the cache.
- CascadingStylesheetsUnitTest::testLoadCssBasic in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsUnitTest.php
- Tests CSS loading via drupal_load_stylesheet().
- CategorizeFeedItemTest::testCategorizeFeedItem in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/CategorizeFeedItemTest.php
- If a feed has a category, make sure that the children inherit that
categorization.
- CategorizeFeedTest::testCategorizeFeed in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/CategorizeFeedTest.php
- Create a feed and make sure you can add more than one category to it.
- ChainMatcherTest::testRequestFound in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/ChainMatcherTest.php
- Confirms that the expected exception is thrown.
- CommentActionsTest::testCommentPublishUnpublishActions in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentActionsTest.php
- Tests comment publish and unpublish actions.
- CommentAttributesTest::testCommentReplyOfRdfaMarkup in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
- Tests RDF comment replies.
- CommentAttributesTest::_testBasicCommentRdfaMarkup in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
- Helper function for testCommentRdfaMarkup().
- CommentInterfaceTest::testCommentInterface in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentInterfaceTest.php
- Tests the comment interface.
- CommentLanguageTest::testCommentLanguage in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentLanguageTest.php
- Test that comment language is properly set.
- CommentPagerTest::testCommentNewPageIndicator in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentPagerTest.php
- Tests comment_new_page_count().
- CommentPreviewTest::testCommentEditPreviewSave in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentPreviewTest.php
- Tests comment edit, preview, and save.
- CommentStatisticsTest::testCommentNodeCommentStatistics in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentStatisticsTest.php
- Tests the node comment statistics.
- CommentThreadingTest::testCommentThreading in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentThreadingTest.php
- Tests the comment threading.
- CommentTokenReplaceTest::testCommentTokenReplacement in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentTokenReplaceTest.php
- Creates a comment, then tests the tokens generated from it.
- ConfigEntityListTest::testList in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigEntityListTest.php
- Tests entity list controller methods.
- ConfigEntityListTest::testListUI in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigEntityListTest.php
- Tests the listing UI.
- ConfigFileContentTest::testReadWriteConfig in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigFileContentTest.php
- Tests setting, writing, and reading of a configuration setting.
- ConnectionTest::testConnectionOptions in drupal/core/modules/system/lib/Drupal/system/Tests/Database/ConnectionTest.php
- Tests the connection options of the active database.
- ContactSitewideTest::testAutoReply in drupal/core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php
- Tests auto-reply on the site-wide contact form.
- ContactSitewideTest::testSiteWideContact in drupal/core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php
- Tests configuration options and the site-wide contact form.
- CopyTest::testExistingError in drupal/core/modules/file/lib/Drupal/file/Tests/CopyTest.php
- Test that copying over an existing file fails when FILE_EXISTS_ERROR is
specified.
- CopyTest::testExistingRename in drupal/core/modules/file/lib/Drupal/file/Tests/CopyTest.php
- Test renaming when copying over a file that already exists.
- CopyTest::testExistingReplace in drupal/core/modules/file/lib/Drupal/file/Tests/CopyTest.php
- Test replacement when copying over a file that already exists.
- CopyTest::testNormal in drupal/core/modules/file/lib/Drupal/file/Tests/CopyTest.php
- Test file copying in the normal, base case.
- CronRunTest::testCronExceptions in drupal/core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php
- Make sure exceptions thrown on hook_cron() don't affect other modules.
- CrudTest::testCreateField in drupal/core/modules/field/lib/Drupal/field/Tests/CrudTest.php
- Test the creation of a field.
- CrudTest::testCreateFieldFail in drupal/core/modules/field/lib/Drupal/field/Tests/CrudTest.php
- Test failure to create a field.
- CrudTest::testCRUD in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/CrudTest.php
- Tests inserting, loading, updating, and deleting RDF mappings.
- CrudTest::testDeleteField in drupal/core/modules/field/lib/Drupal/field/Tests/CrudTest.php
- Test the deletion of a field.
- CrudTest::testFieldIndexes in drupal/core/modules/field/lib/Drupal/field/Tests/CrudTest.php
- Test creation of indexes on data column.
- CrudTest::testUpdateField in drupal/core/modules/field/lib/Drupal/field/Tests/CrudTest.php
- Test updating a field.
- DatabaseStorageExpirableTest::testCRUDWithExpiration in drupal/core/modules/system/lib/Drupal/system/Tests/KeyValueStore/DatabaseStorageExpirableTest.php
- Tests CRUD functionality with expiration.
- DateTimePlusTest::testDateArrays in drupal/core/modules/system/lib/Drupal/system/Tests/Datetime/DateTimePlusTest.php
- Test creating dates from arrays of date parts.
- DateTimePlusTest::testDateFormat in drupal/core/modules/system/lib/Drupal/system/Tests/Datetime/DateTimePlusTest.php
- Test creating dates from format strings.
- DateTimePlusTest::testDateStrings in drupal/core/modules/system/lib/Drupal/system/Tests/Datetime/DateTimePlusTest.php
- Test creating dates from string input.
- DateTimePlusTest::testDateTimestamp in drupal/core/modules/system/lib/Drupal/system/Tests/Datetime/DateTimePlusTest.php
- Test creating dates from timestamps.
- DateTimePlusTest::testTimezoneConversion in drupal/core/modules/system/lib/Drupal/system/Tests/Datetime/DateTimePlusTest.php
- Test timezone manipulation.
- DateTimeTest::testDateFormatConfiguration in drupal/core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php
- Test date format configuration.
- DateTimeTest::testDateFormatStorage in drupal/core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php
- Test if the date formats are stored properly.
- DBLogTest::testDBLogAddAndClear in drupal/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php
- Tests the addition and clearing of log events through the admin interface.
- DBLogTest::testFilter in drupal/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php
- Tests the database log filter functionality at admin/reports/dblog.
- DBLogTest::testWatchdog in drupal/core/modules/rest/lib/Drupal/rest/Tests/DBLogTest.php
- Writes a log messages and retrieves it via the web API.
- DefaultViewRecentComments::testBlockDisplay in drupal/core/modules/views/lib/Drupal/views/Tests/Comment/DefaultViewRecentComments.php
- Tests the block defined by the comments_recent view.
- DefaultViewRecentComments::testPageDisplay in drupal/core/modules/views/lib/Drupal/views/Tests/Comment/DefaultViewRecentComments.php
- Tests the page defined by the comments_recent view.
- DeleteTest::testDelete in drupal/core/modules/rest/lib/Drupal/rest/Tests/DeleteTest.php
- Tests several valid and invalid delete requests on all entity types.
- DeleteTest::testInUse in drupal/core/modules/file/lib/Drupal/file/Tests/DeleteTest.php
- Tries deleting a file that is in use.
- DeleteTruncateTest::testSimpleDelete in drupal/core/modules/system/lib/Drupal/system/Tests/Database/DeleteTruncateTest.php
- Confirms that we can delete a single record successfully.
- DeleteTruncateTest::testSubselectDelete in drupal/core/modules/system/lib/Drupal/system/Tests/Database/DeleteTruncateTest.php
- Confirms that we can use a subselect in a delete successfully.
- DeleteTruncateTest::testTruncate in drupal/core/modules/system/lib/Drupal/system/Tests/Database/DeleteTruncateTest.php
- Confirms that we can truncate a whole table successfully.
- DependencyOrderingTest::testUpdateOrderingSingleModule in drupal/core/modules/system/lib/Drupal/system/Tests/Update/DependencyOrderingTest.php
- Test that updates within a single module run in the correct order.
- DirectoryTest::testFileCheckDirectoryHandling in drupal/core/modules/system/lib/Drupal/system/Tests/File/DirectoryTest.php
- Test directory handling functions.
- DirectoryTest::testFileCreateNewFilepath in drupal/core/modules/system/lib/Drupal/system/Tests/File/DirectoryTest.php
- This will take a directory and path, and find a valid filepath that is not
taken by another file.
- DirectoryTest::testFileDestination in drupal/core/modules/system/lib/Drupal/system/Tests/File/DirectoryTest.php
- This will test the filepath for a destination based on passed flags and
whether or not the file exists.
- DirectoryTest::testFileDirectoryTemp in drupal/core/modules/system/lib/Drupal/system/Tests/File/DirectoryTest.php
- Ensure that the file_directory_temp() function always returns a value.
- DiscoveryTestBase::testDiscoveryInterface in drupal/core/modules/system/lib/Drupal/system/Tests/Plugin/Discovery/DiscoveryTestBase.php
- Tests getDefinitions() and getDefinition().
- DisplayExtenderTest::testDisplayExtenders in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayExtenderTest.php
- Test display extenders.
- DisplayExtenderUITest::testDisplayExtenderUI in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DisplayExtenderUITest.php
- Tests the display extender UI.
- DisplayFeedTest::testFeedUI in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayFeedTest.php
- Tests feed display admin ui.
- DisplayInternalLogicTest::testBlockMapping in drupal/core/modules/layout/lib/Drupal/layout/Tests/DisplayInternalLogicTest.php
- Test the various block remapping scenarios allowed for by the assorted
Display types.
- DisplayTest::testDefaultDisplay in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
- Tests that the correct display is loaded by default.
- DisplayTest::testDisplayAreas in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
- Tests display areas.
- DisplayTest::testDisplayPlugin in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayTest.php
- Tests the display test plugin.
- DisplayTest::testReorderDisplay in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
- Tests reordering of displays.
- DownloadTest::checkUrl in drupal/core/modules/file/lib/Drupal/file/Tests/DownloadTest.php
- Download a file from the URL generated by file_create_url().
- DownloadTest::testPrivateFileTransfer in drupal/core/modules/file/lib/Drupal/file/Tests/DownloadTest.php
- Test the private file transfer system.
- DownloadTest::testPublicFileTransfer in drupal/core/modules/file/lib/Drupal/file/Tests/DownloadTest.php
- Test the public file transfer system.
- DrupalJsonldNormalizerTest::testNormalize in drupal/core/modules/jsonld/lib/Drupal/jsonld/Tests/DrupalJsonldNormalizerTest.php
- Tests the normalize function.
- DrupalKernelTest::testCompileDIC in drupal/core/modules/system/lib/Drupal/system/Tests/DrupalKernel/DrupalKernelTest.php
- Tests DIC compilation.
- EfqTest::testTaxonomyEfq in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/EfqTest.php
- Tests that a basic taxonomy entity query works.
- ElementsLabelsTest::testFormLabels in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementsLabelsTest.php
- Test form elements, labels, title attibutes and required marks output
correctly and have the correct label option class if needed.
- ElementsTableSelectTest::testTableselectColSpan in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementsTableSelectTest.php
- Tests the display when #colspan is set.
- ElementTest::testButtonClasses in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementTest.php
- Tests button classes.
- EmailTest::testFormEmail in drupal/core/modules/system/lib/Drupal/system/Tests/Form/EmailTest.php
- Tests that #type 'email' fields are properly validated.
- EmptyStatementTest::testEmptyFetchAll in drupal/core/modules/system/lib/Drupal/system/Tests/Database/EmptyStatementTest.php
- Tests that the empty result set mass-fetches in an expected way.
- EntityAccessTest::assertEntityAccess in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityAccessTest.php
- Asserts entity access correctly grants or denies access.
- EntityApiInfoTest::testEntityInfoCacheWatchdog in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiInfoTest.php
- Tests entity info cache after enabling a module with a dependency on an entity providing module.
- EntityApiInfoTest::testEntityInfoChanges in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiInfoTest.php
- Ensures entity info cache is updated after changes.
- EntityApiTest::testCRUD in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiTest.php
- Tests basic CRUD functionality of the Entity API.
- EntityFieldTest::testComputedProperties in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php
- Tests getting processed property values via a computed property.
- EntityFieldTest::testDataStructureInterfaces in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php
- Tests working with entity properties based upon data structure and data
list interfaces.
- EntityFieldTest::testIntrospection in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php
- Tests introspection and getting metadata upfront.
- EntityFieldTest::testIterator in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php
- Tests iterating over properties.
- EntityFieldTest::testReadWrite in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php
- Tests reading and writing properties and field items.
- EntityFieldTest::testSave in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php
- Tries to save and load an entity again.
- EntityPropertiesTest::testEntityLabel in drupal/core/modules/field/lib/Drupal/field/Tests/EntityPropertiesTest.php
- Tests label key and label callback of an entity.
- EntityQueryRelationshipTest::assertResults in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryRelationshipTest.php
- Assert the results.
- EntityQueryRelationshipTest::testQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryRelationshipTest.php
- Tests querying.
- EntityQueryTest::testEntityQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryTest.php
- Test basic functionality.
- EntityQueryTest::testMetaData in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryTest.php
- Test adding a tag and metadata to the Entity query object.
- EntityQueryTest::testSort in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryTest.php
- Test sort().
- EntityRevisionsTest::testRevisions in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityRevisionsTest.php
- Check node revision related operations.
- EntityTranslationTest::testEntityLanguageMethods in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationTest.php
- Tests language related methods of the Entity class.
- EntityTranslationTest::testMultilingualProperties in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationTest.php
- Tests multilingual properties.
- EntityTranslationUITest::testTranslationUI in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationUITest.php
- Tests the basic translation UI.
- EntityUUIDTest::testCRUD in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityUUIDTest.php
- Tests UUID generation in entity CRUD operations.
- ExceptionControllerTest::test405HTML in drupal/core/modules/system/lib/Drupal/system/Tests/System/ExceptionControllerTest.php
- Ensure the execute() method returns a valid response on 405 exceptions.
- FeedParserTest::testAtomSample in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/FeedParserTest.php
- Test a feed that uses the Atom format.
- FieldAttachOtherTest::testFieldAttachCache in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachOtherTest.php
- Test field cache.
- FieldAttachOtherTest::testFieldAttachForm in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachOtherTest.php
- Test field_attach_form().
- FieldAttachOtherTest::testFieldAttachValidate in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachOtherTest.php
- Test field_attach_validate().
- FieldAttachStorageTest::testFieldAttachCreateRenameBundle in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachStorageTest.php
- Test field_attach_create_bundle() and field_attach_rename_bundle().
- FieldAttachStorageTest::testFieldAttachDelete in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachStorageTest.php
- Test field_attach_delete().
- FieldAttachStorageTest::testFieldAttachDeleteBundle in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachStorageTest.php
- Test field_attach_delete_bundle().
- FieldAttachStorageTest::testFieldAttachLoadMultiple in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachStorageTest.php
- Test the 'multiple' load feature.
- FieldAttachStorageTest::testFieldAttachSaveLoad in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachStorageTest.php
- Check field values insert, update and load.
- FieldAttachStorageTest::testFieldAttachSaveLoadDifferentStorage in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachStorageTest.php
- Test saving and loading fields using different storage backends.
- FieldAttachStorageTest::testFieldAttachSaveMissingData in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachStorageTest.php
- Tests insert and update with missing or NULL fields.
- FieldAttachStorageTest::testFieldAttachSaveMissingDataDefaultValue in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachStorageTest.php
- Test insert with missing or NULL fields, with default value.
- FieldAttachStorageTest::testFieldStorageDetailsAlter in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachStorageTest.php
- Test storage details alteration.
- FieldBooleanTest::testFieldBoolean in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldBooleanTest.php
- FieldCounterTest::testSimple in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldCounterTest.php
- FieldCustomTest::testFieldCustom in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldCustomTest.php
- FieldDateTest::assertRenderedDatesEqual in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldDateTest.php
- FieldEntityTest::testGetEntity in drupal/core/modules/views/lib/Drupal/views/Tests/Entity/FieldEntityTest.php
- Tests the get_entity method.
- FieldFileSizeTest::testFieldFileSize in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldFileSizeTest.php
- FieldInfoTest::testFieldInfo in drupal/core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php
- Test that field types and field definitions are correcly cached.
- FieldInfoTest::testFieldMap in drupal/core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php
- Test field_info_field_map().
- FieldInstanceCrudTest::testUpdateFieldInstance in drupal/core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php
- Test the update of a field instance.
- FieldLanguageTest::testField in drupal/core/modules/views/lib/Drupal/views/Tests/Language/FieldLanguageTest.php
- Tests the language field.
- FieldSqlStorageTest::testFieldAttachInsertAndUpdate in drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Tests/FieldSqlStorageTest.php
- Reads mysql to verify correct data is
written when using insert and update.
- FieldSqlStorageTest::testFieldAttachLoad in drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Tests/FieldSqlStorageTest.php
- Uses the mysql tables and records to verify
field_load_revision works correctly.
- FieldSqlStorageTest::testFieldAttachSaveMissingData in drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Tests/FieldSqlStorageTest.php
- Tests insert and update with missing or NULL fields.
- FieldSqlStorageTest::testFieldSqlStorageForeignKeys in drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Tests/FieldSqlStorageTest.php
- Test foreign key support.
- FieldSqlStorageTest::testFieldStorageDetails in drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Tests/FieldSqlStorageTest.php
- Test the storage details.
- FieldSqlStorageTest::testFieldUpdateIndexesWithData in drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Tests/FieldSqlStorageTest.php
- Test adding and removing indexes while data is present.
- FieldTestBase::assertFieldValues in drupal/core/modules/field/lib/Drupal/field/Tests/FieldTestBase.php
- Assert that a field has the expected values in an entity.
- FieldUnitTest::testFieldTokens in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldUnitTest.php
- Tests the field tokens, row level and field level.
- FieldUnitTest::testQuery in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldUnitTest.php
- Tests all things related to the query.
- FieldUnitTest::testRender in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldUnitTest.php
- Tests that the render function is called.
- FieldUrlTest::testFieldUrl in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldUrlTest.php
- FieldWebTest::testClickSorting in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldWebTest.php
- Tests the click sorting functionality.
- FieldWebTest::testFieldClasses in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldWebTest.php
- Tests the field/label/wrapper classes.
- FieldXssTest::testFieldXss in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldXssTest.php
- FileFieldRevisionTest::testRevisions in drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldRevisionTest.php
- Tests creating multiple revisions of a node and managing attached files.
- FileFieldTestBase::assertFileEntryExists in drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldTestBase.php
- Asserts that a file exists in the database.
- FileManagedTestBase::assertFileHookCalled in drupal/core/modules/file/lib/Drupal/file/Tests/FileManagedTestBase.php
- Assert that a hook_file_* hook was called a certain number of times.
- FileTestBase::assertDirectoryPermissions in drupal/core/modules/system/lib/Drupal/system/Tests/File/FileTestBase.php
- Helper function to test the permissions of a directory.
- FileTestBase::assertFilePermissions in drupal/core/modules/system/lib/Drupal/system/Tests/File/FileTestBase.php
- Helper function to test the permissions of a file.
- FileTestBase::assertFileUnchanged in drupal/core/modules/system/lib/Drupal/system/Tests/File/FileTestBase.php
- Check that two files have the same values for all fields other than the
timestamp.
- FileTestBase::assertSameFile in drupal/core/modules/system/lib/Drupal/system/Tests/File/FileTestBase.php
- Check that two files are the same by comparing the fid and filepath.
- FileTokenReplaceTest::testFileTokenReplacement in drupal/core/modules/file/lib/Drupal/file/Tests/FileTokenReplaceTest.php
- Creates a file, then tests the tokens generated from it.
- FilledMinimalUpgradePathTest::testFilledMinimalUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/FilledMinimalUpgradePathTest.php
- Tests a successful point release update.
- FilledStandardUpgradePathTest::testFilledStandardUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/FilledStandardUpgradePathTest.php
- Tests a successful point release update.
- FilterAPITest::testFilterFormatAPI in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterAPITest.php
- Tests the function filter_get_filter_types_by_format().
- FilterCrudTest::verifyFilters in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterCrudTest.php
- Verify that filters are properly stored for a text format.
- FilterCrudTest::verifyTextFormat in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterCrudTest.php
- Verify that a text format is properly stored.
- FilterDefaultFormatTest::testDefaultTextFormats in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterDefaultFormatTest.php
- Tests if the default text format is accessible to users.
- FilterFormatAccessTest::testFormatRoles in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterFormatAccessTest.php
- Tests if text format is available to a role.
- FilterHtmlImageSecureTest::testImageSource in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterHtmlImageSecureTest.php
- Tests removal of images having a non-local source.
- FilterInOperatorTest::testFilterInOperatorGroupedExposedSimple in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FilterInOperatorTest.php
- FilterInOperatorTest::testFilterInOperatorSimple in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FilterInOperatorTest.php
- FilterInOperatorTest::testFilterNotInOperatorGroupedExposedSimple in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FilterInOperatorTest.php
- FilterNoFormatTest::testCheckMarkupNoFormat in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterNoFormatTest.php
- Tests text without format.
- FilterSecurityTest::testSkipSecurityFilters in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterSecurityTest.php
- Tests that security filters are enforced even when marked to be skipped.
- FilterSettingsTest::testFilterDefaults in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterSettingsTest.php
- Tests explicit and implicit default settings for filters.
- FilterTest::testFilterQuery in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/FilterTest.php
- Test query of the row plugin.
- FilterUnitTest::testFilterXSS in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php
- Tests limiting allowed tags and XSS prevention.
- FilterUnitTest::testFilterXSSAdmin in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php
- Tests the loose, admin HTML filter.
- FilterUnitTest::testHtmlCorrectorFilter in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php
- Tests the HTML corrector filter.
- FilterUnitTest::testLineBreakFilter in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php
- Tests the line break filter.
- FirstEntryFinalMatcherTest::testFinalMatcherPattern in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/FirstEntryFinalMatcherTest.php
- Confirms the final matcher returns correct attributes for pattern paths.
- FirstEntryFinalMatcherTest::testFinalMatcherPatternDefalts in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/FirstEntryFinalMatcherTest.php
- Confirms the final matcher returns correct attributes with default values.
- FirstEntryFinalMatcherTest::testFinalMatcherStatic in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/FirstEntryFinalMatcherTest.php
- Confirms the final matcher returns correct attributes for static paths.
- FormTest::testCheckboxProcessing in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
- Test default value handling for checkboxes.
- FormTest::testColorValidation in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
- Tests validation of #type 'color' elements.
- FormTest::testDisabledElements in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
- Test handling of disabled elements.
- FormTest::testFieldFormAccess in drupal/core/modules/field/lib/Drupal/field/Tests/FormTest.php
- Tests fields with no 'edit' access.
- FormTest::testFieldFormSingle in drupal/core/modules/field/lib/Drupal/field/Tests/FormTest.php
- FormTest::testFieldFormSingleRequired in drupal/core/modules/field/lib/Drupal/field/Tests/FormTest.php
- FormTest::testRange in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
- Tests default value handling of #type 'range' elements.
- ForumTest::createForumTopic in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
- Creates a forum topic.
- ForumTest::editForumTaxonomy in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
- Edits the forum taxonomy.
- ForumTest::testAddOrphanTopic in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
- Tests that forum nodes can't be added without a parent.
- ForumTest::testForum in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
- Tests forum functionality through the admin and user interfaces.
- FrameworkTest::testAJAXRender in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/FrameworkTest.php
- Ensures ajax_render() returns JavaScript settings from the page request.
- FrameworkTest::testLazyLoad in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/FrameworkTest.php
- Tests that new JavaScript and CSS files are returned on an Ajax request.
- FunctionsTest::testDrupalPreRenderLinks in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/FunctionsTest.php
- Test the use of drupal_pre_render_links() on a nested array of links.
- GenericCacheBackendUnitTestBase::testGetMultiple in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
- Tests Drupal\Core\Cache\CacheBackendInterface::getMultiple().
- GenericCacheBackendUnitTestBase::testInvalidate in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
- Test Drupal\Core\Cache\CacheBackendInterface::invalidate() and
Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple().
- GenericCacheBackendUnitTestBase::testSetGet in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
- Tests the get and set methods of Drupal\Core\Cache\CacheBackendInterface.
- GetRdfNamespacesTest::testGetRdfNamespaces in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/GetRdfNamespacesTest.php
- Tests getting RDF namespaces.
- GlossaryTest::testGlossaryView in drupal/core/modules/views/lib/Drupal/views/Tests/GlossaryTest.php
- Tests the default glossary view.
- GotoTest::testDrupalGoto in drupal/core/modules/system/lib/Drupal/system/Tests/Common/GotoTest.php
- Tests drupal_goto().
- GraphUnitTest::assertComponents in drupal/core/modules/system/lib/Drupal/system/Tests/Graph/GraphUnitTest.php
- Verify expected components in a graph.
- GraphUnitTest::assertPaths in drupal/core/modules/system/lib/Drupal/system/Tests/Graph/GraphUnitTest.php
- Verify expected paths in a graph.
- GraphUnitTest::assertReversePaths in drupal/core/modules/system/lib/Drupal/system/Tests/Graph/GraphUnitTest.php
- Verify expected reverse paths in a graph.
- HandlerArgumentUserUidTest::testArgumentTitle in drupal/core/modules/views/lib/Drupal/views/Tests/User/HandlerArgumentUserUidTest.php
- Tests the generated title of an user: uid argument.
- HandlerFieldFieldTest::_testFormatterSimpleFieldRender in drupal/core/modules/views/lib/Drupal/views/Tests/Field/HandlerFieldFieldTest.php
- Tests that fields with formatters runs as expected.
- HandlerFieldFieldTest::_testMultipleFieldRender in drupal/core/modules/views/lib/Drupal/views/Tests/Field/HandlerFieldFieldTest.php
- HandlerFieldFieldTest::_testSimpleFieldRender in drupal/core/modules/views/lib/Drupal/views/Tests/Field/HandlerFieldFieldTest.php
- HandlerTest::testBreakPhrase in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
- Tests Drupal\views\Plugin\views\HandlerBase::breakPhrase() function.
- HandlerTest::testBreakPhraseString in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
- Tests the breakPhraseString() method.
- HandlerTest::testPlaceholder in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
- Tests the placeholder function.
- HandlerTest::testRelationshipUI in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
- Tests the relationship ui for field/filter/argument/relationship.
- HandlerTest::testSetRelationship in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
- Tests the relationship method on the base class.
- HookBootExitTest::testHookBootExit in drupal/core/modules/system/lib/Drupal/system/Tests/Bootstrap/HookBootExitTest.php
- Tests calling of hook_boot() and hook_exit().
- HooksTest::testTaxonomyTermHooks in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/HooksTest.php
- Test hooks on CRUD of terms.
- HtmlTagUnitTest::testThemeHtmlTag in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/HtmlTagUnitTest.php
- Test function theme_html_tag()
- HtmlToTextTest::assertHtmlToText in drupal/core/modules/system/lib/Drupal/system/Tests/Mail/HtmlToTextTest.php
- Helper function for testing drupal_html_to_text().
- HtmlToTextTest::testDrupalHtmlToTextBlockTagToNewline in drupal/core/modules/system/lib/Drupal/system/Tests/Mail/HtmlToTextTest.php
- Test that text separated by block-level tags in HTML get separated by
(at least) a newline in the plaintext version.
- HtmlToTextTest::testUsenetSignature in drupal/core/modules/system/lib/Drupal/system/Tests/Mail/HtmlToTextTest.php
- Tests that drupal_wrap_mail() does not remove the trailing whitespace from
Usenet style signatures.
- HttpMethodMatcherTest::testFilterRoutes in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/HttpMethodMatcherTest.php
- Confirms that the HttpMethod matcher matches properly.
- HttpMethodMatcherTest::testNestedMatcher in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/HttpMethodMatcherTest.php
- Confirms we can nest multiple partial matchers.
- HttpRequestTest::testDrupalHTTPRequest in drupal/core/modules/system/lib/Drupal/system/Tests/Common/HttpRequestTest.php
- Checks HTTP requests.
- HttpRequestTest::testDrupalHTTPRequestHeaders in drupal/core/modules/system/lib/Drupal/system/Tests/Common/HttpRequestTest.php
- Tests Content-language headers generated by Drupal.
- HttpRequestTest::testDrupalHTTPRequestRedirect in drupal/core/modules/system/lib/Drupal/system/Tests/Common/HttpRequestTest.php
- Tests HTTP redirect requests.
- ImageAdminStylesTest::testStyle in drupal/core/modules/image/lib/Drupal/image/Tests/ImageAdminStylesTest.php
- General test to add a style, add/remove/edit effects to it, then delete it.
- ImageDimensionsScaleUnitTest::testImageDimensionsScale in drupal/core/modules/image/lib/Drupal/image/Tests/ImageDimensionsScaleUnitTest.php
- Tests all control flow branches in image_dimensions_scale().
- ImageDimensionsTest::testImageDimensions in drupal/core/modules/image/lib/Drupal/image/Tests/ImageDimensionsTest.php
- Test styled image dimensions cumulatively.
- ImageEffectsTest::testCropEffect in drupal/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php
- Test the image_crop_effect() function.
- ImageEffectsTest::testDesaturateEffect in drupal/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php
- Test the image_desaturate_effect() function.
- ImageEffectsTest::testResizeEffect in drupal/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php
- Test the image_resize_effect() function.
- ImageEffectsTest::testRotateEffect in drupal/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php
- Test the image_rotate_effect() function.
- ImageEffectsTest::testScaleAndCropEffect in drupal/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php
- Test the image_scale_and_crop_effect() function.
- ImageEffectsTest::testScaleEffect in drupal/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php
- Test the image_scale_effect() function.
- ImageFieldDefaultImagesTest::testDefaultImages in drupal/core/modules/image/lib/Drupal/image/Tests/ImageFieldDefaultImagesTest.php
- Tests CRUD for fields and fields instances with default images.
- ImageFieldDisplayTest::testImageFieldDefaultImage in drupal/core/modules/image/lib/Drupal/image/Tests/ImageFieldDisplayTest.php
- Test use of a default image with an image field.
- ImageFieldDisplayTest::_testImageFieldFormatters in drupal/core/modules/image/lib/Drupal/image/Tests/ImageFieldDisplayTest.php
- Test image formatters on node display.
- ImageStylesPathAndUrlTest::testImageStylePath in drupal/core/modules/image/lib/Drupal/image/Tests/ImageStylesPathAndUrlTest.php
- Test image_style_path().
- ImageStylesPathAndUrlTest::_testImageStyleUrlAndPath in drupal/core/modules/image/lib/Drupal/image/Tests/ImageStylesPathAndUrlTest.php
- Test image_style_url().
- ImageThemeFunctionTest::testImageFormatterTheme in drupal/core/modules/image/lib/Drupal/image/Tests/ImageThemeFunctionTest.php
- Tests usage of the image field formatters.
- ImageThemeFunctionTest::testImageStyleTheme in drupal/core/modules/image/lib/Drupal/image/Tests/ImageThemeFunctionTest.php
- Tests usage of the image style theme function.
- ImageUpgradePathTest::testImageStyleUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/ImageUpgradePathTest.php
- Tests that custom and overridden image styles have been upgraded.
- ImportOpmlTest::submitImportForm in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/ImportOpmlTest.php
- Submit form with invalid, empty and valid OPML files.
- ImportOpmlTest::validateImportFormFields in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/ImportOpmlTest.php
- Submit form filled with invalid fields.
- InfoFileParserUnitTest::testDrupalParseInfoFormat in drupal/core/modules/system/lib/Drupal/system/Tests/System/InfoFileParserUnitTest.php
- Test drupal_parse_info_format().
- InsertDefaultsTest::testDefaultInsert in drupal/core/modules/system/lib/Drupal/system/Tests/Database/InsertDefaultsTest.php
- Tests that we can run a query that uses default values for everything.
- InsertDefaultsTest::testDefaultInsertWithFields in drupal/core/modules/system/lib/Drupal/system/Tests/Database/InsertDefaultsTest.php
- Tests that we can insert fields with values and defaults in the same query.
- InstallTest::testCacheInstall in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/InstallTest.php
- Tests the behavior of the cache backend used for installing Drupal.
- JavaScriptTest::testAddInline in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
- Tests adding inline scripts.
- JavaScriptTest::testAddSetting in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
- Tests adding settings.
- JavaScriptTest::testAggregationOrder in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
- Tests JavaScript aggregation when files are added to a different scope.
- JavaScriptTest::testDefault in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
- Tests that default JavaScript is empty.
- JavaScriptTest::testDifferentGroup in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
- Tests adding a JavaScript file with a different group.
- JavaScriptTest::testDifferentWeight in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
- Tests adding a JavaScript file with a different weight.
- JavaScriptTest::testGetLibrary in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
- Tests retrieval of libraries via drupal_get_library().
- JavaScriptTest::testLibraryAlter in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
- Adds a JavaScript library to the page and alters it.
- JavaScriptTest::testLibraryNameConflicts in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
- Tests that multiple modules can implement the same library.
- JavaScriptTest::testReset in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
- Tests to see if resetting the JavaScript empties the cache.
- JoinTest::testBasePlugin in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/JoinTest.php
- Tests the join plugin base.
- LanguageConfigurationElementTest::testDefaultLangcode in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageConfigurationElementTest.php
- Tests that the language_get_default_langcode() returns the correct values.
- LanguageConfigurationElementTest::testLanguageConfigurationElement in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageConfigurationElementTest.php
- Tests the language settings have been saved.
- LanguageConfigurationElementTest::testNodeTypeUpdate in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageConfigurationElementTest.php
- Tests that the configuration is updated when the node type is changed.
- LanguageConfigurationTest::testLanguageConfiguration in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageConfigurationTest.php
- Functional tests for adding, editing and deleting languages.
- LanguageCustomLanguageConfigurationTest::testLanguageConfiguration in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageCustomLanguageConfigurationTest.php
- Functional tests for adding, editing and deleting languages.
- LanguageDependencyInjectionTest::testDependencyInjectedNewDefaultLanguage in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageDependencyInjectionTest.php
- Test dependency injected Language object against a new default language
object.
- LanguageDependencyInjectionTest::testDependencyInjectedNewLanguage in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageDependencyInjectionTest.php
- Test dependency injected languages against a new Language object.
- LanguageListTest::testLanguageList in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageListTest.php
- Functional tests for adding, editing and deleting languages.
- LanguageListTest::testLanguageStates in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageListTest.php
- Functional tests for the language states (locked or configurable).
- LanguageNegotiationInfoTest::testInfoAlterations in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageNegotiationInfoTest.php
- Tests alterations to language types/negotiation info.
- LanguagePathMonolingualTest::setUp in drupal/core/modules/language/lib/Drupal/language/Tests/LanguagePathMonolingualTest.php
- Sets up a Drupal site for running functional and integration tests.
- LanguageSelectElementTest::testHiddenLanguageSelectElement in drupal/core/modules/system/lib/Drupal/system/Tests/Form/LanguageSelectElementTest.php
- Tests the case when the language select elements should not be printed.
- LanguageSelectElementTest::_testLanguageSelectElementOptions in drupal/core/modules/system/lib/Drupal/system/Tests/Form/LanguageSelectElementTest.php
- Helper function to check the options of a language select form element.
- LanguageUpgradePathTest::testLanguageUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/LanguageUpgradePathTest.php
- Tests a successful upgrade.
- LanguageUrlRewritingTest::testDomainNameNegotiationPort in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageUrlRewritingTest.php
- Check URL rewriting when using a domain name and a non-standard port.
- LegacyTest::testTaxonomyLegacyNode in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/LegacyTest.php
- Test taxonomy functionality with nodes prior to 1970.
- LinksTest::assertMenuLinkParents in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/LinksTest.php
- Assert that at set of links is properly parented.
- LoadMultipleTest::testTaxonomyTermMultipleLoad in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/LoadMultipleTest.php
- Create a vocabulary and some taxonomy terms, ensuring they're loaded
correctly using taxonomy_term_load_multiple().
- LoadTest::testMultiple in drupal/core/modules/file/lib/Drupal/file/Tests/LoadTest.php
- This will test loading file data from the database.
- LoadTest::testSingleValues in drupal/core/modules/file/lib/Drupal/file/Tests/LoadTest.php
- Load a single file and ensure that the correct values are returned.
- LocaleCompareTest::testCompareCheckLocal in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleCompareTest.php
- Checks if local or remote translation sources are detected.
- LocaleCompareTest::testLocaleCompare in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleCompareTest.php
- Test for translation status storage and translation status comparison.
- LocaleFileImportStatus::checkTranslations in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php
- Get translations for an array of strings.
- LocaleFileImportStatus::mockImportedPoFile in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php
- Import a single interface translation file.
- LocaleFileImportStatus::testBulkImportNotUpdateExisting in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php
- Don't update a pre-existing file.
- LocaleImportFunctionalTest::testStandalonePoFile in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php
- Test import of standalone .po files.
- LocaleInstallTest::testFunctionSignatures in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleInstallTest.php
- Verify that function signatures of t() and st() are equal.
- LocaleJavascriptTranslation::testFileParsing in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleJavascriptTranslation.php
- LocalePathTest::testPathLanguageConfiguration in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocalePathTest.php
- Test if a language can be associated with a path alias.
- LocaleStringTest::testStringCRUDAPI in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleStringTest.php
- Test CRUD API.
- LocaleStringTest::testStringSearchAPI in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleStringTest.php
- Test Search API loading multiple objects.
- LocaleTranslationTest::testStringTranslation in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php
- Adds a language and tests string translation by users with the appropriate permissions.
- LocaleUninstallTest::testUninstallProcess in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleUninstallTest.php
- Check if the values of the Locale variables are correct after uninstall.
- LoggingTest::testEnableLogging in drupal/core/modules/system/lib/Drupal/system/Tests/Database/LoggingTest.php
- Tests that we can log the existence of a query.
- LoggingTest::testEnableMultiConnectionLogging in drupal/core/modules/system/lib/Drupal/system/Tests/Database/LoggingTest.php
- Tests that we can log queries separately on different connections.
- LoggingTest::testEnableMultiLogging in drupal/core/modules/system/lib/Drupal/system/Tests/Database/LoggingTest.php
- Tests that we can run two logs in parallel.
- LoggingTest::testEnableTargetLogging in drupal/core/modules/system/lib/Drupal/system/Tests/Database/LoggingTest.php
- Tests logging queries against multiple targets on the same connection.
- LoggingTest::testEnableTargetLoggingNoTarget in drupal/core/modules/system/lib/Drupal/system/Tests/Database/LoggingTest.php
- Tests that logs to separate targets utilize the same connection properly.
- LoopTest::triggerActions in drupal/core/modules/action/lib/Drupal/action/Tests/LoopTest.php
- Loops watchdog messages up to actions_max_stack times.
- MailCaptureTest::testMailSend in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/MailCaptureTest.php
- Test to see if the wrapper function is executed correctly.
- MailTest::testPluggableFramework in drupal/core/modules/system/lib/Drupal/system/Tests/Mail/MailTest.php
- Assert that the pluggable mail system is functional.
- ManageDisplayTest::testFormatterUI in drupal/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageDisplayTest.php
- Tests formatter settings.
- ManageFieldsTest::testDefaultValue in drupal/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php
- Tests that default value is correctly validated and saved.
- MappingHookTest::testMapping in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/MappingHookTest.php
- Tests that hook_rdf_mapping() correctly returns and processes mapping.
- MatcherDumperTest::testAddRoutes in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php
- Confirms that we can add routes to the dumper.
- MatcherDumperTest::testDump in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php
- Confirm that we can dump a route collection to the database.
- MenuTest::assertMenuLink in drupal/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php
- Fetch the menu item from the database and compare it to the specified
array.
- MenuTest::testMenu in drupal/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php
- Login users, add menus and menu links, and test menu functionality through the admin and user interfaces.
- MergeTest::testMergeInsert in drupal/core/modules/system/lib/Drupal/system/Tests/Database/MergeTest.php
- Confirms that we can merge-insert a record successfully.
- MergeTest::testMergeInsertWithoutUpdate in drupal/core/modules/system/lib/Drupal/system/Tests/Database/MergeTest.php
- Tests that we can merge-insert without any update fields.
- MergeTest::testMergeUpdate in drupal/core/modules/system/lib/Drupal/system/Tests/Database/MergeTest.php
- Confirms that we can merge-update a record successfully.
- MergeTest::testMergeUpdateExcept in drupal/core/modules/system/lib/Drupal/system/Tests/Database/MergeTest.php
- Confirms that we can merge-update a record successfully.
- MergeTest::testMergeUpdateExplicit in drupal/core/modules/system/lib/Drupal/system/Tests/Database/MergeTest.php
- Confirms that we can merge-update a record, with alternate replacement.
- MergeTest::testMergeUpdateExpression in drupal/core/modules/system/lib/Drupal/system/Tests/Database/MergeTest.php
- Confirms that we can merge-update a record successfully, with expressions.
- MergeTest::testMergeUpdateWithoutUpdate in drupal/core/modules/system/lib/Drupal/system/Tests/Database/MergeTest.php
- Confirms that we can merge-update without any update fields.
- MimeTypeMatcherTest::testFilterRoutes in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MimeTypeMatcherTest.php
- Confirms that the MimeType matcher matches properly.
- MimeTypeMatcherTest::testNestedMatcher in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MimeTypeMatcherTest.php
- Confirms we can nest multiple partial matchers.
- ModuleApiTest::assertModuleList in drupal/core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php
- Assert that module_list() return the expected values.
- ModuleApiTest::testDependencyResolution in drupal/core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php
- Test dependency resolution.
- ModuleApiTest::testModuleImplements in drupal/core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php
- Test module_implements() caching.
- ModulesDisabledUpgradePathTest::testDisabledUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/ModulesDisabledUpgradePathTest.php
- Tests an upgrade with all non-required modules installed but disabled.
- ModuleTest::assertInstanceHandler in drupal/core/modules/views/lib/Drupal/views/Tests/ModuleTest.php
- Ensure that a certain handler is a instance of a certain table/field.
- ModuleTest::testStatusFunctions in drupal/core/modules/views/lib/Drupal/views/Tests/ModuleTest.php
- Tests view enable and disable procedural wrapper functions.
- ModuleTest::testviews_get_handler in drupal/core/modules/views/lib/Drupal/views/Tests/ModuleTest.php
- Tests the views_get_handler method.
- ModuleTest::test_views_trim_text in drupal/core/modules/views/lib/Drupal/views/Tests/ModuleTest.php
- ModuleTestBase::assertModules in drupal/core/modules/system/lib/Drupal/system/Tests/Module/ModuleTestBase.php
- Assert the list of modules are enabled or disabled.
- MoveTest::testExistingError in drupal/core/modules/file/lib/Drupal/file/Tests/MoveTest.php
- Test that moving onto an existing file fails when FILE_EXISTS_ERROR is
specified.
- MoveTest::testExistingRename in drupal/core/modules/file/lib/Drupal/file/Tests/MoveTest.php
- Test renaming when moving onto a file that already exists.
- MoveTest::testExistingReplace in drupal/core/modules/file/lib/Drupal/file/Tests/MoveTest.php
- Test replacement when moving onto a file that already exists.
- MoveTest::testExistingReplaceSelf in drupal/core/modules/file/lib/Drupal/file/Tests/MoveTest.php
- Test replacement when moving onto itself.
- MoveTest::testNormal in drupal/core/modules/file/lib/Drupal/file/Tests/MoveTest.php
- Move a normal file.
- NestedMatcherTest::testNestedMatcher in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/NestedMatcherTest.php
- Confirms we can nest multiple partial matchers.
- NewDefaultThemeBlocksTest::testNewDefaultThemeBlocks in drupal/core/modules/block/lib/Drupal/block/Tests/NewDefaultThemeBlocksTest.php
- Check the enabled Bartik blocks are correctly copied over.
- NextIdTest::testDbNextId in drupal/core/modules/system/lib/Drupal/system/Tests/Database/NextIdTest.php
- Tests that the sequences API works.
- NodeAccessLanguageTest::assertNodeAccess in drupal/core/modules/node/lib/Drupal/node/Tests/NodeAccessLanguageTest.php
- Asserts node_access correctly grants or denies access.
- NodeAccessRecordsTest::testNodeAccessRecords in drupal/core/modules/node/lib/Drupal/node/Tests/NodeAccessRecordsTest.php
- Creates a node and tests the creation of node access rules.
- NodeAccessTest::assertNodeAccess in drupal/core/modules/node/lib/Drupal/node/Tests/NodeAccessTest.php
- Asserts node_access() correctly grants or denies access.
- NodeAdminTest::testContentAdminSort in drupal/core/modules/node/lib/Drupal/node/Tests/NodeAdminTest.php
- Tests that the table sorting works on the content admin pages.
- NodeEntityViewModeAlterTest::testNodeViewModeChange in drupal/core/modules/node/lib/Drupal/node/Tests/NodeEntityViewModeAlterTest.php
- Create a "Basic page" node and verify its consistency in the database.
- NodeFieldMultilingualTestCase::testMultilingualDisplaySettings in drupal/core/modules/node/lib/Drupal/node/Tests/NodeFieldMultilingualTestCase.php
- NodeLoadHooksTest::testHookNodeLoad in drupal/core/modules/node/lib/Drupal/node/Tests/NodeLoadHooksTest.php
- Tests that hook_node_load() is invoked correctly.
- NodeLoadMultipleTest::testNodeMultipleLoad in drupal/core/modules/node/lib/Drupal/node/Tests/NodeLoadMultipleTest.php
- Creates four nodes and ensures that they are loaded correctly.
- NodePostSettingsTest::testPagePostInfo in drupal/core/modules/node/lib/Drupal/node/Tests/NodePostSettingsTest.php
- Confirms "Basic page" content type and post information is on a new node.
- NodeQueryAlterTest::testNodeQueryAlterLowLevelEditAccess in drupal/core/modules/node/lib/Drupal/node/Tests/NodeQueryAlterTest.php
- Tests 'node_access' query alter, for edit access.
- NodeQueryAlterTest::testNodeQueryAlterLowLevelNoAccess in drupal/core/modules/node/lib/Drupal/node/Tests/NodeQueryAlterTest.php
- Tests 'node_access' query alter, for user without access.
- NodeQueryAlterTest::testNodeQueryAlterLowLevelWithAccess in drupal/core/modules/node/lib/Drupal/node/Tests/NodeQueryAlterTest.php
- Tests 'node_access' query alter, for user with access.
- NodeQueryAlterTest::testNodeQueryAlterOverride in drupal/core/modules/node/lib/Drupal/node/Tests/NodeQueryAlterTest.php
- Tests 'node_access' query alter override.
- NodeQueryAlterTest::testNodeQueryAlterWithUI in drupal/core/modules/node/lib/Drupal/node/Tests/NodeQueryAlterTest.php
- Tests that node access permissions are followed.
- NodeRevisionsTest::testNodeRevisionWithoutLogMessage in drupal/core/modules/node/lib/Drupal/node/Tests/NodeRevisionsTest.php
- Checks that revisions are correctly saved without log messages.
- NodeSaveTest::testDeterminingChanges in drupal/core/modules/node/lib/Drupal/node/Tests/NodeSaveTest.php
- Tests determing changes in hook_node_presave() and verifies the static node
load cache is cleared upon save.
- NodeSaveTest::testImport in drupal/core/modules/node/lib/Drupal/node/Tests/NodeSaveTest.php
- Checks whether custom node IDs are saved properly during an import operation.
- NodeSaveTest::testNodeSaveOnInsert in drupal/core/modules/node/lib/Drupal/node/Tests/NodeSaveTest.php
- Tests saving a node on node insert.
- NodeSaveTest::testTimestamps in drupal/core/modules/node/lib/Drupal/node/Tests/NodeSaveTest.php
- Verifies accuracy of the "created" and "changed" timestamp functionality.
- NodeTitleTest::testNodeTitle in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTitleTest.php
- Creates one node and tests if the node title has the correct value.
- NodeTokenReplaceTest::testNodeTokenReplacement in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTokenReplaceTest.php
- Creates a node, then tests the tokens generated from it.
- NodeTranslationUITest::testDisabledBundle in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php
- Test that no metadata is stored for a disabled bundle.
- NodeTypePersistenceTest::testNodeTypeCustomizationPersistence in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTypePersistenceTest.php
- Tests that node type customizations persist through disable and uninstall.
- NodeTypeTest::testNodeTypeEditing in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTypeTest.php
- Tests editing a node type using the UI.
- NodeTypeTest::testNodeTypeGetFunctions in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTypeTest.php
- Ensures that node type functions (node_type_get_*) work correctly.
- OpenIDFunctionalTest::testLogin in drupal/core/modules/openid/lib/Drupal/openid/Tests/OpenIDFunctionalTest.php
- Test login using OpenID.
- OpenIDRegistrationTest::testRegisterUserWithAXButNoSREG in drupal/core/modules/openid/lib/Drupal/openid/Tests/OpenIDRegistrationTest.php
- Test OpenID auto-registration with a provider that supplies AX information,
but no SREG.
- OpenIDRegistrationTest::testRegisterUserWithEmailVerification in drupal/core/modules/openid/lib/Drupal/openid/Tests/OpenIDRegistrationTest.php
- Test OpenID auto-registration with e-mail verification enabled.
- OpenIDRegistrationTest::testRegisterUserWithInvalidSreg in drupal/core/modules/openid/lib/Drupal/openid/Tests/OpenIDRegistrationTest.php
- Test OpenID auto-registration with a provider that supplies invalid SREG
information (a username that is already taken, and no e-mail address).
- OpenIDRegistrationTest::testRegisterUserWithoutEmailVerification in drupal/core/modules/openid/lib/Drupal/openid/Tests/OpenIDRegistrationTest.php
- Test OpenID auto-registration with e-mail verification disabled.
- OpenIDRegistrationTest::testRegisterUserWithoutSreg in drupal/core/modules/openid/lib/Drupal/openid/Tests/OpenIDRegistrationTest.php
- Test OpenID auto-registration with a provider that does not supply SREG
information (i.e. no username or e-mail address).
- OpenIDTest::testConversion in drupal/core/modules/openid/lib/Drupal/openid/Tests/OpenIDTest.php
- Test _openid_dh_XXX_to_XXX() functions.
- OpenIDTest::testOpenidDhXorsecret in drupal/core/modules/openid/lib/Drupal/openid/Tests/OpenIDTest.php
- Test _openid_dh_xorsecret().
- OpenIDTest::testOpenidExtractNamespace in drupal/core/modules/openid/lib/Drupal/openid/Tests/OpenIDTest.php
- Test openid_extract_namespace().
- OpenIDTest::testOpenidGetBytes in drupal/core/modules/openid/lib/Drupal/openid/Tests/OpenIDTest.php
- Test _openid_get_bytes().
- OpenIDTest::testOpenidNormalize in drupal/core/modules/openid/lib/Drupal/openid/Tests/OpenIDTest.php
- Test openid_normalize().
- OpenIDTest::testOpenidSignature in drupal/core/modules/openid/lib/Drupal/openid/Tests/OpenIDTest.php
- Test _openid_signature().
- OptionsFieldUITest::testOptionsAllowedValuesBoolean in drupal/core/modules/field/modules/options/lib/Drupal/options/Tests/OptionsFieldUITest.php
- Options (boolen) : test 'On/Off' values input.
- OptionsSelectDynamicValuesTest::testSelectListDynamic in drupal/core/modules/field/modules/options/lib/Drupal/options/Tests/OptionsSelectDynamicValuesTest.php
- Tests the 'options_select' widget (single select).
- PageCacheTest::testConditionalRequests in drupal/core/modules/system/lib/Drupal/system/Tests/Bootstrap/PageCacheTest.php
- Tests support of requests with If-Modified-Since and If-None-Match headers.
- PageCacheTest::testPageCache in drupal/core/modules/system/lib/Drupal/system/Tests/Bootstrap/PageCacheTest.php
- Tests cache headers.
- PageCacheTest::testPageCompression in drupal/core/modules/system/lib/Drupal/system/Tests/Bootstrap/PageCacheTest.php
- Tests page compression.
- PageEditTest::testPageEdit in drupal/core/modules/node/lib/Drupal/node/Tests/PageEditTest.php
- Checks node edit functionality.
- PagerTest::testLimit in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/PagerTest.php
- Tests the some pager plugin.
- PagerTest::testNoLimit in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/PagerTest.php
- Tests the none-pager-query.
- PagerTest::testNormalPager in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/PagerTest.php
- Tests the normal pager.
- PagerTest::testPagerApi in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/PagerTest.php
- Test the api functions on the view object.
- PagerTest::testRenderNullPager in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/PagerTest.php
- Tests rendering with NULL pager.
- PagerTest::testViewTotalRowsWithoutPager in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/PagerTest.php
- PageTest::testBatchProgressPageTheme in drupal/core/modules/system/lib/Drupal/system/Tests/Batch/PageTest.php
- Tests that the batch API progress page uses the correct theme.
- ParseInfoFileUnitTest::testParseInfoFile in drupal/core/modules/system/lib/Drupal/system/Tests/Common/ParseInfoFileUnitTest.php
- Parses an example .info file and verifies the results.
- PathLanguageTest::testAliasTranslation in drupal/core/modules/path/lib/Drupal/path/Tests/PathLanguageTest.php
- Test alias functionality through the admin interfaces.
- PathMatcherTest::testExactPathMatch in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/PathMatcherTest.php
- Confirms that we can find routes with the exact incoming path.
- PathMatcherTest::testOutlinePathMatch in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/PathMatcherTest.php
- Confirms that we can find routes whose pattern would match the request.
- PathMatcherTest::testOutlinePathMatchDefaults in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/PathMatcherTest.php
- Confirms that we can find routes whose pattern would match the request.
- PathMatcherTest::testOutlinePathMatchDefaultsCollision in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/PathMatcherTest.php
- Confirms that we can find routes whose pattern would match the request.
- PathMatcherTest::testOutlinePathMatchDefaultsCollision2 in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/PathMatcherTest.php
- Confirms that we can find routes whose pattern would match the request.
- PathMatcherTest::testOutlinePathMatchTrailingSlash in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/PathMatcherTest.php
- Confirms that a trailing slash on the request doesn't result in a 404.
- PathMatcherTest::testSystemPathMatch in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/PathMatcherTest.php
- Confirms that system_path attribute overrides request path.
- PhpTestBase::setUp in drupal/core/modules/php/lib/Drupal/php/Tests/PhpTestBase.php
- Sets up a Drupal site for running functional and integration tests.
- PictureFieldDisplayTest::_testPictureFieldFormatters in drupal/core/modules/picture/lib/Drupal/picture/Tests/PictureFieldDisplayTest.php
- Test picture formatters on node display.
- PollCreateTest::testPollCreate in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollCreateTest.php
- Tests creating, listing, editing a new poll.
- PollTestBase::assertPollChoiceOrder in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollTestBase.php
- Asserts correct poll choice order in the node form after submission.
- PollTokenReplaceTest::testPollTokenReplacement in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollTokenReplaceTest.php
- Creates a poll, then tests the tokens generated from it.
- PollVoteCheckHostnameTest::testHostnamePollVote in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollVoteCheckHostnameTest.php
- Checks that anonymous users with the same IP address can only vote once.
- PreviewTest::testPreviewUI in drupal/core/modules/views/lib/Drupal/views/Tests/UI/PreviewTest.php
- Tests arguments in the preview form.
- ProcessingTest::testBatchForm in drupal/core/modules/system/lib/Drupal/system/Tests/Batch/ProcessingTest.php
- Tests batches defined in a form submit handler.
- ProcessingTest::testBatchFormMultipleBatches in drupal/core/modules/system/lib/Drupal/system/Tests/Batch/ProcessingTest.php
- Tests batches defined in different submit handlers on the same form.
- ProcessingTest::testBatchFormMultistep in drupal/core/modules/system/lib/Drupal/system/Tests/Batch/ProcessingTest.php
- Tests batches defined in a multistep form.
- ProcessingTest::testBatchFormProgrammatic in drupal/core/modules/system/lib/Drupal/system/Tests/Batch/ProcessingTest.php
- Tests batches defined in a programmatically submitted form.
- ProcessingTest::testBatchLargePercentage in drupal/core/modules/system/lib/Drupal/system/Tests/Batch/ProcessingTest.php
- Tests batches that return $context['finished'] > 1 do in fact complete.
- ProcessingTest::testBatchNoForm in drupal/core/modules/system/lib/Drupal/system/Tests/Batch/ProcessingTest.php
- Tests batches triggered outside of form submission.
- ProcessingTest::testDrupalFormSubmitInBatch in drupal/core/modules/system/lib/Drupal/system/Tests/Batch/ProcessingTest.php
- Tests that drupal_form_submit() can run within a batch operation.
- QueryGroupByTest::GroupByTestHelper in drupal/core/modules/views/lib/Drupal/views/Tests/QueryGroupByTest.php
- QueryGroupByTest::testAggregateCount in drupal/core/modules/views/lib/Drupal/views/Tests/QueryGroupByTest.php
- Tests aggregate count feature.
- QueryTest::testArraySubstitution in drupal/core/modules/system/lib/Drupal/system/Tests/Database/QueryTest.php
- Tests that we can pass an array of values directly in the query.
- QueryTest::testQueryUI in drupal/core/modules/views/lib/Drupal/views/Tests/UI/QueryTest.php
- Tests query plugins settings.
- QueueTest::queueTest in drupal/core/modules/system/lib/Drupal/system/Tests/Queue/QueueTest.php
- Queues and dequeues a set of items to check the basic queue functionality.
- RangeQueryTest::testRangeQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Database/RangeQueryTest.php
- Confirms that range queries work and return the correct result.
- RdfaMarkupTest::testDrupalRdfaAttributes in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/RdfaMarkupTest.php
- Tests rdf_rdfa_attributes().
- ReadTest::testRead in drupal/core/modules/rest/lib/Drupal/rest/Tests/ReadTest.php
- Tests several valid and invalid read requests on all entity types.
- RebuildTest::testMenuRebuildByVariable in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/RebuildTest.php
- Test if the 'menu_rebuild_needed' variable triggers a menu_rebuild() call.
- RegionContentTest::testRegions in drupal/core/modules/system/lib/Drupal/system/Tests/Common/RegionContentTest.php
- Tests setting and retrieving content for theme regions.
- RenderTest::testDrupalRenderThemeArguments in drupal/core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php
- Tests passing arguments to the theme function.
- ResettableStaticUnitTest::testDrupalStatic in drupal/core/modules/system/lib/Drupal/system/Tests/Bootstrap/ResettableStaticUnitTest.php
- Tests drupal_static() function.
- RetrieveFileTest::testFileRetrieving in drupal/core/modules/system/lib/Drupal/system/Tests/System/RetrieveFileTest.php
- Invokes system_retrieve_file() in several scenarios.
- RouterTest::testMenuHidden in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/RouterTest.php
- Tests menu link depth and parents of local tasks and menu callbacks.
- RouterTest::testMenuHierarchy in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/RouterTest.php
- Tests for menu hierarchy.
- RouterTest::testMenuItemHooks in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/RouterTest.php
- Test menu maintenance hooks.
- RouterTest::testMenuName in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/RouterTest.php
- Tests for menu_name parameter for hook_menu().
- RouterTest::testMenuSetItem in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/RouterTest.php
- Test menu_set_item().
- RouteTest::testCompilation in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteTest.php
- Confirms that a route compiles properly with the necessary data.
- RouteTest::testCompilationDefaultValue in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteTest.php
- Confirms that a compiled route with default values has the correct outline.
- RowUITest::testRowUI in drupal/core/modules/views/lib/Drupal/views/Tests/UI/RowUITest.php
- Tests changing the row plugin and changing some options of a row.
- SaveDataTest::testExistingError in drupal/core/modules/file/lib/Drupal/file/Tests/SaveDataTest.php
- Test that file_save_data() fails overwriting an existing file.
- SaveDataTest::testExistingRename in drupal/core/modules/file/lib/Drupal/file/Tests/SaveDataTest.php
- Test file_save_data() when renaming around an existing file.
- SaveDataTest::testExistingReplace in drupal/core/modules/file/lib/Drupal/file/Tests/SaveDataTest.php
- Test file_save_data() when replacing an existing file.
- SaveDataTest::testWithFilename in drupal/core/modules/file/lib/Drupal/file/Tests/SaveDataTest.php
- Test the file_save_data() function when a filename is provided.
- SaveDataTest::testWithoutFilename in drupal/core/modules/file/lib/Drupal/file/Tests/SaveDataTest.php
- Test the file_save_data() function when no filename is provided.
- SaveTest::testFileSave in drupal/core/modules/file/lib/Drupal/file/Tests/SaveTest.php
- SaveUploadTest::testNormal in drupal/core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php
- Test the file_save_upload() function.
- ScanDirectoryTest::testOptionCallback in drupal/core/modules/system/lib/Drupal/system/Tests/File/ScanDirectoryTest.php
- Check that the callback function is called correctly.
- ScanDirectoryTest::testOptionKey in drupal/core/modules/system/lib/Drupal/system/Tests/File/ScanDirectoryTest.php
- Check that key parameter sets the return value's key.
- ScanDirectoryTest::testOptionMinDepth in drupal/core/modules/system/lib/Drupal/system/Tests/File/ScanDirectoryTest.php
- Check that the min_depth options lets us ignore files in the starting
directory.
- ScanDirectoryTest::testOptionNoMask in drupal/core/modules/system/lib/Drupal/system/Tests/File/ScanDirectoryTest.php
- Check that the no-mask parameter is honored.
- ScanDirectoryTest::testOptionRecurse in drupal/core/modules/system/lib/Drupal/system/Tests/File/ScanDirectoryTest.php
- Check that the recurse option decends into subdirectories.
- ScanDirectoryTest::testReturn in drupal/core/modules/system/lib/Drupal/system/Tests/File/ScanDirectoryTest.php
- Check the format of the returned values.
- SchemaTest::assertFieldCharacteristics in drupal/core/modules/system/lib/Drupal/system/Tests/Common/SchemaTest.php
- Asserts that a newly added field has the correct characteristics.
- SchemaTest::checkSchemaComment in drupal/core/modules/system/lib/Drupal/system/Tests/Common/SchemaTest.php
- Checks that a table or column comment matches a given description.
- SchemaTest::testSchema in drupal/core/modules/system/lib/Drupal/system/Tests/Common/SchemaTest.php
- Tests database interactions.
- SearchBlockTest::testBlock in drupal/core/modules/search/lib/Drupal/search/Tests/SearchBlockTest.php
- Test that the search block form works correctly.
- SearchConfigSettingsFormTest::testSearchModuleDisabling in drupal/core/modules/search/lib/Drupal/search/Tests/SearchConfigSettingsFormTest.php
- Verify that you can disable individual search modules.
- SearchEmbedFormTest::testEmbeddedForm in drupal/core/modules/search/lib/Drupal/search/Tests/SearchEmbedFormTest.php
- Tests that the embedded form appears and can be submitted.
- SearchExcerptTest::testSearchExcerpt in drupal/core/modules/search/lib/Drupal/search/Tests/SearchExcerptTest.php
- Tests search_excerpt() with several simulated search keywords.
- SearchExpressionInsertExtractTest::testInsertExtract in drupal/core/modules/search/lib/Drupal/search/Tests/SearchExpressionInsertExtractTest.php
- Tests search_expression_insert() and search_expression_extract().
- SearchLanguageTest::testLanguages in drupal/core/modules/search/lib/Drupal/search/Tests/SearchLanguageTest.php
- SearchMatchTest::_testQueryMatching in drupal/core/modules/search/lib/Drupal/search/Tests/SearchMatchTest.php
- Test the matching abilities of the engine.
- SearchMatchTest::_testQueryScores in drupal/core/modules/search/lib/Drupal/search/Tests/SearchMatchTest.php
- Test the scoring abilities of the engine.
- SearchMultilingualEntityTest::testIndexingThrottle in drupal/core/modules/search/lib/Drupal/search/Tests/SearchMultilingualEntityTest.php
- Tests for indexing throttle with nodes in multiple languages.
- SearchRankingTest::testDoubleRankings in drupal/core/modules/search/lib/Drupal/search/Tests/SearchRankingTest.php
- Verifies that if we combine two rankings, search still works.
- SearchRankingTest::testHTMLRankings in drupal/core/modules/search/lib/Drupal/search/Tests/SearchRankingTest.php
- Test rankings of HTML tags.
- SearchRankingTest::testRankings in drupal/core/modules/search/lib/Drupal/search/Tests/SearchRankingTest.php
- SearchSimplifyTest::testSearchSimplifyPunctuation in drupal/core/modules/search/lib/Drupal/search/Tests/SearchSimplifyTest.php
- Tests that search_simplify() does the right thing with punctuation.
- SearchTokenizerTest::testNoTokenizer in drupal/core/modules/search/lib/Drupal/search/Tests/SearchTokenizerTest.php
- Verifies that strings of non-CJK characters are not tokenized.
- SearchTokenizerTest::testTokenizer in drupal/core/modules/search/lib/Drupal/search/Tests/SearchTokenizerTest.php
- Verifies that strings of CJK characters are tokenized.
- SelectComplexTest::testCountQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Tests that we can generate a count query from a built query.
- SelectComplexTest::testCountQueryDistinct in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Tests that we can generate a count query from a query with distinct.
- SelectComplexTest::testCountQueryFieldRemovals in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Tests that countQuery properly removes fields and expressions.
- SelectComplexTest::testCountQueryGroupBy in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Tests that we can generate a count query from a query with GROUP BY.
- SelectComplexTest::testCountQueryRemovals in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Tests that countQuery removes 'all_fields' statements and ordering clauses.
- SelectComplexTest::testDefaultJoin in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Tests simple JOIN statements.
- SelectComplexTest::testDistinct in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Tests distinct queries.
- SelectComplexTest::testGroupBy in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Tests GROUP BY clauses.
- SelectComplexTest::testGroupByAndHaving in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Tests GROUP BY and HAVING clauses together.
- SelectComplexTest::testHavingCountQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Tests having queries.
- SelectComplexTest::testJoinTwice in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Confirms we can join on a single table twice with a dynamic alias.
- SelectComplexTest::testLeftOuterJoin in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Tests LEFT OUTER joins.
- SelectComplexTest::testNestedConditions in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Confirms that we can properly nest conditional clauses.
- SelectComplexTest::testRange in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Tests range queries.
- SelectOrderedTest::testSimpleSelectMultiOrdered in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectOrderedTest.php
- Tests multiple ORDER BY.
- SelectOrderedTest::testSimpleSelectOrdered in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectOrderedTest.php
- Tests basic ORDER BY.
- SelectOrderedTest::testSimpleSelectOrderedDesc in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectOrderedTest.php
- Tests ORDER BY descending.
- SelectPagerDefaultTest::testElementNumbers in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectPagerDefaultTest.php
- Confirms that every pager gets a valid, non-overlaping element ID.
- SelectPagerDefaultTest::testEvenPagerQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectPagerDefaultTest.php
- Confirms that a pager query returns the correct results.
- SelectPagerDefaultTest::testHavingPagerQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectPagerDefaultTest.php
- Confirms that a paging query results with a having expression are valid.
- SelectPagerDefaultTest::testInnerPagerQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectPagerDefaultTest.php
- Confirms that a pager query results with an inner pager query are valid.
- SelectPagerDefaultTest::testOddPagerQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectPagerDefaultTest.php
- Confirms that a pager query returns the correct results.
- SelectSubqueryTest::testConditionSubquerySelect in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectSubqueryTest.php
- Tests that we can use a subquery in a WHERE clause.
- SelectSubqueryTest::testExistsSubquerySelect in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectSubqueryTest.php
- Tests EXISTS subquery conditionals on SELECT statements.
- SelectSubqueryTest::testFromSubquerySelect in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectSubqueryTest.php
- Tests that we can use a subquery in a FROM clause.
- SelectSubqueryTest::testFromSubquerySelectWithLimit in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectSubqueryTest.php
- Tests that we can use a subquery in a FROM clause with a LIMIT.
- SelectSubqueryTest::testJoinSubquerySelect in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectSubqueryTest.php
- Tests that we can use a subquery in a JOIN clause.
- SelectSubqueryTest::testNotExistsSubquerySelect in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectSubqueryTest.php
- Tests NOT EXISTS subquery conditionals on SELECT statements.
- SelectTableSortDefaultTest::testTableSortQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTableSortDefaultTest.php
- Confirms that a tablesort query returns the correct results.
- SelectTableSortDefaultTest::testTableSortQueryFirst in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTableSortDefaultTest.php
- Confirms precedence of tablesorts headers.
- SelectTest::testIsNotNullCondition in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests that we can find a record without a NULL value.
- SelectTest::testIsNullCondition in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests that we can find a record with a NULL value.
- SelectTest::testNullCondition in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests that a comparison with NULL is always FALSE.
- SelectTest::testRandomOrder in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests that random ordering of queries works.
- SelectTest::testSimpleComment in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests rudimentary SELECT statement with a COMMENT.
- SelectTest::testSimpleSelect in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests rudimentary SELECT statements.
- SelectTest::testSimpleSelectAllFields in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests adding all fields from a given table to a SELECT statement.
- SelectTest::testSimpleSelectConditional in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests basic conditionals on SELECT statements.
- SelectTest::testSimpleSelectExpression in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests SELECT statements with expressions.
- SelectTest::testSimpleSelectExpressionMultiple in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests SELECT statements with multiple expressions.
- SelectTest::testSimpleSelectMultipleFields in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests adding multiple fields to a SELECT statement at the same time.
- SelectTest::testUnion in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests that we can UNION multiple Select queries together.
- SelectTest::testUnionAll in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests that we can UNION ALL multiple SELECT queries together.
- SelectTest::testUnionCount in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests that we can get a count query for a UNION Select query.
- SelectTest::testVulnerableComment in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectTest.php
- Tests query COMMENT system against vulnerabilities.
- SerializeQueryTest::testSerializeQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SerializeQueryTest.php
- Confirms that a query can be serialized and unserialized.
- SessionHttpsTest::testHttpsSession in drupal/core/modules/system/lib/Drupal/system/Tests/Session/SessionHttpsTest.php
- SessionTest::testEmptyAnonymousSession in drupal/core/modules/system/lib/Drupal/system/Tests/Session/SessionTest.php
- Test that empty anonymous sessions are destroyed.
- SessionTest::testSessionWrite in drupal/core/modules/system/lib/Drupal/system/Tests/Session/SessionTest.php
- Test that sessions are only saved when necessary.
- SettingsTest::testEditUI in drupal/core/modules/views/lib/Drupal/views/Tests/UI/SettingsTest.php
- Tests the settings for the edit ui.
- ShortcutSetsTest::testShortcutSetSwitchCreate in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutSetsTest.php
- Tests switching a user's shortcut set and creating one at the same time.
- ShortcutSetsTest::testShortcutSetSwitchNoSetName in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutSetsTest.php
- Tests switching a user's shortcut set without providing a new set name.
- SimpleTestErrorCollectorTest::assertError in drupal/core/modules/system/lib/Drupal/system/Tests/Common/SimpleTestErrorCollectorTest.php
- Asserts that a collected error matches what we are expecting.
- SimpleTestErrorCollectorTest::testErrorCollect in drupal/core/modules/system/lib/Drupal/system/Tests/Common/SimpleTestErrorCollectorTest.php
- Tests that simpletest collects errors from the tested site.
- SimpleTestTest::confirmStubTestResults in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
- Confirm that the stub test produced the desired results.
- SimpleTestTest::testInternalBrowser in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
- Test the internal browsers functionality.
- SizeUnitTest::testCommonFormatSize in drupal/core/modules/system/lib/Drupal/system/Tests/Common/SizeUnitTest.php
- Checks that format_size() returns the expected string.
- SizeUnitTest::testCommonParseSize in drupal/core/modules/system/lib/Drupal/system/Tests/Common/SizeUnitTest.php
- Checks that parse_size() returns the proper byte sizes.
- SizeUnitTest::testCommonParseSizeFormatSize in drupal/core/modules/system/lib/Drupal/system/Tests/Common/SizeUnitTest.php
- Cross-tests parse_size() and format_size().
- SortDateTest::testDateOrdering in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/SortDateTest.php
- Tests numeric ordering of the result set.
- SortRandomTest::testRandomOrdering in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/SortRandomTest.php
- Tests random ordering of the result set.
- SortTest::testNumericOrdering in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/SortTest.php
- Tests numeric ordering of the result set.
- SortTest::testStringOrdering in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/SortTest.php
- Tests string ordering of the result set.
- SpaceUsedTest::testFileSpaceUsed in drupal/core/modules/file/lib/Drupal/file/Tests/SpaceUsedTest.php
- Test different users with the default status.
- StateValuesCleanTest::testFormStateValuesClean in drupal/core/modules/system/lib/Drupal/system/Tests/Form/StateValuesCleanTest.php
- Tests form_state_values_clean().
- StatisticsAdminTest::testDeleteNode in drupal/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsAdminTest.php
- Tests that when a node is deleted, the node counter is deleted too.
- StatisticsLoggingTest::testLogging in drupal/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsLoggingTest.php
- Verifies request logging for cached and uncached pages.
- StatisticsTokenReplaceTest::testStatisticsTokenReplacement in drupal/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsTokenReplaceTest.php
- Creates a node, then tests the statistics tokens generated from it.
- StorageTest::testDetails in drupal/core/modules/views/lib/Drupal/views/Tests/UI/StorageTest.php
- Tests changing human_name, description and tag.
- StorageTestBase::testCRUD in drupal/core/modules/system/lib/Drupal/system/Tests/KeyValueStore/StorageTestBase.php
- Tests CRUD operations.
- StorageTestBase::testSetIfNotExists in drupal/core/modules/system/lib/Drupal/system/Tests/KeyValueStore/StorageTestBase.php
- Tests the setIfNotExists() method.
- StreamWrapperTest::testGetClassName in drupal/core/modules/system/lib/Drupal/system/Tests/File/StreamWrapperTest.php
- Test the getClassName() function.
- StreamWrapperTest::testGetInstanceByScheme in drupal/core/modules/system/lib/Drupal/system/Tests/File/StreamWrapperTest.php
- Test the file_stream_wrapper_get_instance_by_scheme() function.
- StreamWrapperTest::testGetValidStreamScheme in drupal/core/modules/system/lib/Drupal/system/Tests/File/StreamWrapperTest.php
- Test the scheme functions.
- StreamWrapperTest::testUriFunctions in drupal/core/modules/system/lib/Drupal/system/Tests/File/StreamWrapperTest.php
- Test the URI and target functions.
- StyleTest::testGroupingLegacy in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTest.php
- Tests the grouping legacy features of styles.
- StyleTest::_testGrouping in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTest.php
- Tests the grouping features of styles.
- StyleUITest::testStyleUI in drupal/core/modules/views/lib/Drupal/views/Tests/UI/StyleUITest.php
- Tests changing the style plugin and changing some options of a style.
- SystemConfigFormBase::testConfigForm in drupal/core/modules/system/lib/Drupal/system/Tests/System/SystemConfigFormBase.php
- Submit the system_config_form ensure the configuration has expected values.
- SystemListingTest::testDirectoryPrecedence in drupal/core/modules/system/lib/Drupal/system/Tests/Common/SystemListingTest.php
- Tests that files in different directories take precedence as expected.
- SystemUpgradePathTest::testVariableUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/SystemUpgradePathTest.php
- Tests upgrade of variables to config.
- TableSortExtenderUnitTest::testTableSortInit in drupal/core/modules/system/lib/Drupal/system/Tests/Common/TableSortExtenderUnitTest.php
- Tests tablesort_init().
- TaggingTest::testMetaData in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TaggingTest.php
- Tests that we can attach metadata to a query object.
- TagTest::testViewsUiAutocompleteTag in drupal/core/modules/views/lib/Drupal/views/Tests/UI/TagTest.php
- Tests the views_ui_autocomplete_tag function.
- TaxonomyTermReferenceItemTest::testTaxonomyTermReferenceItem in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TaxonomyTermReferenceItemTest.php
- Tests using entity fields of the taxonomy term reference field type.
- TemporaryQueryTest::testTemporaryQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TemporaryQueryTest.php
- Confirms that temporary tables work and are limited to one request.
- TempStoreDatabaseTest::testUserTempStore in drupal/core/modules/user/lib/Drupal/user/Tests/TempStoreDatabaseTest.php
- Tests the UserTempStore API.
- TermFieldMultipleVocabularyTest::testTaxonomyTermFieldMultipleVocabularies in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermFieldMultipleVocabularyTest.php
- Tests term reference field and widget with multiple vocabularies.
- TermFieldTest::testTaxonomyTermFieldChangeMachineName in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermFieldTest.php
- Tests that vocabulary machine name changes are mirrored in field definitions.
- TermIndexTest::testTaxonomyIndex in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermIndexTest.php
- Tests that the taxonomy index is maintained properly.
- TermLanguageTest::testTermLanguage in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermLanguageTest.php
- TermTest::testNodeTermCreationAndDeletion in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTest.php
- Test term creation with a free-tagging vocabulary from the node form.
- TermTest::testTaxonomyGetTermByName in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTest.php
- Test taxonomy_term_load_multiple_by_name().
- TermTest::testTaxonomyTermHierarchy in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTest.php
- Test terms in a single and multiple hierarchy.
- TermTest::testTermAutocompletion in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTest.php
- Tests term autocompletion edge cases with slashes in the names.
- TermTest::testTermMultipleParentsInterface in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTest.php
- Test saving a term with multiple parents through the UI.
- TermTest::testTermReorder in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTest.php
- Save, edit and delete a term using the user interface.
- TermTranslationUITest::testTranslationUI in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php
- Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::testTranslationUI().
- TermUnitTest::testTaxonomyVocabularyTree in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermUnitTest.php
- Test a taxonomy with terms that have multiple parents of different depths.
- ThemeTest::testFindThemeTemplates in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php
- Tests drupal_find_theme_templates().
- ThemeTest::testSwitchDefaultTheme in drupal/core/modules/system/lib/Drupal/system/Tests/System/ThemeTest.php
- Test switching the default theme.
- ThemeTest::testThemeSettings in drupal/core/modules/system/lib/Drupal/system/Tests/System/ThemeTest.php
- Test the theme settings form.
- ThemeTest::testThemeSuggestions in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php
- Test function theme_get_suggestions() for SA-CORE-2009-003.
- ThemeTestTwig::testFindThemeTemplates in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTestTwig.php
- Tests drupal_find_theme_templates
- TimerUnitTest::testTimer in drupal/core/modules/system/lib/Drupal/system/Tests/Bootstrap/TimerUnitTest.php
- Tests timer_read() time accumulation accuracy across multiple restarts.
- TokenReplaceTest::testSystemDateTokenReplacement in drupal/core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php
- Tests the generation of all system date tokens.
- TokenReplaceTest::testSystemSiteTokenReplacement in drupal/core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php
- Tests the generation of all system site information tokens.
- TokenReplaceTest::testTaxonomyTokenReplacement in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TokenReplaceTest.php
- Creates some terms and a node, then tests the tokens generated from them.
- TokenReplaceTest::testTokenReplacement in drupal/core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php
- Creates a user and a node, then tests the tokens generated from them.
- ToolkitTest::testCrop in drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitTest.php
- Test the image_crop() function.
- ToolkitTest::testDesaturate in drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitTest.php
- Test the image_desaturate() function.
- ToolkitTest::testLoad in drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitTest.php
- Test the image_load() function.
- ToolkitTest::testResize in drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitTest.php
- Test the image_resize() function.
- ToolkitTest::testRotate in drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitTest.php
- Test the image_rotate() function.
- ToolkitTest::testScale in drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitTest.php
- Test the image_scale() function.
- ToolkitTest::testScaleAndCrop in drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitTest.php
- Test the image_scale_and_crop() function.
- TrailTest::testCustom403And404Pages in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/TrailTest.php
- Tests that the active trail works correctly on custom 403 and 404 pages.
- TranslationTest::testContentTranslation in drupal/core/modules/translation/lib/Drupal/translation/Tests/TranslationTest.php
- Creates, modifies, and updates a basic page with a translation.
- TranslationTest::testFieldDisplayLanguage in drupal/core/modules/field/lib/Drupal/field/Tests/TranslationTest.php
- Tests display language logic for translatable fields.
- TranslationTest::testFieldInvoke in drupal/core/modules/field/lib/Drupal/field/Tests/TranslationTest.php
- Test the multilanguage logic of _field_invoke().
- TranslationTest::testFieldInvokeMultiple in drupal/core/modules/field/lib/Drupal/field/Tests/TranslationTest.php
- Test the multilanguage logic of _field_invoke_multiple().
- TreeOutputTest::testMenuTreeData in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/TreeOutputTest.php
- Validate the generation of a proper menu tree output.
- TwigReferenceUnitTest::testTwigReference in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/TwigReferenceUnitTest.php
- Test function for TwigReference class
- TwigReferenceUnitTest::testTwigReferenceFunctions in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/TwigReferenceUnitTest.php
- Test function for TwigReferenceFunctions class
- TypedDataTest::testGetAndSet in drupal/core/modules/system/lib/Drupal/system/Tests/TypedData/TypedDataTest.php
- Tests the basics around constructing and working with data wrappers.
- UnicodeUnitTest::helperTestStrLen in drupal/core/modules/system/lib/Drupal/system/Tests/System/UnicodeUnitTest.php
- UnicodeUnitTest::helperTestStrToLower in drupal/core/modules/system/lib/Drupal/system/Tests/System/UnicodeUnitTest.php
- UnicodeUnitTest::helperTestStrToUpper in drupal/core/modules/system/lib/Drupal/system/Tests/System/UnicodeUnitTest.php
- UnicodeUnitTest::helperTestSubStr in drupal/core/modules/system/lib/Drupal/system/Tests/System/UnicodeUnitTest.php
- UnicodeUnitTest::helperTestUcFirst in drupal/core/modules/system/lib/Drupal/system/Tests/System/UnicodeUnitTest.php
- UnicodeUnitTest::runTruncateTests in drupal/core/modules/system/lib/Drupal/system/Tests/System/UnicodeUnitTest.php
- Runs test cases for helperTestTruncate().
- UnicodeUnitTest::testDecodeEntities in drupal/core/modules/system/lib/Drupal/system/Tests/System/UnicodeUnitTest.php
- Test decode_entities().
- UninstallTest::testUserPermsUninstalled in drupal/core/modules/system/lib/Drupal/system/Tests/Module/UninstallTest.php
- Tests the hook_modules_uninstalled() of the user module.
- UnmanagedCopyTest::testNormal in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedCopyTest.php
- Copy a normal file.
- UnmanagedMoveTest::testNormal in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedMoveTest.php
- Move a normal file.
- UnmanagedSaveDataTest::testFileSaveData in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedSaveDataTest.php
- Test the file_unmanaged_save_data() function.
- UpdateComplexTest::testSubSelectUpdate in drupal/core/modules/system/lib/Drupal/system/Tests/Database/UpdateComplexTest.php
- Test UPDATE with a subselect value.
- UpdateComplexTest::testUpdateExpression in drupal/core/modules/system/lib/Drupal/system/Tests/Database/UpdateComplexTest.php
- Tests UPDATE with expression values.
- UpdateComplexTest::testUpdateOnlyExpression in drupal/core/modules/system/lib/Drupal/system/Tests/Database/UpdateComplexTest.php
- Tests UPDATE with only expression values.
- UpdateCoreTest::testFetchTasks in drupal/core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php
- Tests that exactly one fetch task per project is created and not more.
- UpdateCoreUnitTest::testUpdateBuildFetchUrl in drupal/core/modules/update/lib/Drupal/update/Tests/UpdateCoreUnitTest.php
- Tests that _update_build_fetch_url() builds the URL correctly.
- UpdateFeedTest::testUpdateFeed in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/UpdateFeedTest.php
- Create a feed and attempt to update it.
- UpdateScriptTest::testThemeSystem in drupal/core/modules/system/lib/Drupal/system/Tests/Update/UpdateScriptTest.php
- Tests the effect of using the update script on the theme system.
- UrlRewritingTest::testPublicCreatedFileURL in drupal/core/modules/system/lib/Drupal/system/Tests/File/UrlRewritingTest.php
- Test the generating of rewritten public created file URLs.
- UrlRewritingTest::testShippedFileURL in drupal/core/modules/system/lib/Drupal/system/Tests/File/UrlRewritingTest.php
- Test the generating of rewritten shipped file URLs.
- UrlTest::testDrupalGetQueryParameters in drupal/core/modules/system/lib/Drupal/system/Tests/Common/UrlTest.php
- Tests drupal_get_query_parameters().
- UrlTest::testDrupalHttpBuildQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Common/UrlTest.php
- Tests drupal_http_build_query().
- UrlTest::testDrupalParseUrl in drupal/core/modules/system/lib/Drupal/system/Tests/Common/UrlTest.php
- Tests drupal_parse_url().
- UrlTest::testExternalUrls in drupal/core/modules/system/lib/Drupal/system/Tests/Common/UrlTest.php
- Tests external URL handling.
- UrlTest::testFormUrl in drupal/core/modules/system/lib/Drupal/system/Tests/Form/UrlTest.php
- Tests that #type 'url' fields are properly validated and trimmed.
- UrlTest::testUrl in drupal/core/modules/system/lib/Drupal/system/Tests/Common/UrlTest.php
- Tests url() functionality.
- UsageTest::testAddUsage in drupal/core/modules/file/lib/Drupal/file/Tests/UsageTest.php
- Tests file_usage()->add().
- UsageTest::testGetUsage in drupal/core/modules/file/lib/Drupal/file/Tests/UsageTest.php
- Tests file_usage()->listUsage().
- UsageTest::testRemoveUsage in drupal/core/modules/file/lib/Drupal/file/Tests/UsageTest.php
- Tests file_usage()->delete().
- UserAccountLinksTests::testAccountPageTitles in drupal/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php
- Tests page title is set correctly on user account tabs.
- UserAccountLinksTests::testDisabledAccountLink in drupal/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php
- Tests disabling the 'My account' link.
- UserAccountLinksTests::testSecondaryMenu in drupal/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php
- Tests the secondary menu.
- UserAdminTest::testUserAdmin in drupal/core/modules/user/lib/Drupal/user/Tests/UserAdminTest.php
- Registers a user and deletes it.
- UserBlocksTests::testUserLoginBlock in drupal/core/modules/user/lib/Drupal/user/Tests/UserBlocksTests.php
- Test the user login block.
- UserCancelTest::testMassUserCancelByAdmin in drupal/core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php
- Create an administrative user and mass-delete other users.
- UserCancelTest::testUserCancelUid1 in drupal/core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php
- Tests that user account for uid 1 cannot be cancelled.
- UserCreateTest::testUserAdd in drupal/core/modules/user/lib/Drupal/user/Tests/UserCreateTest.php
- Create a user through the administration interface and ensure that it
displays in the user list.
- UserEntityCallbacksTest::testLabelCallback in drupal/core/modules/user/lib/Drupal/user/Tests/UserEntityCallbacksTest.php
- Test label callback.
- UserEntityCallbacksTest::testUriCallback in drupal/core/modules/user/lib/Drupal/user/Tests/UserEntityCallbacksTest.php
- Test URI callback.
- UserLanguageCreationTest::testLocalUserCreation in drupal/core/modules/user/lib/Drupal/user/Tests/UserLanguageCreationTest.php
- Functional test for language handling during user creation.
- UserPictureUpgradePathTest::testUserPictureUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/UserPictureUpgradePathTest.php
- Tests expected user picture conversions after a successful upgrade.
- UserRegistrationTest::testRegistrationDefaultValues in drupal/core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php
- UserRegistrationTest::testRegistrationWithUserFields in drupal/core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php
- Tests Field API fields on user registration forms.
- UserRoleAdminTest::testRoleAdministration in drupal/core/modules/user/lib/Drupal/user/Tests/UserRoleAdminTest.php
- Test adding, renaming and deleting roles.
- UserTokenReplaceTest::testUserTokenReplacement in drupal/core/modules/user/lib/Drupal/user/Tests/UserTokenReplaceTest.php
- Creates a user, then tests the tokens generated from it.
- ValidateTest::testCallerValidation in drupal/core/modules/file/lib/Drupal/file/Tests/ValidateTest.php
- Test that the validators passed into are checked.
- ValidatorTest::testFileValidateExtensions in drupal/core/modules/file/lib/Drupal/file/Tests/ValidatorTest.php
- Test the file_validate_extensions() function.
- ValidatorTest::testFileValidateImageResolution in drupal/core/modules/file/lib/Drupal/file/Tests/ValidatorTest.php
- This ensures the resolution of a specific file is within bounds.
The image will be resized if it's too large.
- ValidatorTest::testFileValidateIsImage in drupal/core/modules/file/lib/Drupal/file/Tests/ValidatorTest.php
- This ensures a specific file is actually an image.
- ValidatorTest::testFileValidateNameLength in drupal/core/modules/file/lib/Drupal/file/Tests/ValidatorTest.php
- This will ensure the filename length is valid.
- ValidatorTest::testFileValidateSize in drupal/core/modules/file/lib/Drupal/file/Tests/ValidatorTest.php
- Test file_validate_size().
- VersionTest::testModuleVersions in drupal/core/modules/system/lib/Drupal/system/Tests/Module/VersionTest.php
- Test version dependencies.
- ViewElementTest::testViewElement in drupal/core/modules/views/lib/Drupal/views/Tests/ViewElementTest.php
- Tests the rendered output and form output of a view element.
- ViewExecutableTest::assertViewDestroy in drupal/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php
- ViewExecutableTest::testDisplays in drupal/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php
- Tests the display related methods and properties.
- ViewExecutableTest::testValidate in drupal/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php
- ViewExecutableTest::testViewsHandlerTypes in drupal/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php
- Tests ViewExecutable::viewsHandlerTypes().
- ViewsDataTest::testViewsFetchData in drupal/core/modules/views/lib/Drupal/views/Tests/ViewsDataTest.php
- Tests the views_fetch_data function.
- ViewsDataTest::testViewsFetchFields in drupal/core/modules/views/lib/Drupal/views/Tests/ViewsDataTest.php
- Tests the views_fetch_fields function().
- ViewStorageTest::displayMethodTests in drupal/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php
- Tests the display related functions like getDisplaysList().
- ViewStorageTest::displayTests in drupal/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php
- Tests adding, saving, and loading displays on configuration entities.
- ViewStorageTest::loadTests in drupal/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php
- Tests loading configuration entities.
- ViewStorageTest::testCreateDuplicate in drupal/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php
- Tests the createDuplicate() View method.
- VocabularyLanguageTest::testVocabularyDefaultLanguageForTerms in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/VocabularyLanguageTest.php
- Tests term language settings for vocabulary terms are saved and updated.
- VocabularyTest::testTaxonomyAdminChangingWeights in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/VocabularyTest.php
- Changing weights on the vocabulary overview with two or more vocabularies.
- VocabularyUnitTest::testTaxonomyVocabularyDeleteWithTerms in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/VocabularyUnitTest.php
- Test deleting a taxonomy that contains terms.
- VocabularyUnitTest::testTaxonomyVocabularyLoadMultiple in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/VocabularyUnitTest.php
- Tests for loading multiple vocabularies.
- VocabularyUnitTest::testTaxonomyVocabularyLoadReturnFalse in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/VocabularyUnitTest.php
- Ensure that when an invalid vocabulary vid is loaded, it is possible
to load the same vid successfully if it subsequently becomes valid.
- VocabularyUnitTest::testTaxonomyVocabularyLoadStaticReset in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/VocabularyUnitTest.php
- Ensure that the vocabulary static reset works correctly.
- WebTestBase::assertTitle in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Pass if the page title is the given string.
- WebTestBase::assertUrl in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Pass if the internal browser's URL matches the given path.
- WebTestBase::createTypedData in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Creates a typed data object and executes some basic assertions.
- WebTestBase::drupalCreateContentType in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Creates a custom content type based on default settings.
- WizardTest::testCommentWizard in drupal/core/modules/views/lib/Drupal/views/Tests/Comment/WizardTest.php
- Tests adding a view of comments.
- XmlRpcBasicTest::testListMethods in drupal/core/modules/xmlrpc/lib/Drupal/xmlrpc/Tests/XmlRpcBasicTest.php
- Ensure that a basic XML-RPC call with no parameters works.
- XmlRpcMessagesTest::testAlterListMethods in drupal/core/modules/xmlrpc/lib/Drupal/xmlrpc/Tests/XmlRpcMessagesTest.php
- Ensure that hook_xmlrpc_alter() can hide even builtin methods.
- XmlRpcMessagesTest::testSizedMessages in drupal/core/modules/xmlrpc/lib/Drupal/xmlrpc/Tests/XmlRpcMessagesTest.php
- Make sure that XML-RPC can transfer large messages.
- XmlRpcValidatorTest::testValidator in drupal/core/modules/xmlrpc/lib/Drupal/xmlrpc/Tests/XmlRpcValidatorTest.php
- Run validator1 tests.
- XssUnitTest::testEscaping in drupal/core/modules/system/lib/Drupal/system/Tests/Common/XssUnitTest.php
- Checks that special characters are escaped.
- XssUnitTest::testFormatStringAndT in drupal/core/modules/system/lib/Drupal/system/Tests/Common/XssUnitTest.php
- Tests t() and format_string() replacement functionality.
- XssUnitTest::testInvalidMultiByte in drupal/core/modules/system/lib/Drupal/system/Tests/Common/XssUnitTest.php
- Checks that invalid multi-byte sequences are rejected.