618 calls to TestBase::assertTrue()

AccessPermissionTest::testAccessPerm in drupal/core/modules/views/lib/Drupal/views/Tests/User/AccessPermissionTest.php
Tests perm access plugin.
AccessRoleTest::testAccessRole in drupal/core/modules/views/lib/Drupal/views/Tests/User/AccessRoleTest.php
Tests role access plugin.
AccessTest::testAccessNone in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/AccessTest.php
Tests none access plugin.
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::testAddLongFeed in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AddFeedTest.php
Tests feeds with very long URLs.
AdminTest::testCompactMode in drupal/core/modules/system/lib/Drupal/system/Tests/System/AdminTest.php
Test compact mode.
AggregatorRenderingTest::testFeedPage in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorRenderingTest.php
Create a feed and check that feed's page.
AggregatorTestBase::createFeed in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php
Create an aggregator feed (simulate form submission on admin/config/services/aggregator/add/feed).
AggregatorTestBase::updateAndRemove in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php
Add and remove feed items and ensure that the count is zero.
AjaxTestBase::assertCommand in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxTestBase.php
Asserts the array of Ajax commands contains the searched command.
AlterDecoratorTest::testAlterDecorator in drupal/core/modules/system/lib/Drupal/system/Tests/Plugin/AlterDecoratorTest.php
Tests getDefinitions() and getDefinition() of Drupal\Core\Plugin\Discovery\AlterDecorator.
ApiDataTest::testViewsData in drupal/core/modules/views/lib/Drupal/views/Tests/Field/ApiDataTest.php
Unit testing the views data structure.
AreaTest::testRenderArea in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTest.php
Tests the rendering of an area.
AreaTest::testRenderAreaToken in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTest.php
Tests global tokens.
ArgumentDefaultTest::testArgumentDefaultPlugin in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/ArgumentDefaultTest.php
Tests the argument default test plugin.
ArgumentNullTest::testAreaText in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/ArgumentNullTest.php
ArgumentValidateTest::testArgumentValidateUserEither in drupal/core/modules/views/lib/Drupal/views/Tests/User/ArgumentValidateTest.php
ArgumentValidateTest::testArgumentValidateUserName in drupal/core/modules/views/lib/Drupal/views/Tests/User/ArgumentValidateTest.php
ArgumentValidateTest::testArgumentValidateUserUid in drupal/core/modules/views/lib/Drupal/views/Tests/User/ArgumentValidateTest.php
ArgumentValidatorTest::testArgumentValidateNumeric in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/ArgumentValidatorTest.php
ArgumentValidatorTest::testArgumentValidatePhp in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/ArgumentValidatorTest.php
ArrayUnitTest::testUnset in drupal/core/modules/system/lib/Drupal/system/Tests/Common/ArrayUnitTest.php
Tests unsetting nested array values.
AutocompleteTagsUnitTest::assertTags in drupal/core/modules/system/lib/Drupal/system/Tests/Common/AutocompleteTagsUnitTest.php
Helper function: asserts that the ending array of tags is what we wanted.
BackendChainImplementationUnitTest::testDeleteAllPropagation in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/BackendChainImplementationUnitTest.php
Test that the delete all operation is propagated to all backends in the chain.
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.
BlockLanguageTest::testLanguageBlockVisibilityBlockDelete in drupal/core/modules/block/lib/Drupal/block/Tests/BlockLanguageTest.php
Tests if the visibility settings are removed if the block is deleted.
BlockLanguageTest::testLanguageBlockVisibilityLanguageDelete in drupal/core/modules/block/lib/Drupal/block/Tests/BlockLanguageTest.php
Tests if the visibility settings are removed if the language is deleted.
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.
BlockUpgradePathTest::testBlockUpgradeTitleLength in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/BlockUpgradePathTest.php
Tests block title length after successful upgrade.
BookTest::testBookDelete in drupal/core/modules/book/lib/Drupal/book/Tests/BookTest.php
Tests the access for deleting top-level book nodes.
BreadcrumbTest::testBreadCrumbs in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/BreadcrumbTest.php
Tests breadcrumbs on node and administrative paths.
BreakpointAPITest::testConfigName in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointAPITest.php
Test Breakpoint::buildConfigName().
BreakpointCRUDTest::testBreakpointCRUD in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointCRUDTest.php
Test CRUD operations for breakpoints.
BreakpointGroupAPITest::testConfigName in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointGroupAPITest.php
Test Breakpoint::buildConfigName().
BreakpointMediaQueryTest::testInvalidMediaQueries in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointMediaQueryTest.php
Test invalid media queries.
BreakpointMediaQueryTest::testValidMediaQueries in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointMediaQueryTest.php
Test valid media queries.
BreakpointThemeTest::testThemeBreakpointGroupModule in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointThemeTest.php
Test the breakpoints defined by the custom group in the module.
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::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.
BulkFormTest::testBulkForm in drupal/core/modules/action/lib/Drupal/action/Tests/BulkFormTest.php
Tests the bulk form.
BundleTest::testBundleRegistration in drupal/core/modules/system/lib/Drupal/system/Tests/Bundle/BundleTest.php
Tests that services provided by module bundles get registered to the DIC.
BundleTest::testBundleRegistrationDynamic in drupal/core/modules/system/lib/Drupal/system/Tests/Bundle/BundleTest.php
Tests that the DIC keeps up with module enable/disable in the same request.
CacheTest::testHeaderStorage in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/CacheTest.php
Tests css/js storage and restoring mechanism.
CacheTestBase::assertCacheExists in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/CacheTestBase.php
Asserts that a cache entry exists.
CascadingStylesheetsTest::testModuleInfo in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
Tests that stylesheets in module .info files are loaded.
CascadingStylesheetsTest::testRenderExternal in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
Tests rendering an external stylesheet.
CascadingStylesheetsTest::testRenderFile in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
Tests rendering the stylesheets.
CascadingStylesheetsTest::testRenderInlineNoPreprocess in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
Tests rendering inline stylesheets with preprocessing off.
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.
ClearTest::testFlushAllCaches in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/ClearTest.php
Tests drupal_flush_all_caches().
ColorTest::_testColor in drupal/core/modules/color/lib/Drupal/color/Tests/ColorTest.php
Tests the Color module functionality using the given theme.
CommentAnonymousTest::testAnonymous in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentAnonymousTest.php
Tests anonymous comment functionality.
CommentApprovalTest::testApprovalAdminInterface in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentApprovalTest.php
Test comment approval functionality through admin/content/comment.
CommentApprovalTest::testApprovalNodeInterface in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentApprovalTest.php
Tests comment approval functionality through the node interface.
CommentAttributesTest::testCommentRdfaMarkup in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
Tests if RDFa markup for meta information is present in comments.
CommentAttributesTest::testNumberOfCommentsRdfaMarkup in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
Tests the presence of the RDFa markup for the number of comments.
CommentAttributesTest::_testBasicCommentRdfaMarkup in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
Helper function for testCommentRdfaMarkup().
CommentBlockTest::testRecentCommentBlock in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentBlockTest.php
Tests the recent comments block.
CommentContentRebuildTest::testCommentRebuild in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentContentRebuildTest.php
Tests the rebuilding of comment's content arrays on calling comment_view().
CommentCSSTest::testCommentClasses in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentCSSTest.php
Tests CSS classes on comments.
CommentFieldsTest::testCommentDefaultFields in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentFieldsTest.php
Tests that the default 'comment_body' field is correctly added.
CommentFieldsTest::testCommentEnable in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentFieldsTest.php
Tests that comment module works when enabled after a content module.
CommentInterfaceTest::testCommentInterface in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentInterfaceTest.php
Tests the comment interface.
CommentLanguageTest::setUp in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentLanguageTest.php
Sets up a Drupal site for running functional and integration tests.
CommentLinksTest::assertCommentLinks in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php
Asserts that comment links appear according to the passed environment.
CommentNewIndicatorTest::testCommentNewCommentsIndicator in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentNewIndicatorTest.php
Tests new comment marker.
CommentNodeAccessTest::testThreadedCommentView in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentNodeAccessTest.php
Test that threaded comments can be viewed.
CommentNodeChangesTest::testNodeDeletion in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentNodeChangesTest.php
Tests that comments are deleted with the node.
CommentPagerTest::testCommentPaging in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentPagerTest.php
Confirms comment paging works correctly with flat and threaded comments.
CommentTestBase::postComment in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentTestBase.php
Posts a comment.
CommentThreadingTest::testCommentThreading in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentThreadingTest.php
Tests the comment threading.
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.
ConfigEntityTest::testCRUD in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigEntityTest.php
Tests CRUD operations.
ConfigFileContentTest::testReadWriteConfig in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigFileContentTest.php
Tests setting, writing, and reading of a configuration setting.
ConfigImportTest::testDeleted in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigImportTest.php
Tests deletion of configuration during import.
ConfigImportTest::testNew in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigImportTest.php
Tests creation of configuration during import.
ConfigImportTest::testUpdated in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigImportTest.php
Tests updating of configuration during import.
ConfigImportUITest::testImport in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigImportUITest.php
Tests importing configuration.
ConfigInstallTest::testModuleInstallation in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigInstallTest.php
Tests module installation.
ConfigStorageTestBase::testCRUD in drupal/core/modules/config/lib/Drupal/config/Tests/Storage/ConfigStorageTestBase.php
Tests storage controller CRUD operations.
ConfigTestTranslationUITest::testTranslationUI in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/ConfigTestTranslationUITest.php
Overrides EntityTranslationTest::testTranslationUI().
ConnectionUnitTest::assertConnection in drupal/core/modules/system/lib/Drupal/system/Tests/Database/ConnectionUnitTest.php
Asserts that a connection ID exists.
ControllerResolverTest::testContainerAware in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/ControllerResolverTest.php
Confirms that a container aware controller gets returned.
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::testAutomaticCron in drupal/core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php
Ensure that the automatic cron run feature is working.
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::testReadField in drupal/core/modules/field/lib/Drupal/field/Tests/CrudTest.php
Tests reading a single field definition.
CrudTest::testReadFields in drupal/core/modules/field/lib/Drupal/field/Tests/CrudTest.php
Tests reading field definitions.
CrudTest::_testActiveHelper in drupal/core/modules/field/lib/Drupal/field/Tests/CrudTest.php
Helper function for testActive().
DatabaseStorageExpirableTest::testExpiration in drupal/core/modules/system/lib/Drupal/system/Tests/KeyValueStore/DatabaseStorageExpirableTest.php
Tests data expiration.
DatabaseTestBase::installTables in drupal/core/modules/system/lib/Drupal/system/Tests/Database/DatabaseTestBase.php
Sets up several tables needed by a certain test.
DateTimePlusTest::testDateTimezone in drupal/core/modules/system/lib/Drupal/system/Tests/Datetime/DateTimePlusTest.php
Test that DrupalDateTime can detect the right timezone to use. When specified or not.
DBLogTest::doNode in drupal/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php
Generates and then verifies some node events.
DBLogTest::doUser in drupal/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php
Generates and then verifies some user events.
DBLogTest::verifyCron in drupal/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php
Verifies that cron correctly applies the database log row limit.
DBLogTest::verifyRowLimit in drupal/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php
Verifies setting of the database log row limit.
DefaultViewsTest::clickViewsOperationLink in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DefaultViewsTest.php
Click a link to perform an operation on a view.
DefaultViewsTest::testDefaultViews in drupal/core/modules/views/lib/Drupal/views/Tests/DefaultViewsTest.php
Test that all Default views work as expected.
DeleteTest::testInUse in drupal/core/modules/file/lib/Drupal/file/Tests/DeleteTest.php
Tries deleting a file that is in use.
DeleteTest::testUnused in drupal/core/modules/file/lib/Drupal/file/Tests/DeleteTest.php
Tries deleting a normal file (as opposed to a directory, symlink, etc).
DependencyHookInvocationTest::testHookUpdateDependencies in drupal/core/modules/system/lib/Drupal/system/Tests/Update/DependencyHookInvocationTest.php
Test the structure of the array returned by hook_update_dependencies().
DependencyMissingTest::testMissingUpdate in drupal/core/modules/system/lib/Drupal/system/Tests/Update/DependencyMissingTest.php
DependencyOrderingTest::testUpdateOrderingModuleInterdependency in drupal/core/modules/system/lib/Drupal/system/Tests/Update/DependencyOrderingTest.php
Test that dependencies between modules are resolved correctly.
DirectoryTest::testFileCheckDirectoryHandling in drupal/core/modules/system/lib/Drupal/system/Tests/File/DirectoryTest.php
Test directory handling functions.
DisplayExtenderTest::testDisplayExtenders in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayExtenderTest.php
Test display extenders.
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::testDisableDisplay in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
Tests disabling of a display.
DisplayTest::testDisplayPlugin in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayTest.php
Tests the display test plugin.
DisplayTest::testRemoveDisplay in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
Tests removing a display.
DisplayTest::testReorderDisplay in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
Tests reordering of displays.
DrupalDateTimeTest::testDateTimezone in drupal/core/modules/system/lib/Drupal/system/Tests/Datetime/DrupalDateTimeTest.php
Test that DrupalDateTime can detect the right timezone to use. Test with a variety of less commonly used timezone names to help ensure that the system timezone will be different than the stated timezones.
DrupalJsonldNormalizerTest::testSupportsNormalization in drupal/core/modules/jsonld/lib/Drupal/jsonld/Tests/DrupalJsonldNormalizerTest.php
Tests the supportsNormalization function.
DrupalKernelTest::testCompileDIC in drupal/core/modules/system/lib/Drupal/system/Tests/DrupalKernel/DrupalKernelTest.php
Tests DIC compilation.
DrupalUnitTestBaseTest::testEnableModulesInstall in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php
Tests expected installation behavior of enableModules().
DrupalUnitTestBaseTest::testEnableModulesLoad in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php
Tests expected load behavior of enableModules().
DrupalUnitTestBaseTest::testInstallSchema in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php
Tests expected behavior of installSchema().
DrupalUnitTestBaseTest::testSetUp in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php
Tests expected behavior of setUp().
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::testMultipleFalseOptionchecker in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementsTableSelectTest.php
Test the whether the option checker gives an error on invalid tableselect values for radios.
ElementsTableSelectTest::testMultipleTrueOptionchecker in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementsTableSelectTest.php
Test the whether the option checker gives an error on invalid tableselect values for checkboxes.
ElementsVerticalTabsTest::testJavaScriptOrdering in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementsVerticalTabsTest.php
Ensures that vertical-tabs.js is included before collapse.js.
ElementsVerticalTabsTest::testWrapperNotShownWhenEmpty in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementsVerticalTabsTest.php
Ensures that vertical tab markup is not shown if user has no tab access.
ElementTest::testOptions in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementTest.php
Tests expansion of #options for #type checkboxes and radios.
ElementTest::testPlaceHolderText in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementTest.php
Tests placeholder text for elements that support placeholders.
EmptyStatementTest::testEmpty in drupal/core/modules/system/lib/Drupal/system/Tests/Database/EmptyStatementTest.php
Tests that the empty result set behaves as empty.
EnableDisableTest::testEnableDisable in drupal/core/modules/system/lib/Drupal/system/Tests/Module/EnableDisableTest.php
Tests that all core modules can be enabled, disabled and uninstalled.
EntityAccessTest::testEntityAccessDefaultController in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityAccessTest.php
Ensures that the default controller is used as a fallback.
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.
EntityCrudHookTest::assertHookMessageOrder in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityCrudHookTest.php
Checks the order of CRUD hook execution messages.
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.
EntityFormTest::testFormCRUD in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityFormTest.php
Tests basic form CRUD functionality.
EntityQueryTest::assertBundleOrder in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryTest.php
EntityRevisionsTest::testRevisions in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityRevisionsTest.php
Check node revision related operations.
EntityTranslationFormTest::testEntityFormLanguage in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationFormTest.php
Tests entity form language.
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.
ErrorHandlerTest::testExceptionHandler in drupal/core/modules/system/lib/Drupal/system/Tests/System/ErrorHandlerTest.php
Test the exception handler.
FetchTest::testQueryFetchArray in drupal/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php
Confirms that we can fetch a record to an associative array explicitly.
FetchTest::testQueryFetchBoth in drupal/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php
Confirms that we can fetch a record into a doubly-keyed array explicitly.
FetchTest::testQueryFetchClass in drupal/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php
Confirms that we can fetch a record into a new instance of a custom class.
FetchTest::testQueryFetchDefault in drupal/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php
Confirms that we can fetch a record properly in default object mode.
FetchTest::testQueryFetchNum in drupal/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php
Confirms that we can fetch a record into an indexed array explicitly.
FetchTest::testQueryFetchObject in drupal/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php
Confirms that we can fetch a record to an object explicitly.
FieldAttachOtherTest::testFieldAttachPrepareViewMultiple in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachOtherTest.php
Tests the 'multiple entity' behavior of field_attach_prepare_view().
FieldAttachOtherTest::testFieldAttachView in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachOtherTest.php
Test field_attach_view() and field_attach_prepare_view().
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.
FieldInfoTest::testFieldInfo in drupal/core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php
Test that field types and field definitions are correcly cached.
FieldInfoTest::testWidgetDefinition in drupal/core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php
Test that the widget definition functions work.
FieldInstanceCrudTest::testCreateFieldInstance in drupal/core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php
Test the creation of a field instance.
FieldInstanceCrudTest::testDeleteFieldInstance in drupal/core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php
Test the deletion of a field instance.
FieldInstanceCrudTest::testReadFieldInstance in drupal/core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php
Test reading back an instance definition.
FieldInstanceCrudTest::testUpdateFieldInstance in drupal/core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php
Test the update of a field instance.
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::testFieldStorageDetails in drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Tests/FieldSqlStorageTest.php
Test the storage details.
FieldSqlStorageTest::testFieldUpdateFailure in drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Tests/FieldSqlStorageTest.php
Test that failure to create fields is handled gracefully.
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.
FieldUnitTest::assertNotSubString in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldUnitTest.php
Asserts that a string is not part of another string.
FieldUnitTest::assertSubString in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldUnitTest.php
Asserts that a string is part of another string.
FieldUnitTest::testIsValueEmpty in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldUnitTest.php
Tests views_handler_field::is_value_empty().
FieldWebTest::assertNotSubString in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldWebTest.php
Assertion helper which checks whether a string is not part of another string.
FieldWebTest::assertSubString in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldWebTest.php
Assertion helper which checks whether a string is part of another string.
FieldWebTest::testAlterUrl in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldWebTest.php
Tests rewriting the output to a link.
FieldWebTest::testFieldClasses in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldWebTest.php
Tests the field/label/wrapper classes.
FieldWebTest::testTextRendering in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldWebTest.php
Tests trimming/read-more/ellipses.
FileFieldPathTest::assertPathMatch in drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldPathTest.php
Asserts that a file is uploaded to the right location.
FileFieldTestBase::assertFileExists in drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldTestBase.php
Asserts that a file exists physically on disk.
FileFieldTestBase::assertFileIsPermanent in drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldTestBase.php
Asserts that a file's status is set to permanent in the database.
FileFieldValidateTest::testRequired in drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldValidateTest.php
Tests the required property on file fields.
FileFieldWidgetTest::testMultiValuedWidget in drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldWidgetTest.php
Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTest::testSingleValuedWidget in drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldWidgetTest.php
Tests upload and remove buttons for a single-valued File field.
FileManagedFileElementTest::testManagedFile in drupal/core/modules/file/lib/Drupal/file/Tests/FileManagedFileElementTest.php
Tests the managed_file element type.
FileManagedTestBase::assertFileHooksCalled in drupal/core/modules/file/lib/Drupal/file/Tests/FileManagedTestBase.php
Assert that all of the specified hook_file_* hooks were called once, other values result in failure.
FileMoveTest::testNormal in drupal/core/modules/system/lib/Drupal/system/Tests/Image/FileMoveTest.php
Tests moving a randomly generated image.
FileStorageTest::testReadOnly in drupal/core/modules/system/lib/Drupal/system/Tests/PhpStorage/FileStorageTest.php
Tests writing with one class and reading with another.
FileTestBase::createDirectory in drupal/core/modules/system/lib/Drupal/system/Tests/File/FileTestBase.php
Create a directory and assert it exists.
FileTestBase::createUri in drupal/core/modules/system/lib/Drupal/system/Tests/File/FileTestBase.php
Create a file and return the URI of it.
FileTransferTest::testJail in drupal/core/modules/system/lib/Drupal/system/Tests/FileTransfer/FileTransferTest.php
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.
FilterAdminTest::testFilterAdmin in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterAdminTest.php
Tests filter administration functionality.
FilterCrudTest::testTextFormatCrud in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterCrudTest.php
Tests CRUD operations for text formats and filters.
FilterCrudTest::verifyFilters in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterCrudTest.php
Verify that filters are properly stored for a text format.
FilterFormatAccessTest::testFormatPermissions in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterFormatAccessTest.php
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.
FilterNumericTest::testAllowEmpty in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FilterNumericTest.php
FilterTest::testFilterQuery in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/FilterTest.php
Test query of the row plugin.
FilterUnitTest::assertFilteredString in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php
Asserts multiple filter output expectations for multiple input strings.
FilterUnitTest::assertNoNormalized in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php
Asserts that text transformed to lowercase with HTML entities decoded does not contain a given string.
FilterUnitTest::assertNormalized in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php
Asserts that a text transformed to lowercase with HTML entities decoded does contains a given string.
FilterUnitTest::testFilterXSS in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php
Tests limiting allowed tags and XSS prevention.
FloodTest::testCleanUp in drupal/core/modules/system/lib/Drupal/system/Tests/System/FloodTest.php
Test flood control mechanism clean-up.
FloodTest::testMemoryBackend in drupal/core/modules/system/lib/Drupal/system/Tests/System/FloodTest.php
Test flood control memory backend.
FolderTest::testFolderSetup in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/FolderTest.php
FormTest::testDisabledMarkup in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
Verify markup for disabled form elements.
FormTest::testNestedFieldForm in drupal/core/modules/field/lib/Drupal/field/Tests/FormTest.php
Tests Field API form integration within a subform.
FormTest::testRequiredAttribute in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
Tests required attribute.
FormTest::testRequiredFields in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
Check several empty values for required forms elements.
ForumIndexTest::testForumIndexStatus in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumIndexTest.php
Tests the forum index for published and unpublished nodes.
ForumNodeAccessTest::testForumNodeAccess in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumNodeAccessTest.php
Creates some users and creates a public node and a private node.
ForumTest::createForum in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
Creates a forum container or a forum.
ForumTest::createForumTopic in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
Creates a forum topic.
ForumTest::doAdminTests in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
Runs admin tests on the admin user.
ForumTest::testEnableForumField in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
Tests disabling and re-enabling the Forum module.
ForumTest::verifyForums in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
Verifies that the logged in user has access to a forum node.
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.
GenericCacheBackendUnitTestBase::testDeleteAll in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
Test Drupal\Core\Cache\CacheBackendInterface::deleteAll().
GenericCacheBackendUnitTestBase::testDeleteTags in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
Tests Drupal\Core\Cache\CacheBackendInterface::deleteTags().
GenericCacheBackendUnitTestBase::testGetMultiple in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
Tests Drupal\Core\Cache\CacheBackendInterface::getMultiple().
GenericCacheBackendUnitTestBase::testInvalidateAll in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
Test Drupal\Core\Cache\CacheBackendInterface::invalidateAll().
GenericCacheBackendUnitTestBase::testInvalidateTags in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
Tests Drupal\Core\Cache\CacheBackendInterface::invalidateTags().
GenericCacheBackendUnitTestBase::testIsEmpty in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
Tests Drupal\Core\Cache\CacheBackendInterface::isEmpty().
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.
GetNamespacesTest::testGetRdfNamespaces in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/GetNamespacesTest.php
Tests RDF namespaces.
GetRdfNamespacesTest::testGetRdfNamespaces in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/GetRdfNamespacesTest.php
Tests getting RDF namespaces.
GraphUnitTest::assertWeights in drupal/core/modules/system/lib/Drupal/system/Tests/Graph/GraphUnitTest.php
Verify expected order in a graph.
HandlerAllTest::testHandlers in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerAllTest.php
Tests most of the handlers.
HandlerFieldUserNameTest::testUserName in drupal/core/modules/views/lib/Drupal/views/Tests/User/HandlerFieldUserNameTest.php
HandlerTest::testAccess in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
Tests access to a handler.
HookBootExitTest::testHookBootExit in drupal/core/modules/system/lib/Drupal/system/Tests/Bootstrap/HookBootExitTest.php
Tests calling of hook_boot() and hook_exit().
HtmlTplPhpAttributesTest::testThemeHtmlTplPhpAttributes in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/HtmlTplPhpAttributesTest.php
Tests that modules and themes can alter variables in html.tpl.php.
HttpMethodMatcherTest::testNoRouteFound in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/HttpMethodMatcherTest.php
Confirms that the HttpMethod matcher throws an exception for no-route.
HttpRequestTest::testDrupalHTTPRequest in drupal/core/modules/system/lib/Drupal/system/Tests/Common/HttpRequestTest.php
Checks HTTP requests.
ImageAdminStylesTest::testNumericStyleName in drupal/core/modules/image/lib/Drupal/image/Tests/ImageAdminStylesTest.php
Test creating an image style with a numeric name and ensuring it can be applied to an image.
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.
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::testImageEffectsCaching in drupal/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php
Test image effect caching.
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.
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::_testImageStyleUrlAndPath in drupal/core/modules/image/lib/Drupal/image/Tests/ImageStylesPathAndUrlTest.php
Test image_style_url().
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.
InfoAlterTest::testSystemInfoAlter in drupal/core/modules/system/lib/Drupal/system/Tests/System/InfoAlterTest.php
Tests that theme .info data is rebuild after enabling a module.
InsertLobTest::testInsertMultipleBlob in drupal/core/modules/system/lib/Drupal/system/Tests/Database/InsertLobTest.php
Tests that we can insert multiple blob fields in the same query.
InsertLobTest::testInsertOneBlob in drupal/core/modules/system/lib/Drupal/system/Tests/Database/InsertLobTest.php
Tests that we can insert a single blob field successfully.
InstallerLanguageTest::testInstallerTranslationFiles in drupal/core/modules/system/lib/Drupal/system/Tests/Common/InstallerLanguageTest.php
Tests that the installer can find translation files.
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.
InstallTest::testDrupalWriteRecord in drupal/core/modules/system/lib/Drupal/system/Tests/Module/InstallTest.php
Test that calls to drupal_write_record() work during module installation.
IpAddressBlockingTest::testIPAddressValidation in drupal/core/modules/ban/lib/Drupal/ban/Tests/IpAddressBlockingTest.php
Tests various user input to confirm correct validation and saving of data.
IpAddressTest::testIPAddressHost in drupal/core/modules/system/lib/Drupal/system/Tests/Bootstrap/IpAddressTest.php
Tests IP address and hostname.
ItemsPerPageTest::testItemsPerPage in drupal/core/modules/views/lib/Drupal/views/Tests/Wizard/ItemsPerPageTest.php
Tests the number of items per page.
JavaScriptTest::testAddExternal in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests adding an external JavaScript File.
JavaScriptTest::testAddFile in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests adding a JavaScript file.
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::testAggregatedAttributes in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests that attributes are maintained when JS aggregation is enabled.
JavaScriptTest::testAggregation in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests JavaScript grouping and aggregation.
JavaScriptTest::testAlter in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests altering a JavaScript's weight via hook_js_alter().
JavaScriptTest::testAttachedLibrary in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests the addition of libraries through the #attached['library'] property.
JavaScriptTest::testAttributes in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests adding JavaScript files with additional attributes.
JavaScriptTest::testBrowserConditionalComments in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests adding JavaScript within conditional comments.
JavaScriptTest::testFooterHTML in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests drupal_get_js() with a footer scope.
JavaScriptTest::testGetLibrary in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests retrieval of libraries via drupal_get_library().
JavaScriptTest::testHeaderSetting in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests drupal_get_js() for JavaScript settings.
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::testLibraryRender in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Adds a library to the page and tests for both its JavaScript and its CSS.
JavaScriptTest::testLibraryUnknown in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests non-existing libraries.
JavaScriptTest::testRenderDifferentWeight in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests rendering the JavaScript with a file's weight above jQuery's.
JavaScriptTest::testRenderExternal in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests rendering an external JavaScript file.
JavaScriptTest::testVersionQueryString in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Tests JavaScript versioning.
JoinTest::testBasePlugin in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/JoinTest.php
Tests the join plugin base.
JoinTest::testExamplePlugin in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/JoinTest.php
Tests an example join plugin.
JsonUnitTest::testJSON in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JsonUnitTest.php
Tests converting PHP variables to JSON strings and back.
LanguageConfigurationElementTest::testLanguageConfigurationElement in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageConfigurationElementTest.php
Tests the language settings have been saved.
LanguageNegotiationInfoTest::checkFixedLanguageTypes in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageNegotiationInfoTest.php
Check that language negotiation for fixed types matches the stored one.
LanguageNegotiationInfoTest::testInfoAlterations in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageNegotiationInfoTest.php
Tests alterations to language types/negotiation info.
LanguageUILanguageNegotiationTest::testLanguageDomain in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
Tests url() when separate domains are used for multiple languages.
LanguageUILanguageNegotiationTest::testUrlLanguageFallback in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
Test URL language detection when the requested URL has no language.
LanguageUpgradePathTest::testLanguageNoPluralsUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/LanguageUpgradePathTest.php
Tests upgrading translations without plurals.
LanguageUpgradePathTest::testLanguagePermissionsUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/LanguageUpgradePathTest.php
Tests upgrading translations permissions.
LanguageUpgradePathTest::testLanguageUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/LanguageUpgradePathTest.php
Tests a successful upgrade.
LanguageUpgradePathTest::testLanguageUrlUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/LanguageUpgradePathTest.php
Tests language domain upgrade path.
LayoutDerivativesTest::testDerivatives in drupal/core/modules/layout/lib/Drupal/layout/Tests/LayoutDerivativesTest.php
Tests for module/theme layout derivatives.
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::testLocaleCompare in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleCompareTest.php
Test for translation status storage and translation status comparison.
LocaleFileImportStatus::addLanguage in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php
Add a language.
LocaleFileImportStatus::testBulkImportUpdateExisting in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php
Update a pre-existing file.
LocaleFileImportStatus::testDeleteLanguage in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php
Delete translation files after deleting a language.
LocaleJavascriptTranslation::testFileParsing in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleJavascriptTranslation.php
LocaleLibraryInfoAlterTest::testLibraryInfoAlter in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleLibraryInfoAlterTest.php
Verifies that the datepicker can be localized.
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::testJavaScriptTranslation in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php
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.
LockFunctionalTest::testBackendLockRelease in drupal/core/modules/system/lib/Drupal/system/Tests/Lock/LockFunctionalTest.php
Tests backend release functionality.
LockFunctionalTest::testBackendLockReleaseAll in drupal/core/modules/system/lib/Drupal/system/Tests/Lock/LockFunctionalTest.php
Tests backend release functionality.
LockFunctionalTest::testLockAcquire in drupal/core/modules/system/lib/Drupal/system/Tests/Lock/LockFunctionalTest.php
Confirms that we can acquire and release locks in two parallel requests.
LoopTest::triggerActions in drupal/core/modules/action/lib/Drupal/action/Tests/LoopTest.php
Loops watchdog messages up to actions_max_stack times.
MainContentFallbackTest::testMainContentFallback in drupal/core/modules/system/lib/Drupal/system/Tests/System/MainContentFallbackTest.php
Test availability of main content.
ManageFieldsTest::assertFieldSettings in drupal/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php
Asserts field settings are as expected.
ManageFieldsTest::createField in drupal/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php
Tests adding a new field.
ManageFieldsTest::testHiddenFields in drupal/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php
Tests that Field UI respects the 'no_ui' option in hook_field_info().
MappingDefinitionTest::testAttributesInMarkup1 in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
Create a node of type article and test whether the RDF mapping defined for this node type in rdf_test.module is used in the node page.
MappingDefinitionTest::testAttributesInMarkup2 in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
Tests if RDF mapping defined in rdf_test.install is used.
MappingDefinitionTest::testAttributesInMarkup3 in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
Tests if the default mapping for a node is being used.
MappingDefinitionTest::testTaxonomyTermRdfaAttributes in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
Creates a random term and ensures the right RDFa markup is used.
MappingDefinitionTest::testUserAttributesInMarkup in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
Tests if default mapping for user is being used.
MatcherDumperTest::testCreate in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php
Confirms that the dumper can be instantiated successfuly.
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.
MenuNodeTest::testMenuNodeFormWidget in drupal/core/modules/menu/lib/Drupal/menu/Tests/MenuNodeTest.php
Test creating, editing, deleting menu links via node form widget.
MenuTest::addMenuLink in drupal/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php
Add a menu link using the menu module UI.
MenuTest::getStandardMenuLink in drupal/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php
Get standard menu link.
MenuTest::testMenus in drupal/core/modules/views/lib/Drupal/views/Tests/Wizard/MenuTest.php
Tests the menu functionality.
MenuTestBase::assertBreadcrumb in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/MenuTestBase.php
Assert that a given path shows certain breadcrumb links.
MimeTypeMatcherTest::testNoRouteFound in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MimeTypeMatcherTest.php
Confirms that the MimeTypeMatcher matcher throws an exception for no-route.
MiscUnitTest::testCheckMemoryLimit in drupal/core/modules/system/lib/Drupal/system/Tests/Bootstrap/MiscUnitTest.php
Tests that the drupal_check_memory_limit() function works as expected.
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.
ModuleApiTest::testModuleMetaData in drupal/core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php
Tests whether the correct module metadata is returned.
ModuleApiTest::testThemeMetaData in drupal/core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php
Tests whether the correct theme metadata is returned.
ModuleEnable::testRequiredModuleSchemaVersions in drupal/core/modules/system/lib/Drupal/system/Tests/Module/ModuleEnable.php
Tests recorded schema versions of early installed modules in the installer.
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::testLoadFunctions in drupal/core/modules/views/lib/Drupal/views/Tests/ModuleTest.php
Tests the load wrapper/helper functions.
ModuleTest::testStatusFunctions in drupal/core/modules/views/lib/Drupal/views/Tests/ModuleTest.php
Tests view enable and disable procedural wrapper functions.
ModuleTestBase::assertLogMessage in drupal/core/modules/system/lib/Drupal/system/Tests/Module/ModuleTestBase.php
Verify a log entry was entered for a module's status change. Called in the same way of the expected original watchdog() execution.
ModuleTestBase::assertModuleConfig in drupal/core/modules/system/lib/Drupal/system/Tests/Module/ModuleTestBase.php
Asserts that the default configuration of a module has been installed.
ModuleTestBase::assertModuleTablesExist in drupal/core/modules/system/lib/Drupal/system/Tests/Module/ModuleTestBase.php
Assert that all tables defined in a module's hook_schema() exist.
ModuleTestBase::assertTableCount in drupal/core/modules/system/lib/Drupal/system/Tests/Module/ModuleTestBase.php
Assert there are tables that begin with the specified base table name.
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::testNormal in drupal/core/modules/file/lib/Drupal/file/Tests/MoveTest.php
Move a normal file.
MTimeProtectedFileStorageTest::testSecurity in drupal/core/modules/system/lib/Drupal/system/Tests/PhpStorage/MTimeProtectedFileStorageTest.php
Tests the security of the MTimeProtectedFileStorage implementation.
NameMungingTest::testMunging in drupal/core/modules/system/lib/Drupal/system/Tests/File/NameMungingTest.php
Create a file and munge/unmunge the name.
NodeAccessBaseTableTest::assertTaxonomyPage in drupal/core/modules/node/lib/Drupal/node/Tests/NodeAccessBaseTableTest.php
Checks taxonomy/term listings to ensure only accessible nodes are listed.
NodeAccessBaseTableTest::testNodeAccessBasic in drupal/core/modules/node/lib/Drupal/node/Tests/NodeAccessBaseTableTest.php
Tests the "private" node access functionality.
NodeAccessLanguageTest::testNodeAccess in drupal/core/modules/node/lib/Drupal/node/Tests/NodeAccessLanguageTest.php
Runs tests for node_access function with multiple languages.
NodeAccessPagerTest::testForumPager in drupal/core/modules/node/lib/Drupal/node/Tests/NodeAccessPagerTest.php
Tests the forum node pager for nodes with multiple grants per realm.
NodeAccessRecordsTest::testNodeAccessRecords in drupal/core/modules/node/lib/Drupal/node/Tests/NodeAccessRecordsTest.php
Creates a node and tests the creation of node access rules.
NodeBlockFunctionalTest::testRecentNodeBlock in drupal/core/modules/node/lib/Drupal/node/Tests/NodeBlockFunctionalTest.php
Tests the recent comments block.
NodeCreationTest::testFailedPageCreation in drupal/core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php
Verifies that a transaction rolls back the failed creation.
NodeCreationTest::testNodeCreation in drupal/core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php
Creates a "Basic page" node and verifies its consistency in the database.
NodeFeedTest::testNodeFeedExtraChannelElements in drupal/core/modules/node/lib/Drupal/node/Tests/NodeFeedTest.php
Ensures that node_feed() accepts and prints extra channel elements.
NodeFieldMultilingualTestCase::testMultilingualDisplaySettings in drupal/core/modules/node/lib/Drupal/node/Tests/NodeFieldMultilingualTestCase.php
NodeFieldMultilingualTestCase::testMultilingualNodeForm in drupal/core/modules/node/lib/Drupal/node/Tests/NodeFieldMultilingualTestCase.php
Tests whether field languages are correctly set through the node form.
NodeLoadMultipleTest::testNodeMultipleLoad in drupal/core/modules/node/lib/Drupal/node/Tests/NodeLoadMultipleTest.php
Creates four nodes and ensures that they are loaded correctly.
NodeRevisionPermissionsTest::testNodeRevisionAccessAnyType in drupal/core/modules/node/lib/Drupal/node/Tests/NodeRevisionPermissionsTest.php
Tests general revision access permissions.
NodeRevisionPermissionsTest::testNodeRevisionAccessPerType in drupal/core/modules/node/lib/Drupal/node/Tests/NodeRevisionPermissionsTest.php
Tests revision access permissions for a specific content type.
NodeRevisionsAllTestCase::testRevisions in drupal/core/modules/node/lib/Drupal/node/Tests/NodeRevisionsTest.php
Checks node revision operations.
NodeRevisionsTest::testNodeRevisionWithoutLogMessage in drupal/core/modules/node/lib/Drupal/node/Tests/NodeRevisionsTest.php
Checks that revisions are correctly saved without log messages.
NodeRevisionsTest::testRevisions in drupal/core/modules/node/lib/Drupal/node/Tests/NodeRevisionsTest.php
Checks node revision related operations.
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.
NodeTypeInitialLanguageTest::testLanguageFieldVisibility in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTypeInitialLanguageTest.php
Tests language field visibility features.
NodeTypePersistenceTest::testNodeTypeCustomizationPersistence in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTypePersistenceTest.php
Tests that node type customizations persist through disable and uninstall.
NodeTypeTest::testNodeTypeCreation in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTypeTest.php
Tests creating a content type programmatically and via a form.
NodeTypeTest::testNodeTypeGetFunctions in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTypeTest.php
Ensures that node type functions (node_type_get_*) work correctly.
NodeTypeTest::testNodeTypeStatus in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTypeTest.php
Tests that node_types_rebuild() correctly handles the 'disabled' flag.
NullBackendTest::testNullBackend in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/NullBackendTest.php
Tests that the NullBackend does not actually store variables.
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::testOpenidXRITest in drupal/core/modules/openid/lib/Drupal/openid/Tests/OpenIDTest.php
Test _openid_is_xri().
OptionsDynamicValuesValidationTest::testDynamicAllowedValues in drupal/core/modules/field/modules/options/lib/Drupal/options/Tests/OptionsDynamicValuesValidationTest.php
Test that allowed values function gets the entity.
OptionsFieldTest::testUpdateAllowedValues in drupal/core/modules/field/modules/options/lib/Drupal/options/Tests/OptionsFieldTest.php
Test that allowed values can be updated.
OptionsSelectDynamicValuesTest::testSelectListDynamic in drupal/core/modules/field/modules/options/lib/Drupal/options/Tests/OptionsSelectDynamicValuesTest.php
Tests the 'options_select' widget (single select).
OptionsWidgetsTest::testSelectListSingle in drupal/core/modules/field/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
Tests the 'options_select' widget (single select).
PageCacheTest::testPageCache in drupal/core/modules/system/lib/Drupal/system/Tests/Bootstrap/PageCacheTest.php
Tests cache headers.
PageEditTest::testPageEdit in drupal/core/modules/node/lib/Drupal/node/Tests/PageEditTest.php
Checks node edit functionality.
PagerTest::assertClass in drupal/core/modules/system/lib/Drupal/system/Tests/Pager/PagerTest.php
Asserts that an element has a given class.
PagerTest::assertNoClass in drupal/core/modules/system/lib/Drupal/system/Tests/Pager/PagerTest.php
Asserts that an element does not have a given class.
PagerTest::assertPagerItems in drupal/core/modules/system/lib/Drupal/system/Tests/Pager/PagerTest.php
Asserts pager items and links.
PageTitleFilteringTest::testTitleTags in drupal/core/modules/system/lib/Drupal/system/Tests/System/PageTitleFilteringTest.php
Tests the handling of HTML by drupal_set_title() and drupal_get_title()
PageViewTest::testPageView in drupal/core/modules/node/lib/Drupal/node/Tests/PageViewTest.php
Tests an anonymous and unpermissioned user attempting to edit the node.
PasswordHashingTest::testPasswordHashing in drupal/core/modules/system/lib/Drupal/system/Tests/System/PasswordHashingTest.php
Test password hashing.
PathAliasTest::testPathCache in drupal/core/modules/path/lib/Drupal/path/Tests/PathAliasTest.php
Tests the path cache.
PathLanguageTest::testAliasTranslation in drupal/core/modules/path/lib/Drupal/path/Tests/PathLanguageTest.php
Test alias functionality through the admin interfaces.
PathMatcherTest::testCandidateOutlines in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/PathMatcherTest.php
Confirms that the correct candidate outlines are generated.
PathMatcherTest::testOutlinePathNoMatch in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/PathMatcherTest.php
Confirms that an exception is thrown when no matching path is found.
PhpStorageTestBase::assertCRUD in drupal/core/modules/system/lib/Drupal/system/Tests/PhpStorage/PhpStorageTestBase.php
Assert that a PHP storage controller's load/save/delete operations work.
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.
PluginInstanceTest::testPluginData in drupal/core/modules/views/lib/Drupal/views/Tests/PluginInstanceTest.php
Confirms that there is plugin data for all views plugin types.
PluginInstanceTest::testPluginInstances in drupal/core/modules/views/lib/Drupal/views/Tests/PluginInstanceTest.php
Tests creating instances of every views plugin.
PluginTypeListTest::testPluginList in drupal/core/modules/views/lib/Drupal/views/Tests/PluginTypeListTest.php
Tests the plugins list is correct.
PollCreateTest::testPollClose in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollCreateTest.php
Tests creating, editing, and closing a poll.
PollCreateTest::testPollCreate in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollCreateTest.php
Tests creating, listing, editing a new poll.
PollDeleteChoiceTest::testChoiceRemoval in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollDeleteChoiceTest.php
Tests removing a choice from a poll.
PollExpirationTest::testAutoExpire in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollExpirationTest.php
Tests the expiration of a poll.
PollTestBase::pollCreate in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollTestBase.php
Creates a poll.
PollTranslateTest::testPollTranslate in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollTranslateTest.php
Tests poll creation and translation.
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.
PollVoteTest::testPollVote in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollVoteTest.php
Tests voting on a poll.
ProgrammaticTest::submitForm in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ProgrammaticTest.php
Helper function used to programmatically submit the form defined in form_test.module with the given values.
QueryGroupByTest::testGroupByCountOnlyFilters in drupal/core/modules/views/lib/Drupal/views/Tests/QueryGroupByTest.php
QueryTest::_testInitQuery in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/QueryTest.php
Tests the ViewExecutable::initQuery method.
QueryTest::_testQueryExecute in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/QueryTest.php
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.
RdfaMarkupTest::testAttributesInMarkupFile in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/RdfaMarkupTest.php
Tests if file fields in teasers have correct resources.
RegistryTest::testRaceCondition in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/RegistryTest.php
Tests the behavior of the theme registry class.
RenderTest::testDrupalRenderCache in drupal/core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php
Tests caching of an empty render item.
RenderTest::testDrupalRenderChildrenAttached in drupal/core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php
Tests #attached functionality in children elements.
RenderTest::testDrupalRenderSorting in drupal/core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php
Tests sorting by weight.
RESTTestBase::assertHeader in drupal/core/modules/rest/lib/Drupal/rest/Tests/RESTTestBase.php
Check if a HTTP response header exists and has the expected value.
RetrieveFileTest::testFileRetrieving in drupal/core/modules/system/lib/Drupal/system/Tests/System/RetrieveFileTest.php
Invokes system_retrieve_file() in several scenarios.
RouterTest::testAuthUserUserLogin in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/RouterTest.php
Test that an authenticated user hitting 'user/login' gets redirected to 'user' and 'user/register' gets redirected to the user edit page.
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::setUp in drupal/core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php
Sets up a Drupal site for running functional and integration tests.
SaveUploadTest::testNormal in drupal/core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php
Test the file_save_upload() function.
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::testOptionRecurse in drupal/core/modules/system/lib/Drupal/system/Tests/File/ScanDirectoryTest.php
Check that the recurse option decends into subdirectories.
SchemaTest::testSchema in drupal/core/modules/system/lib/Drupal/system/Tests/Common/SchemaTest.php
Tests database interactions.
SchemaTest::testUnsignedColumns in drupal/core/modules/system/lib/Drupal/system/Tests/Common/SchemaTest.php
Tests creating unsigned columns and data integrity thereof.
SearchAdvancedSearchFormTest::testNodeType in drupal/core/modules/search/lib/Drupal/search/Tests/SearchAdvancedSearchFormTest.php
Test using the search form with GET and POST queries. Test using the advanced search form to limit search to nodes of type "Basic page".
SearchCommentTest::assertCommentAccess in drupal/core/modules/search/lib/Drupal/search/Tests/SearchCommentTest.php
Update search index and search for comment.
SearchExcerptTest::testSearchExcerpt in drupal/core/modules/search/lib/Drupal/search/Tests/SearchExcerptTest.php
Tests search_excerpt() with several simulated search keywords.
SearchExcerptTest::testSearchExcerptSimplified in drupal/core/modules/search/lib/Drupal/search/Tests/SearchExcerptTest.php
Tests search_excerpt() with search keywords matching simplified words.
SearchMultilingualEntityTest::testSearchingMultilingualFieldValues in drupal/core/modules/search/lib/Drupal/search/Tests/SearchMultilingualEntityTest.php
Tests searching nodes with multiple languages.
SearchSimplifyTest::testSearchSimplifyUnicode in drupal/core/modules/search/lib/Drupal/search/Tests/SearchSimplifyTest.php
Tests that all Unicode characters simplify correctly.
SelectComplexTest::testDefaultJoin in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
Tests simple JOIN statements.
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::testLeftOuterJoin in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
Tests LEFT OUTER joins.
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.
SessionHttpsTest::assertSessionIds in drupal/core/modules/system/lib/Drupal/system/Tests/Session/SessionHttpsTest.php
Test that there exists a session with two specific session IDs.
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::testSessionSaveRegenerate in drupal/core/modules/system/lib/Drupal/system/Tests/Session/SessionTest.php
Tests for drupal_save_session() and drupal_session_regenerate().
SettingsTest::testEditUI in drupal/core/modules/views/lib/Drupal/views/Tests/UI/SettingsTest.php
Tests the settings for the edit ui.
ShortcutLinksTest::testShortcutLinkAdd in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutLinksTest.php
Tests that creating a shortcut works properly.
ShortcutLinksTest::testShortcutLinkChangePath in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutLinksTest.php
Tests that changing the path of a shortcut link works.
ShortcutLinksTest::testShortcutLinkRename in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutLinksTest.php
Tests that shortcut links can be renamed.
ShortcutSetsTest::testShortcutSetAdd in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutSetsTest.php
Tests creating a shortcut set.
ShortcutSetsTest::testShortcutSetAssign in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutSetsTest.php
Tests switching another user's shortcut set.
ShortcutSetsTest::testShortcutSetCreateWithSetName in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutSetsTest.php
Tests creating a new shortcut set with a defined set name.
ShortcutSetsTest::testShortcutSetRename in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutSetsTest.php
Tests renaming a shortcut set.
ShortcutSetsTest::testShortcutSetSave in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutSetsTest.php
Tests that shortcut_set_save() correctly updates existing links.
ShortcutSetsTest::testShortcutSetSwitchOwn in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutSetsTest.php
Tests switching a user's own shortcut set.
ShortcutSetsTest::testShortcutSetUnassign in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutSetsTest.php
Tests unassigning a shortcut set.
SimpleTestTest::assertAssertion in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
Assert that an assertion with the specified values is displayed in the test results.
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.
SimpleTestTest::testUserAgentValidation in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
Test validation of the User-Agent header we use to perform test requests.
SimpleTestTest::testWebTestRunner in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
Make sure that tests selected through the web interface are run and that the results are displayed correctly.
SortingTest::testSorting in drupal/core/modules/views/lib/Drupal/views/Tests/Wizard/SortingTest.php
Tests the sorting functionality.
StateSystemUpgradePathTest::testSystemVariableUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/StateSystemUpgradePathTest.php
Tests upgrade of system variables to state system.
StateValuesCleanAdvancedTest::testFormStateValuesCleanAdvanced in drupal/core/modules/system/lib/Drupal/system/Tests/Form/StateValuesCleanAdvancedTest.php
Tests form_state_values_clean().
StateValuesCleanTest::testFormStateValuesClean in drupal/core/modules/system/lib/Drupal/system/Tests/Form/StateValuesCleanTest.php
Tests form_state_values_clean().
StatisticsAdminTest::testStatisticsSettings in drupal/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsAdminTest.php
Verifies that the statistics settings page works.
StatisticsLoggingTest::testLogging in drupal/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsLoggingTest.php
Verifies request logging for cached and uncached pages.
StreamWrapperTest::testGetValidStreamScheme in drupal/core/modules/system/lib/Drupal/system/Tests/File/StreamWrapperTest.php
Test the scheme functions.
StyleMappingTest::mappedOutputHelper in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleMappingTest.php
Tests the mapping of fields.
StyleMappingTest::testMappedOutput in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleMappingTest.php
Verifies that the fields were mapped correctly.
StyleTest::testCustomRowClasses in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTest.php
Tests custom css classes.
StyleTest::testStyle in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTest.php
Tests the general renderering of styles.
StyleUnformattedTest::testDefaultRowClasses in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleUnformattedTest.php
Take sure that the default css classes works as expected.
SummaryLengthTest::testSummaryLength in drupal/core/modules/node/lib/Drupal/node/Tests/SummaryLengthTest.php
Tests the node summary length functionality.
SyslogTest::testSettings in drupal/core/modules/syslog/lib/Drupal/syslog/Tests/SyslogTest.php
Tests the syslog settings page.
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.
TableTest::testThemeTableStickyHeaders in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/TableTest.php
Tableheader.js provides 'sticky' table headers, and is included by default.
TaggingTest::testHasAllTags in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TaggingTest.php
Tests query tagging "has all of these tags" functionality.
TaggingTest::testHasAnyTag in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TaggingTest.php
Tests query tagging "has at least one of these tags" functionality.
TaggingTest::testHasTag in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TaggingTest.php
Confirms that a query has a tag added to it.
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.
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.
TermUnitTest::testTermDelete in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermUnitTest.php
TestBase::assertIdenticalObject in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
Checks to see if two objects are identical.
TextFieldTest::testTextFieldValidation in drupal/core/modules/field/modules/text/lib/Drupal/text/Tests/TextFieldTest.php
Test text field validation.
ThemeTest::testFrontPageThemeSuggestion in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php
Ensure page-front template suggestion is added when on front page.
ThemeTest::testListThemes in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php
Test the list_themes() function.
TimerUnitTest::testTimer in drupal/core/modules/system/lib/Drupal/system/Tests/Bootstrap/TimerUnitTest.php
Tests timer_read() time accumulation accuracy across multiple restarts.
TokenReplaceTest::testSystemTokenRecognition in drupal/core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php
Test whether token-replacement works in various contexts.
ToolkitGdTest::testManipulations in drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitGdTest.php
Since PHP can't visually check that our images have been manipulated properly, build a list of expected color values for each of the corners and the expected height and widths for the final images.
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::testGetAvailableToolkits in drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitTest.php
Check that hook_image_toolkits() is called and only available toolkits are returned.
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.
ToolkitTestBase::assertToolkitOperationsCalled in drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitTestBase.php
Assert that all of the specified image toolkit operations were called exactly once once, other values result in failure.
TrackerAttributesTest::_testBasicTrackerRdfaMarkup in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/TrackerAttributesTest.php
Helper function for testAttributesInTracker().
TransactionTest::assertRowPresent in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TransactionTest.php
Asserts that a given row is present in the test table.
TransactionTest::testTransactionStacking in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TransactionTest.php
Tests transaction stacking, commit, and rollback.
TransactionTest::transactionInnerLayer in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TransactionTest.php
Creates an "inner layer" transaction.
TransactionTest::transactionOuterLayer in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TransactionTest.php
Encapsulates a transaction's "inner layer" with an "outer layer".
TranslationTest::addLanguage in drupal/core/modules/translation/lib/Drupal/translation/Tests/TranslationTest.php
Installs the specified language, or enables it if it is already installed.
TranslationTest::assertContentByXPath in drupal/core/modules/translation/lib/Drupal/translation/Tests/TranslationTest.php
Asserts an element identified by the given XPath has the given content.
TranslationTest::assertLanguageSwitchLinks in drupal/core/modules/translation/lib/Drupal/translation/Tests/TranslationTest.php
Tests whether the specified language switch links are found.
TranslationTest::checkTranslationRevisions in drupal/core/modules/field/lib/Drupal/field/Tests/TranslationTest.php
Check if the field translation attached to the entity revision identified by the passed arguments were correctly stored.
TranslationTest::createPage in drupal/core/modules/translation/lib/Drupal/translation/Tests/TranslationTest.php
Creates a "Basic page" in the specified language.
TranslationTest::createTranslation in drupal/core/modules/translation/lib/Drupal/translation/Tests/TranslationTest.php
Creates a translation for a basic page in the specified language.
TranslationTest::testFieldAvailableLanguages in drupal/core/modules/field/lib/Drupal/field/Tests/TranslationTest.php
Ensures that only valid values are returned by field_available_languages().
TranslationTest::testFieldDisplayLanguage in drupal/core/modules/field/lib/Drupal/field/Tests/TranslationTest.php
Tests display language logic for translatable fields.
TranslationTest::testFieldInvokeMultiple in drupal/core/modules/field/lib/Drupal/field/Tests/TranslationTest.php
Test the multilanguage logic of _field_invoke_multiple().
TranslationTest::testTranslatableFieldSaveLoad in drupal/core/modules/field/lib/Drupal/field/Tests/TranslationTest.php
Test translatable fields storage/retrieval.
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.
UnmanagedCopyTest::testNormal in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedCopyTest.php
Copy a normal file.
UnmanagedCopyTest::testOverwriteSelf in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedCopyTest.php
Copy a file onto itself.
UnmanagedDeleteRecursiveTest::testDirectory in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedDeleteRecursiveTest.php
Try deleting a directory with some files.
UnmanagedDeleteRecursiveTest::testEmptyDirectory in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedDeleteRecursiveTest.php
Try deleting an empty directory.
UnmanagedDeleteRecursiveTest::testSingleFile in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedDeleteRecursiveTest.php
Delete a normal file.
UnmanagedDeleteRecursiveTest::testSubDirectory in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedDeleteRecursiveTest.php
Try deleting subdirectories with some files.
UnmanagedDeleteTest::testDirectory in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedDeleteTest.php
Try deleting a directory.
UnmanagedDeleteTest::testMissing in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedDeleteTest.php
Try deleting a missing file.
UnmanagedDeleteTest::testNormal in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedDeleteTest.php
Delete a normal file.
UnmanagedMoveTest::testNormal in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedMoveTest.php
Move a normal file.
UnmanagedMoveTest::testOverwriteSelf in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedMoveTest.php
Try to move a file onto itself.
UnmanagedSaveDataTest::testFileSaveData in drupal/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedSaveDataTest.php
Test the file_unmanaged_save_data() function.
UpdateContribTest::testUpdateContribOrder in drupal/core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php
Tests that contrib projects are ordered by project name.
UpdateFeedItemTest::testUpdateFeedItem in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/UpdateFeedItemTest.php
Test running "update items" from the 'admin/config/services/aggregator' page.
UpdateFeedTest::testUpdateFeed in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/UpdateFeedTest.php
Create a feed and attempt to update it.
UpdateLobTest::testUpdateMultipleBlob in drupal/core/modules/system/lib/Drupal/system/Tests/Database/UpdateLobTest.php
Confirms that we can update two blob columns in the same table.
UpdateLobTest::testUpdateOneBlob in drupal/core/modules/system/lib/Drupal/system/Tests/Database/UpdateLobTest.php
Confirms that we can update a blob column.
UrlTest::testDrupalParseUrl in drupal/core/modules/system/lib/Drupal/system/Tests/Common/UrlTest.php
Tests drupal_parse_url().
UrlTest::testLActiveClass in drupal/core/modules/system/lib/Drupal/system/Tests/Common/UrlTest.php
Tests for active class in l() function.
UrlTest::testLCustomClass in drupal/core/modules/system/lib/Drupal/system/Tests/Common/UrlTest.php
Tests for custom class in l() function.
UrlTest::testLXSS in drupal/core/modules/system/lib/Drupal/system/Tests/Common/UrlTest.php
Confirms that invalid URLs are filtered.
UsageTest::testGetUsage in drupal/core/modules/file/lib/Drupal/file/Tests/UsageTest.php
Tests file_usage()->listUsage().
UsageTest::testTempFileCleanup in drupal/core/modules/file/lib/Drupal/file/Tests/UsageTest.php
Ensure that temporary files are removed.
UserBlocksTests::testWhosOnlineBlock in drupal/core/modules/user/lib/Drupal/user/Tests/UserBlocksTests.php
Test the Who's Online block.
UserCancelTest::testMassUserCancelByAdmin in drupal/core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php
Create an administrative user and mass-delete other users.
UserCancelTest::testUserAnonymize in drupal/core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php
Delete account and anonymize all content.
UserCancelTest::testUserBlock in drupal/core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php
Disable account and keep all content.
UserCancelTest::testUserBlockUnpublish in drupal/core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php
Disable account and unpublish all content.
UserCancelTest::testUserCancelInvalid in drupal/core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php
Attempt invalid account cancellations.
UserCancelTest::testUserCancelWithoutPermission in drupal/core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php
Attempt to cancel account without permission.
UserCancelTest::testUserDelete in drupal/core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php
Delete account and remove all content.
UserDeleteTest::testUserDeleteMultiple in drupal/core/modules/user/lib/Drupal/user/Tests/UserDeleteTest.php
Test deleting multiple users.
UserPermissionsTest::testAdministratorRole in drupal/core/modules/user/lib/Drupal/user/Tests/UserPermissionsTest.php
Test assigning of permissions for the administrator role.
UserPermissionsTest::testUserPermissionChanges in drupal/core/modules/user/lib/Drupal/user/Tests/UserPermissionsTest.php
Change user permissions and check user_access().
UserPermissionsTest::testUserRoleChangePermissions in drupal/core/modules/user/lib/Drupal/user/Tests/UserPermissionsTest.php
Verify proper permission changes by user_role_change_permissions().
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::testRegistrationWithEmailVerification in drupal/core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php
UserRoleAdminTest::testRoleAdministration in drupal/core/modules/user/lib/Drupal/user/Tests/UserRoleAdminTest.php
Test adding, renaming and deleting roles.
UserRoleAdminTest::testRoleWeightChange in drupal/core/modules/user/lib/Drupal/user/Tests/UserRoleAdminTest.php
Test user role weight change operation.
UserRolesAssignmentTest::userLoadAndCheckRoleAssigned in drupal/core/modules/user/lib/Drupal/user/Tests/UserRolesAssignmentTest.php
Check role on user object.
UserRoleUpgradePathTest::testRoleUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/UserRoleUpgradePathTest.php
Tests expected role ID conversions after a successful upgrade.
UserSaveTest::testUserImport in drupal/core/modules/user/lib/Drupal/user/Tests/UserSaveTest.php
Test creating a user with arbitrary uid.
UserTokenReplaceTest::testUserTokenReplacement in drupal/core/modules/user/lib/Drupal/user/Tests/UserTokenReplaceTest.php
Creates a user, then tests the tokens generated from it.
UuidUnitTest::testGenerateUuid in drupal/core/modules/system/lib/Drupal/system/Tests/Uuid/UuidUnitTest.php
Tests generating a UUID.
UuidUnitTest::testUuidValidation in drupal/core/modules/system/lib/Drupal/system/Tests/Uuid/UuidUnitTest.php
Tests UUID validation.
UuidUpgradePathTest::testUuidUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/UuidUpgradePathTest.php
Tests a successful point release update.
ValidationTest::testValidateLimitErrors in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ValidationTest.php
Tests partial form validation through #limit_validation_errors.
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.
ValidNumberStepUnitTest::testNumberStep in drupal/core/modules/system/lib/Drupal/system/Tests/Common/ValidNumberStepUnitTest.php
Tests valid_number_step() without offset.
ValidNumberStepUnitTest::testNumberStepOffset in drupal/core/modules/system/lib/Drupal/system/Tests/Common/ValidNumberStepUnitTest.php
Tests valid_number_step() with offset.
ValidUrlUnitTest::testValidAbsolute in drupal/core/modules/system/lib/Drupal/system/Tests/Common/ValidUrlUnitTest.php
Tests valid absolute URLs.
ValidUrlUnitTest::testValidRelative in drupal/core/modules/system/lib/Drupal/system/Tests/Common/ValidUrlUnitTest.php
Tests valid relative URLs.
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::testDisplays in drupal/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php
Tests the display related methods and properties.
ViewExecutableTest::testInitMethods in drupal/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php
Tests the initDisplay() and initHandlers() methods.
ViewExecutableTest::testProperties in drupal/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php
Tests the accessing of values on the object.
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.
ViewStorageTest::createTests in drupal/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php
Tests creating configuration entities.
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::statusTests in drupal/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php
Tests statuses of configuration entities.
ViewStorageTest::testConfigurationEntityCRUD in drupal/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php
Tests CRUD operations.
ViewStorageTest::testCreateDuplicate in drupal/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php
Tests the createDuplicate() View method.
VocabularyTest::testTaxonomyAdminDeletingVocabulary in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/VocabularyTest.php
Deleting a vocabulary.
VocabularyUnitTest::testTaxonomyVocabularyChangeMachineName in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/VocabularyUnitTest.php
Tests that machine name changes are properly reflected.
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::assertFieldByXPath in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a field exists in the current page by the given XPath.
WebTestBase::assertFieldChecked in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a checkbox field in the current page is checked.
WebTestBase::assertMail in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that the most recently sent e-mail message has the given value.
WebTestBase::assertMailPattern in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that the most recently sent e-mail message has the pattern in it.
WebTestBase::assertMailString in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that the most recently sent e-mail message has the string in it.
WebTestBase::assertNoFieldChecked in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a checkbox field in the current page is not checked.
WebTestBase::assertNoOption in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a select option in the current page does not exist.
WebTestBase::assertNoOptionSelected in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a select option in the current page is not checked.
WebTestBase::assertOption in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a select option in the current page exists.
WebTestBase::assertOptionSelected in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a select option in the current page is checked.
WebTestBase::assertResponse in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts the page responds with the specified response code.
WebTestBase::clickLink in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Follows a link by name.
WebTestBase::createTypedData in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Creates a typed data object and executes some basic assertions.
WebTestBase::curlExec in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Initializes and executes a cURL request.
WebTestBase::drupalCreateUser in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Create a user with a given set of permissions.
WebTestBase::drupalPost in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Execute a POST request on a Drupal page. It will be done as usual POST request with SimpleBrowser.
WebTestBase::setUp in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Sets up a Drupal site for running functional and integration tests.
WizardTest::testCommentWizard in drupal/core/modules/views/lib/Drupal/views/Tests/Comment/WizardTest.php
Tests adding a view of comments.
WriteRecordTest::testDrupalWriteRecord in drupal/core/modules/system/lib/Drupal/system/Tests/Common/WriteRecordTest.php
Tests the drupal_write_record() API function.
XmlRpcMessagesTest::testAlterListMethods in drupal/core/modules/xmlrpc/lib/Drupal/xmlrpc/Tests/XmlRpcMessagesTest.php
Ensure that hook_xmlrpc_alter() can hide even builtin methods.