666 calls to BackdropTestCase::assertEqual()
- ActionLoopTestCase::triggerActions in core/modules/simpletest/tests/actions.test
- Create an infinite loop by causing a watchdog message to be set,
which causes the actions to be triggered again, up to actions_max_stack
times.
- AJAXDialogTest::testDialog in core/modules/simpletest/tests/ajax.test
- Test sending non-JS and AJAX requests to open and manipulate modals.
- AJAXFormPageCacheTestCase::getFormBuildId in core/modules/simpletest/tests/ajax.test
- Return the build id of the current form.
- AJAXFormPageCacheTestCase::testSimpleAJAXFormValue in core/modules/simpletest/tests/ajax.test
- Create a simple form, then POST to system/ajax to change to it.
- AJAXFrameworkTestCase::testLazyLoad in core/modules/simpletest/tests/ajax.test
- Test that new JavaScript and CSS files added during an AJAX request are returned.
- BackdropGetQueryArrayTestCase::testBackdropGetQueryArray in core/modules/simpletest/tests/common.test
- Tests that backdrop_get_query_array() correctly explodes query parameters.
- BackdropHtmlToTextTestCase::assertHtmlToText in core/modules/simpletest/tests/mail.test
- Helper function for testing backdrop_html_to_text().
- BackdropHtmlToTextTestCase::testBackdropHtmlToTextBlockTagToNewline in core/modules/simpletest/tests/mail.test
- Test that text separated by block-level tags in HTML get separated by
(at least) a newline in the plaintext version.
- BackdropHtmlToTextTestCase::testBackdropHtmltoTextUsenetSignature in core/modules/simpletest/tests/mail.test
- Tests backdrop_wrap_mail() retains whitespace from Usenet style signatures.
- BackdropRequestSanitizerUnitTestCase::testBackdropRequestSanitizer in core/modules/system/tests/system.test
- Tests request sanitation used in early bootstrap.
- BackdropWebTestCase::assertTitle in core/modules/simpletest/backdrop_web_test_case.php
- Pass if the page title is the given string.
- BackdropWebTestCase::assertUrl in core/modules/simpletest/backdrop_web_test_case.php
- Pass if the internal browser's URL matches the given path.
- BackdropWebTestCase::backdropCreateContentType in core/modules/simpletest/backdrop_web_test_case.php
- Creates a custom content type based on default settings.
- BackdropWebTestCase::backdropLogin in core/modules/simpletest/backdrop_web_test_case.php
- Log in a user with the internal browser.
- BatchPageTestCase::testBatchProgressPageTheme in core/modules/simpletest/tests/batch.test
- Tests that the batch API progress page uses the correct theme.
- BatchProcessingTestCase::testBackdropFormSubmitInBatch in core/modules/simpletest/tests/batch.test
- Test that backdrop_form_submit() can run within a batch operation.
- BatchProcessingTestCase::testBatchForm in core/modules/simpletest/tests/batch.test
- Test batches defined in a form submit handler.
- BatchProcessingTestCase::testBatchFormMultipleBatches in core/modules/simpletest/tests/batch.test
- Test batches defined in different submit handlers on the same form.
- BatchProcessingTestCase::testBatchFormMultistep in core/modules/simpletest/tests/batch.test
- Test batches defined in a multistep form.
- BatchProcessingTestCase::testBatchFormProgrammatic in core/modules/simpletest/tests/batch.test
- Test batches defined in a programmatically submitted form.
- BatchProcessingTestCase::testBatchLargePercentage in core/modules/simpletest/tests/batch.test
- Test batches that return $context['finished'] > 1 do in fact complete.
See http://drupal.org/node/600836
- BatchProcessingTestCase::testBatchNoForm in core/modules/simpletest/tests/batch.test
- Test batches triggered outside of form submission.
- BlockExampleTestCase::testBlockExampleBasic in modules/examples/block_example/tests/block_example.test
- Functional test for our block example.
- BlockTestCase::testCustomBlock in core/modules/block/tests/block.test
- Test creating custom block, editing, and then deleting it.
- BootstrapOverrideServerVariablesTestCase::testBackdropSettingsOverride in core/modules/simpletest/tests/bootstrap.test
- Test that settings.php variables can be overridden by the server.
- BootstrapPageCacheTestCase::testConditionalRequests in core/modules/simpletest/tests/bootstrap.test
- Test support for requests containing If-Modified-Since and If-None-Match headers.
- BootstrapPageCacheTestCase::testPageCache in core/modules/simpletest/tests/bootstrap.test
- Test cache headers.
- BootstrapPageCacheTestCase::testPageCompression in core/modules/simpletest/tests/bootstrap.test
- Test page compression.
- BootstrapResettableStaticTestCase::testBackdropStatic in core/modules/simpletest/tests/bootstrap.test
- Test that a variable reference returned by backdrop_static() gets reset when
backdrop_static_reset() is called.
- BootstrapTimerTestCase::testTimer in core/modules/simpletest/tests/bootstrap.test
- Test timer_read() to ensure it properly accumulates time when the timer
started and stopped multiple times.
- CacheGetMultipleUnitTest::testCacheMultiple in core/modules/simpletest/tests/cache.test
- Test getMultiple().
- CKEditor5TestCase::testLibrary in core/modules/ckeditor5/tests/ckeditor5.test
- Test the addition of the library to the page when configured.
- CKEditor5UpgradeTestCase::testUpgrade in core/modules/ckeditor5/tests/ckeditor5_upgrade.test
- Test upgrading a CKEditor 4 text format to CKEditor 5.
- CKEditorTestCase::testLibrary in core/modules/ckeditor/tests/ckeditor.test
- Test the addition of the library to the page when configured.
- CommentActionsTestCase::testCommentPublishUnpublishActions in core/modules/comment/tests/comment.test
- Tests comment publish and unpublish actions.
- CommentInterfaceTest::testCommentInterface in core/modules/comment/tests/comment.test
- Tests the comment interface.
- CommentInterfaceTest::testCommentNodeCommentStatistics in core/modules/comment/tests/comment.test
- Tests the node comment statistics.
- CommentNodeAutoCloserTestCase::testNodeCommentAutoCloserSettings in core/modules/comment/tests/comment.test
- Tests the auto closer node type setting and the override setting on individual nodes.
- CommentNodeChangesTestCase::testNodeCommentSettings in core/modules/comment/tests/comment.test
- Tests opening, closing, and hiding comments.
- CommentPagerTest::testCommentNewPageIndicator in core/modules/comment/tests/comment.test
- Tests comment_new_page_count().
- CommentPreviewTest::testCommentEditPreviewSave in core/modules/comment/tests/comment.test
- Tests comment edit, preview, and save.
- CommentThreadingTestCase::testCommentThreading in core/modules/comment/tests/comment.test
- Tests the comment threading.
- CommentTokenReplaceTestCase::testCommentTokenReplacement in core/modules/comment/tests/comment.test
- Creates a comment, then tests the tokens generated from it.
- CommonBackdropAlterTestCase::testBackdropAlter in core/modules/simpletest/tests/common.test
- CommonBackdropArrayUnitTest::testGet in core/modules/simpletest/tests/common.test
- Tests getting nested array values.
- CommonBackdropArrayUnitTest::testSet in core/modules/simpletest/tests/common.test
- Tests setting nested array values.
- CommonBackdropGotoTestCase::testBackdropGoto in core/modules/simpletest/tests/common.test
- Test backdrop_goto().
- CommonBackdropHTTPRequestTestCase::testBackdropHTTPRequest in core/modules/simpletest/tests/common.test
- CommonBackdropHTTPRequestTestCase::testBackdropHTTPRequestHeaders in core/modules/simpletest/tests/common.test
- Tests Content-language headers generated by Backdrop.
- CommonBackdropHTTPRequestTestCase::testBackdropHTTPRequestRedirect in core/modules/simpletest/tests/common.test
- CommonBackdropParseInfoFileTestCase::testParseInfoFile in core/modules/simpletest/tests/common.test
- Parse an example .info file an verify the results.
- CommonBackdropRenderTestCase::testBackdropRenderCache in core/modules/simpletest/tests/common.test
- Tests caching of render items.
- CommonBackdropRenderTestCase::testBackdropRenderThemeArguments in core/modules/simpletest/tests/common.test
- Test passing arguments to the theme function.
- CommonBackdropSystemListingTestCase::testDirectoryPrecedence in core/modules/simpletest/tests/common.test
- Test that files in different directories take precedence as expected.
- CommonCascadingStylesheetsTestCase::testAddExternal in core/modules/simpletest/tests/common.test
- Tests adding an external stylesheet.
- CommonCascadingStylesheetsTestCase::testAddFile in core/modules/simpletest/tests/common.test
- Tests adding a file stylesheet.
- CommonCascadingStylesheetsTestCase::testDefault in core/modules/simpletest/tests/common.test
- Check default stylesheets as empty.
- CommonCascadingStylesheetsTestCase::testRenderFile in core/modules/simpletest/tests/common.test
- Tests rendering the stylesheets.
- CommonCascadingStylesheetsTestCase::testRenderInlinePreprocess in core/modules/simpletest/tests/common.test
- Tests rendering inline stylesheets with preprocessing on.
- CommonCascadingStylesheetsTestCase::testRenderRemoveCharsetPreprocess in core/modules/simpletest/tests/common.test
- Tests removing charset when rendering stylesheets with preprocessing on.
- CommonCascadingStylesheetsTestCase::testReset in core/modules/simpletest/tests/common.test
- Makes sure that resetting the CSS empties the cache.
- CommonCascadingStylesheetsUnitTestCase::testLoadCssBasic in core/modules/simpletest/tests/common.test
- Tests basic CSS loading with and without optimization via backdrop_load_stylesheet().
- CommonJavaScriptTestCase::testAddFile in core/modules/simpletest/tests/common.test
- Test adding a JavaScript file.
- CommonJavaScriptTestCase::testAddInline in core/modules/simpletest/tests/common.test
- Test adding inline scripts.
- CommonJavaScriptTestCase::testAddSetting in core/modules/simpletest/tests/common.test
- Test adding settings.
- CommonJavaScriptTestCase::testAggregationOrder in core/modules/simpletest/tests/common.test
- Tests JavaScript aggregation when files are added to a different scope.
- CommonJavaScriptTestCase::testDefault in core/modules/simpletest/tests/common.test
- Test default JavaScript is empty.
- CommonJavaScriptTestCase::testDifferentGroup in core/modules/simpletest/tests/common.test
- Test adding a JavaScript file with a different group.
- CommonJavaScriptTestCase::testDifferentWeight in core/modules/simpletest/tests/common.test
- Test adding a JavaScript file with a different weight.
- CommonJavaScriptTestCase::testGetLibrary in core/modules/simpletest/tests/common.test
- Tests retrieval of libraries via backdrop_get_library().
- CommonJavaScriptTestCase::testLibraryAlter in core/modules/simpletest/tests/common.test
- Adds a JavaScript library to the page and alters it.
- CommonJavaScriptTestCase::testLibraryNameConflicts in core/modules/simpletest/tests/common.test
- Tests that multiple modules can implement the same library.
- CommonJavaScriptTestCase::testReset in core/modules/simpletest/tests/common.test
- Test to see if resetting the JavaScript empties the cache.
- CommonSimpleTestErrorCollectorTestCase::assertError in core/modules/simpletest/tests/common.test
- Assert that a collected error matches what we are expecting.
- CommonSimpleTestErrorCollectorTestCase::testErrorCollect in core/modules/simpletest/tests/common.test
- Test that simpletest collects errors from the tested site.
- CommonSizeUnitTestCase::testCommonFormatSize in core/modules/simpletest/tests/common.test
- Check that format_size() returns the expected string.
- CommonSizeUnitTestCase::testCommonParseSize in core/modules/simpletest/tests/common.test
- Check that parse_size() returns the proper byte sizes.
- CommonSizeUnitTestCase::testCommonParseSizeFormatSize in core/modules/simpletest/tests/common.test
- Cross-test parse_size() and format_size().
- CommonURLUnitTestCase::testBackdropGetQueryParameters in core/modules/simpletest/tests/common.test
- Test backdrop_get_query_parameters().
- CommonURLUnitTestCase::testBackdropHttpBuildQuery in core/modules/simpletest/tests/common.test
- Test backdrop_http_build_query().
- CommonURLUnitTestCase::testBackdropParseUrl in core/modules/simpletest/tests/common.test
- Test backdrop_parse_url().
- CommonURLWebTestCase::testExternalUrls in core/modules/simpletest/tests/common.test
- Test external URL handling.
- CommonURLWebTestCase::testUrl in core/modules/simpletest/tests/common.test
- Test url() with/without query, with/without fragment, absolute on/off and
assert all that works when clean URLs are on and off.
- CommonXssUnitTestCase::testEscaping in core/modules/simpletest/tests/common.test
- Check that special characters are escaped.
- CommonXssUnitTestCase::testFormatStringAndT in core/modules/simpletest/tests/common.test
- Test t() and format_string() replacement functionality.
- CommonXssUnitTestCase::testInvalidMultiByte in core/modules/simpletest/tests/common.test
- Check that invalid multi-byte sequences are rejected.
- ConfigurationHooksTest::testHooks in core/modules/config/tests/config.test
- Tests checking the validation hooks.
- ConfigurationSyncTest::testSync in core/modules/config/tests/config.test
- Tests that hook_config_create() is run during config sync.
- ConfigurationTest::testConfigHtaccess in core/modules/config/tests/config.test
- Tests that config directories are protected by .htaccess files.
- ConfigurationTest::testExistingConfig in core/modules/config/tests/config.test
- Tests reading existing config files provided by a module.
- ConfigurationTest::testOverrideConfig in core/modules/config/tests/config.test
- Tests that a config setting can be overridden.
- ConfigurationTest::testReadWriteClearConfig in core/modules/config/tests/config.test
- Tests that a config setting can be written, read and deleted.
- ConfigurationUITest::testDiff in core/modules/config/tests/config.test
- Tests the screen that shows differences between active and staging.
- ContactSitewideTestCase::testAutoReply in core/modules/contact/tests/contact.test
- Tests auto-reply on the site-wide contact form.
- ContactSitewideTestCase::testSiteWideContact in core/modules/contact/tests/contact.test
- Tests configuration options and the site-wide contact form.
- CronQueueTestCase::testCallable in core/modules/system/tests/system.test
- Tests worker defined as a class method callable.
- CronQueueTestCase::testExceptions in core/modules/system/tests/system.test
- Tests that exceptions thrown by workers are handled properly.
- CronRunTestCase::testCronCacheExpiration in core/modules/system/tests/system.test
- Tests that hook_flush_caches() is not invoked on every single cron run.
- CronRunTestCase::testCronExceptions in core/modules/system/tests/system.test
- Make sure exceptions thrown on hook_cron() don't affect other modules.
- CustomLogoTestCase::testCustomLogo in core/modules/system/tests/system.test
- Test the use of a custom logo.
- DashboardTest::testDashboardLayout in core/modules/dashboard/tests/dashboard.test
- Test the dashboard layout.
- DatabaseAlterTestCase::testAlterChangeConditional in core/modules/simpletest/tests/database_test.test
- Test that we can alter a query's conditionals.
- DatabaseAlterTestCase::testAlterChangeFields in core/modules/simpletest/tests/database_test.test
- Test that we can alter the fields of a query.
- DatabaseAlterTestCase::testAlterExpression in core/modules/simpletest/tests/database_test.test
- Test that we can alter expressions in the query.
- DatabaseAlterTestCase::testAlterRemoveRange in core/modules/simpletest/tests/database_test.test
- Test that we can remove a range() value from a query. This also tests hook_query_TAG_alter().
- DatabaseAlterTestCase::testAlterWithJoin in core/modules/simpletest/tests/database_test.test
- Test that we can alter the joins on a query.
- DatabaseAlterTestCase::testSimpleAlter in core/modules/simpletest/tests/database_test.test
- Test that we can do basic alters.
- DatabaseAlterTestCase::testSimpleAlterSubquery in core/modules/simpletest/tests/database_test.test
- Test that we can do basic alters on subqueries.
- DatabaseConnectionTestCase::testConnectionOptions in core/modules/simpletest/tests/database_test.test
- Tests the connection options of the active database.
- DatabaseDeleteTruncateTestCase::testSimpleDelete in core/modules/simpletest/tests/database_test.test
- Confirm that we can delete a single record successfully.
- DatabaseDeleteTruncateTestCase::testSubselectDelete in core/modules/simpletest/tests/database_test.test
- Confirm that we can use a subselect in a delete successfully.
- DatabaseDeleteTruncateTestCase::testTruncate in core/modules/simpletest/tests/database_test.test
- Confirm that we can truncate a whole table successfully.
- DatabaseEmptyStatementTestCase::testEmptyFetchAll in core/modules/simpletest/tests/database_test.test
- Test that the empty result set mass-fetches in an expected way.
- DatabaseExampleUnitTestCase::testAPIExamples in modules/examples/database_example/tests/database_example.test
- Tests several combinations, adding entries, updating and deleting.
- DatabaseExampleUnitTestCase::testInstall in modules/examples/database_example/tests/database_example.test
- Tests the default module installation, two entries in the database table.
- DatabaseExampleUnitTestCase::testUI in modules/examples/database_example/tests/database_example.test
- Tests the UI.
- DatabaseExtraTypesTestCase::testDateField in core/modules/simpletest/tests/database_test.test
- Test the date data type.
- DatabaseExtraTypesTestCase::testTimeField in core/modules/simpletest/tests/database_test.test
- Test the time data type.
- DatabaseInsertDefaultsTestCase::testDefaultInsert in core/modules/simpletest/tests/database_test.test
- Test that we can run a query that is "default values for everything".
- DatabaseInsertDefaultsTestCase::testDefaultInsertWithFields in core/modules/simpletest/tests/database_test.test
- Test that we can insert fields with values and defaults in the same query.
- DatabaseLoggingTestCase::testEnableLogging in core/modules/simpletest/tests/database_test.test
- Test that we can log the existence of a query.
- DatabaseLoggingTestCase::testEnableMultiConnectionLogging in core/modules/simpletest/tests/database_test.test
- Test that we can log queries separately on different connections.
- DatabaseLoggingTestCase::testEnableMultiLogging in core/modules/simpletest/tests/database_test.test
- Test that we can run two logs in parallel.
- DatabaseLoggingTestCase::testEnableTargetLogging in core/modules/simpletest/tests/database_test.test
- Test that we can log queries against multiple targets on the same connection.
- DatabaseLoggingTestCase::testEnableTargetLoggingNoTarget in core/modules/simpletest/tests/database_test.test
- Test that logs to separate targets collapse to the same connection properly.
- DatabaseMergeTestCase::testMergeInsert in core/modules/simpletest/tests/database_test.test
- Confirm that we can merge-insert a record successfully.
- DatabaseMergeTestCase::testMergeInsertWithoutUpdate in core/modules/simpletest/tests/database_test.test
- Test that we can merge-insert without any update fields.
- DatabaseMergeTestCase::testMergeUpdate in core/modules/simpletest/tests/database_test.test
- Confirm that we can merge-update a record successfully.
- DatabaseMergeTestCase::testMergeUpdateExcept in core/modules/simpletest/tests/database_test.test
- Confirm that we can merge-update a record successfully, with different insert and update.
- DatabaseMergeTestCase::testMergeUpdateExplicit in core/modules/simpletest/tests/database_test.test
- Confirm that we can merge-update a record successfully, with alternate replacement.
- DatabaseMergeTestCase::testMergeUpdateExpression in core/modules/simpletest/tests/database_test.test
- Confirm that we can merge-update a record successfully, with expressions.
- DatabaseMergeTestCase::testMergeUpdateWithoutUpdate in core/modules/simpletest/tests/database_test.test
- Confirm that we can merge-update without any update fields.
- DatabaseNextIdCase::testDbNextId in core/modules/simpletest/tests/database_test.test
- Test that the sequences API work.
- DatabaseQueryTestCase::testArraySubstitution in core/modules/simpletest/tests/database_test.test
- Test that we can specify an array of values in the query by passing in an array.
- DatabaseRangeQueryTestCase::testRangeQuery in core/modules/simpletest/tests/database_test.test
- Confirm that range query work and return correct result.
- DatabaseSelectCloneTest::testNestedQueryCloning in core/modules/simpletest/tests/database_test.test
- Tests that nested SELECT queries are cloned properly.
- DatabaseSelectCloneTest::testSelectConditionSubQueryCloning in core/modules/simpletest/tests/database_test.test
- Test that subqueries as value within conditions are cloned properly.
- DatabaseSelectComplexTestCase::testCountQuery in core/modules/simpletest/tests/database_test.test
- Test that we can generate a count query from a built query.
- DatabaseSelectComplexTestCase::testCountQueryDistinct in core/modules/simpletest/tests/database_test.test
- Test that we can generate a count query from a query with distinct.
- DatabaseSelectComplexTestCase::testCountQueryFieldRemovals in core/modules/simpletest/tests/database_test.test
- Test that countQuery properly removes fields and expressions.
- DatabaseSelectComplexTestCase::testCountQueryGroupBy in core/modules/simpletest/tests/database_test.test
- Test that we can generate a count query from a query with GROUP BY.
- DatabaseSelectComplexTestCase::testCountQueryRemovals in core/modules/simpletest/tests/database_test.test
- Test that countQuery properly removes 'all_fields' statements and
ordering clauses.
- DatabaseSelectComplexTestCase::testDefaultJoin in core/modules/simpletest/tests/database_test.test
- Test simple JOIN statements.
- DatabaseSelectComplexTestCase::testDistinct in core/modules/simpletest/tests/database_test.test
- Test distinct queries.
- DatabaseSelectComplexTestCase::testGroupBy in core/modules/simpletest/tests/database_test.test
- Test GROUP BY clauses.
- DatabaseSelectComplexTestCase::testGroupByAndHaving in core/modules/simpletest/tests/database_test.test
- Test GROUP BY and HAVING clauses together.
- DatabaseSelectComplexTestCase::testHavingCountQuery in core/modules/simpletest/tests/database_test.test
- DatabaseSelectComplexTestCase::testJoinTwice in core/modules/simpletest/tests/database_test.test
- Confirm we can join on a single table twice with a dynamic alias.
- DatabaseSelectComplexTestCase::testLeftOuterJoin in core/modules/simpletest/tests/database_test.test
- Test LEFT OUTER joins.
- DatabaseSelectComplexTestCase::testNestedConditions in core/modules/simpletest/tests/database_test.test
- Confirm that we can properly nest conditional clauses.
- DatabaseSelectComplexTestCase::testRange in core/modules/simpletest/tests/database_test.test
- Test range queries. The SQL clause varies with the database.
- DatabaseSelectOrderedTestCase::testOrderByEscaping in core/modules/simpletest/tests/database_test.test
- Tests that the sort direction is sanitized properly.
- DatabaseSelectOrderedTestCase::testSimpleSelectMultiOrdered in core/modules/simpletest/tests/database_test.test
- Test multiple order by.
- DatabaseSelectOrderedTestCase::testSimpleSelectOrdered in core/modules/simpletest/tests/database_test.test
- Test basic order by.
- DatabaseSelectOrderedTestCase::testSimpleSelectOrderedDesc in core/modules/simpletest/tests/database_test.test
- Test order by descending.
- DatabaseSelectPagerDefaultTestCase::testElementNumbers in core/modules/simpletest/tests/database_test.test
- Confirm that every pager gets a valid non-overlapping element ID.
- DatabaseSelectPagerDefaultTestCase::testEvenPagerQuery in core/modules/simpletest/tests/database_test.test
- Confirm that a pager query returns the correct results.
- DatabaseSelectPagerDefaultTestCase::testHavingPagerQuery in core/modules/simpletest/tests/database_test.test
- Confirm that a paging query with a having expression returns valid results.
- DatabaseSelectPagerDefaultTestCase::testInnerPagerQuery in core/modules/simpletest/tests/database_test.test
- Confirm that a pager query with inner pager query returns valid results.
- DatabaseSelectPagerDefaultTestCase::testOddPagerQuery in core/modules/simpletest/tests/database_test.test
- Confirm that a pager query returns the correct results.
- DatabaseSelectSubqueryTestCase::testConditionSubquerySelect in core/modules/simpletest/tests/database_test.test
- Test that we can use a subquery in a WHERE clause.
- DatabaseSelectSubqueryTestCase::testExistsSubquerySelect in core/modules/simpletest/tests/database_test.test
- Test EXISTS subquery conditionals on SELECT statements.
- DatabaseSelectSubqueryTestCase::testFromSubquerySelect in core/modules/simpletest/tests/database_test.test
- Test that we can use a subquery in a FROM clause.
- DatabaseSelectSubqueryTestCase::testFromSubquerySelectWithLimit in core/modules/simpletest/tests/database_test.test
- Test that we can use a subquery in a FROM clause with a limit.
- DatabaseSelectSubqueryTestCase::testJoinSubquerySelect in core/modules/simpletest/tests/database_test.test
- Test that we can use a subquery in a JOIN clause.
- DatabaseSelectSubqueryTestCase::testNotExistsSubquerySelect in core/modules/simpletest/tests/database_test.test
- Test NOT EXISTS subquery conditionals on SELECT statements.
- DatabaseSelectTableSortDefaultTestCase::testTableSortQuery in core/modules/simpletest/tests/database_test.test
- Confirm that a tablesort query returns the correct results.
- DatabaseSelectTableSortDefaultTestCase::testTableSortQueryFirst in core/modules/simpletest/tests/database_test.test
- Confirm that if a tablesort's orderByHeader is called before another orderBy, that the header happens first.
- DatabaseSelectTestCase::testIsNotNullCondition in core/modules/simpletest/tests/database_test.test
- Test that we can find a record without a NULL value.
- DatabaseSelectTestCase::testIsNullCondition in core/modules/simpletest/tests/database_test.test
- Test that we can find a record with a NULL value.
- DatabaseSelectTestCase::testNullCondition in core/modules/simpletest/tests/database_test.test
- Test that a comparison with NULL is always FALSE.
- DatabaseSelectTestCase::testRandomOrder in core/modules/simpletest/tests/database_test.test
- Test that random ordering of queries works.
- DatabaseSelectTestCase::testSimpleComment in core/modules/simpletest/tests/database_test.test
- Test rudimentary SELECT statement with a COMMENT.
- DatabaseSelectTestCase::testSimpleSelect in core/modules/simpletest/tests/database_test.test
- Test rudimentary SELECT statements.
- DatabaseSelectTestCase::testSimpleSelectAllFields in core/modules/simpletest/tests/database_test.test
- Test adding all fields from a given table to a select statement.
- DatabaseSelectTestCase::testSimpleSelectConditional in core/modules/simpletest/tests/database_test.test
- Test basic conditionals on SELECT statements.
- DatabaseSelectTestCase::testSimpleSelectExpression in core/modules/simpletest/tests/database_test.test
- Test SELECT statements with expressions.
- DatabaseSelectTestCase::testSimpleSelectExpressionMultiple in core/modules/simpletest/tests/database_test.test
- Test SELECT statements with multiple expressions.
- DatabaseSelectTestCase::testSimpleSelectMultipleFields in core/modules/simpletest/tests/database_test.test
- Test adding multiple fields to a select statement at the same time.
- DatabaseSelectTestCase::testUnion in core/modules/simpletest/tests/database_test.test
- Test that we can UNION multiple Select queries together. This is
semantically equal to UNION DISTINCT, so we don't explicitly test that.
- DatabaseSelectTestCase::testUnionAll in core/modules/simpletest/tests/database_test.test
- Test that we can UNION ALL multiple Select queries together.
- DatabaseSelectTestCase::testVulnerableComment in core/modules/simpletest/tests/database_test.test
- Test query COMMENT system against vulnerabilities.
- DatabaseSerializeQueryTestCase::testSerializeQuery in core/modules/simpletest/tests/database_test.test
- Confirm that a query can be serialized and unserialized.
- DatabaseTaggingTestCase::testMetaData in core/modules/simpletest/tests/database_test.test
- Test that we can attach meta data to a query object.
- DatabaseTemporaryQueryTestCase::testTemporaryQuery in core/modules/simpletest/tests/database_test.test
- Confirm that temporary tables work and are limited to one request.
- DatabaseTransactionTestCase::testTransactionWithDdlStatement in core/modules/simpletest/tests/database_test.test
- Test the compatibility of transactions with DDL statements.
- DatabaseUpdateComplexTestCase::testUpdateExpression in core/modules/simpletest/tests/database_test.test
- Test update with expression values.
- DatabaseUpdateComplexTestCase::testUpdateOnlyExpression in core/modules/simpletest/tests/database_test.test
- Test update with only expression values.
- DateAPITestCase::testDateAPI in core/modules/date/tests/date_api.test
- DateThemeTestCase::testDateDisplayCombination in core/modules/date/tests/date_themes.test
- Test date_display_combination theme function.
- DateThemeTestCase::testDateDisplaySingle in core/modules/date/tests/date_themes.test
- Test date_display_single theme function.
- DateTimeFunctionalTest::testDateFormatConfiguration in core/modules/system/tests/system.test
- Test date format configuration.
- DateTimeFunctionalTest::testDateFormatStorage in core/modules/system/tests/system.test
- Test if the date formats are stored properly.
- DateViewsTestCase::testDateViewsFields in core/modules/date/tests/date_views.test
- DBLogTestCase::testDBLogAddAndClear in core/modules/dblog/tests/dblog.test
- Tests the addition and clearing of log events through the admin interface.
- DBLogTestCase::testFilter in core/modules/dblog/tests/dblog.test
- Tests the database log filter functionality at admin/reports/dblog.
- EmailExampleTestCase::testContactForm in modules/examples/email_example/tests/email_example.test
- Verify the functionality of the example module.
- EntityAPIInfoTestCase::testEntityInfoCacheWatchdog in core/modules/entity/tests/entity.test
- Tests entity info cache after enabling a module with a dependency on an entity providing module.
- EntityAPIInfoTestCase::testEntityInfoChanges in core/modules/entity/tests/entity.test
- Ensures entity info cache is updated after changes.
- EntityAPITestCase::testCRUD in core/modules/entity/tests/entity.test
- Tests basic CRUD functionality of the Entity API.
- EntityFieldQueryTestCase::assertEntityFieldQuery in core/modules/entity/tests/entity_query.test
- Fetches the results of an EntityFieldQuery and compares.
- EntityFieldQueryTestCase::testEntityFieldQuery in core/modules/entity/tests/entity_query.test
- Tests EntityFieldQuery.
- EntityFieldQueryTestCase::testEntityFieldQueryTranslatable in core/modules/entity/tests/entity_query.test
- Tests querying translatable fields.
- EntityLoadTestCase::testEntityLoadConditions in core/modules/entity/tests/entity_crud.test
- Tests the functionality for loading entities matching certain conditions.
- EntityReferenceHandlersTestCase::assertReferenceable in core/modules/entityreference/tests/entityreference.handlers.test
- EntityReferenceHandlersTestCase::testNodeHandler in core/modules/entityreference/tests/entityreference.handlers.test
- Test the node-specific overrides of the entity handler.
- EntityReferenceTaxonomyTestCase::testIndexDuplicates in core/modules/entityreference/tests/entityreference.taxonomy.test
- Make sure the index only contains one entry for a given node->term
reference, even when multiple ER fields link from the node bundle to terms.
- EntityReferenceTaxonomyTestCase::testNodeIndex in core/modules/entityreference/tests/entityreference.taxonomy.test
- Test referencing a term using entity reference field.
- FeedIconTest::testFeedIconEscaping in core/modules/simpletest/tests/common.test
- Check that special characters are correctly escaped. Test for issue #1211668.
- FieldAttachOtherTestCase::testFieldAttachCache in core/modules/field/tests/field.test
- Test field cache.
- FieldAttachOtherTestCase::testFieldAttachForm in core/modules/field/tests/field.test
- Test field_attach_form().
- FieldAttachOtherTestCase::testFieldAttachValidate in core/modules/field/tests/field.test
- Test field_attach_validate().
- FieldAttachStorageTestCase::testFieldAttachCreateRenameBundle in core/modules/field/tests/field.test
- Test field_attach_create_bundle() and field_attach_rename_bundle().
- FieldAttachStorageTestCase::testFieldAttachDelete in core/modules/field/tests/field.test
- Test field_attach_delete().
- FieldAttachStorageTestCase::testFieldAttachDeleteBundle in core/modules/field/tests/field.test
- Test field_attach_delete_bundle().
- FieldAttachStorageTestCase::testFieldAttachLoadMultiple in core/modules/field/tests/field.test
- Test the 'multiple' load feature.
- FieldAttachStorageTestCase::testFieldAttachSaveLoad in core/modules/field/tests/field.test
- Check field values insert, update and load.
- FieldAttachStorageTestCase::testFieldAttachSaveLoadDifferentStorage in core/modules/field/tests/field.test
- Test saving and loading fields using different storage backends.
- FieldAttachStorageTestCase::testFieldAttachSaveMissingData in core/modules/field/tests/field.test
- Tests insert and update with missing or NULL fields.
- FieldAttachStorageTestCase::testFieldAttachSaveMissingDataDefaultValue in core/modules/field/tests/field.test
- Test insert with missing or NULL fields, with default value.
- FieldAttachStorageTestCase::testFieldStorageDetailsAlter in core/modules/field/tests/field.test
- Test storage details alteration.
- FieldBulkDeleteTestCase::checkHooksInvocations in core/modules/field/tests/field.test
- Tests that the expected hooks have been invoked on the expected entities.
- FieldBulkDeleteTestCase::testDeleteFieldInstance in core/modules/field/tests/field.test
- Verify that deleting an instance leaves the field data items in
the database and that the appropriate Field API functions can
operate on the deleted data and instance.
- FieldBulkDeleteTestCase::testPurgeField in core/modules/field/tests/field.test
- Verify that fields are preserved and purged correctly as multiple
instances are deleted and purged.
- FieldBulkDeleteTestCase::testPurgeInstance in core/modules/field/tests/field.test
- Verify that field data items and instances are purged when an
instance is deleted.
- FieldCrudTestCase::testCreateField in core/modules/field/tests/field.test
- Test the creation of a field.
- FieldCrudTestCase::testUpdateField in core/modules/field/tests/field.test
- Test updating a field.
- FieldExampleTest::testExampleFieldBasic in modules/examples/field_example/tests/field_example.test
- Test basic functionality of the example field.
- FieldFormTestCase::testFieldFormAccess in core/modules/field/tests/field.test
- Tests fields with no 'edit' access.
- FieldFormTestCase::testFieldFormSingle in core/modules/field/tests/field.test
- FieldFormTestCase::testFieldFormSingleRequired in core/modules/field/tests/field.test
- FieldFormTestCase::testFieldFormUnlimitedRequired in core/modules/field/tests/field.test
- Tests the position of the "required" symbol and the validation error text.
- FieldGetValueTestCase::testFieldGetValue in core/modules/field/tests/field.test
- Test field_get_value().
- FieldInfoTestCase::testFieldInfo in core/modules/field/tests/field.test
- Test that field types and field definitions are correctly cached.
- FieldInstanceCrudTestCase::testUpdateFieldInstance in core/modules/field/tests/field.test
- Test the update of a field instance.
- FieldSchemaAlterTestCase::testImageFieldSchemaAlter in core/modules/field/tests/field.test
- Tests a hook_field_schema_alter() implementation.
- FieldSqlStorageTestCase::testFieldAttachInsertAndUpdate in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Reads mysql to verify correct data is
written when using insert and update.
- FieldSqlStorageTestCase::testFieldAttachLoad in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Uses the mysql tables and records to verify
field_load_revision works correctly.
- FieldSqlStorageTestCase::testFieldAttachSaveMissingData in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Tests insert and update with missing or NULL fields.
- FieldSqlStorageTestCase::testFieldSqlStorageForeignKeys in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Test foreign key support.
- FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsDifferentColumns in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Test handling multiple conditions on multiple columns of one field.
- FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsDifferentColumnsMultipleLanguages in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Test handling multiple conditions on multiple columns of one field for multiple languages.
- FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsSameColumn in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Test handling multiple conditions on one column of a field.
- FieldSqlStorageTestCase::testFieldStorageDetails in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Test the storage details.
- FieldTestCase::assertFieldValues in core/modules/field/tests/field.test
- Assert that a field has the expected values in an entity.
- FieldTestPermissionsExample::testFieldnoteViewPerms in modules/examples/field_permission_example/tests/field_permission_example.test
- Test view permissions.
- FieldTranslationsTestCase::testFieldDisplayLanguage in core/modules/field/tests/field.test
- Tests display language logic for translatable fields.
- FieldTranslationsTestCase::testFieldInvoke in core/modules/field/tests/field.test
- Test the multilanguage logic of _field_invoke().
- FieldTranslationsTestCase::testFieldInvokeMultiple in core/modules/field/tests/field.test
- Test the multilanguage logic of _field_invoke_multiple().
- FieldUIManageDisplayTestCase::testFormatterUI in core/modules/field_ui/tests/field_ui.test
- Tests formatter settings.
- FieldUIManageFieldsTestCase::testDefaultValue in core/modules/field_ui/tests/field_ui.test
- Tests that default value is correctly validated and saved.
- FieldUIViewModeFunctionalTest::testFieldUIViewModes in core/modules/field_ui/tests/field_ui.test
- Tests display mode functionality.
- FieldViewsDataTest::testViewsData in core/modules/field/tests/field_views.test
- Unit testing the views data structure.
- FieldViewsFieldTest::_testFormatterSimpleFieldRender in core/modules/field/tests/field_views.test
- Tests that fields with formatters runs as expected.
- FieldViewsFieldTest::_testMultipleFieldRender in core/modules/field/tests/field_views.test
- FieldViewsFieldTest::_testSimpleFieldRender in core/modules/field/tests/field_views.test
- FileAccessFunctionsAlignedTestCase::testFileAccessFunctions in core/modules/file/tests/file.test
- Verify that both, file_access() and File::access() return the same value.
- FileAccessTestCase::assertFileAccess in core/modules/file/tests/file.test
- Asserts file_access correctly grants or denies access.
- FileAdminTestCase::testFileAdminPages in core/modules/file/tests/file.test
- Tests file overview with different user permissions.
- FileAdminTestCase::testFilesAdminSort in core/modules/file/tests/file.test
- Tests that the table sorting works on the files admin pages.
- FileAttributeOverrideTestCase::testFileFileAttributeOverrides in core/modules/file/tests/file.test
- Test to see if file attributes can be overridden.
- FileChangeSchemeTestCase::testChangeScheme in core/modules/file/tests/file.test
- FileCopyTest::testExistingError in core/modules/simpletest/tests/file.test
- Test that copying over an existing file fails when FILE_EXISTS_ERROR is
specified.
- FileCopyTest::testExistingRename in core/modules/simpletest/tests/file.test
- Test renaming when copying over a file that already exists.
- FileCopyTest::testExistingReplace in core/modules/simpletest/tests/file.test
- Test replacement when copying over a file that already exists.
- FileCopyTest::testNormal in core/modules/simpletest/tests/file.test
- Test file copying in the normal, base case.
- FileDeleteTest::testInUse in core/modules/simpletest/tests/file.test
- Tries deleting a file that is in use.
- FileDirectoryTest::testFileCheckDirectoryHandling in core/modules/simpletest/tests/file.test
- Test directory handling functions.
- FileDirectoryTest::testFileCreateNewFilepath in core/modules/simpletest/tests/file.test
- This will take a directory and path, and find a valid filepath that is not
taken by another file.
- FileDirectoryTest::testFileDestination in core/modules/simpletest/tests/file.test
- This will test the filepath for a destination based on passed flags and
whether or not the file exists.
- FileDirectoryTest::testFileDirectoryTemp in core/modules/simpletest/tests/file.test
- Ensure that the file_directory_temp() function always returns a value.
- FileDownloadTest::checkUrl in core/modules/simpletest/tests/file.test
- Download a file from the URL generated by file_create_url().
- FileDownloadTest::testPrivateFileTransfer in core/modules/simpletest/tests/file.test
- Test the private file transfer system.
- FileDownloadTest::testPublicFileTransfer in core/modules/simpletest/tests/file.test
- Test the public file transfer system.
- FileEditTestCase::testFileEdit in core/modules/file/tests/file.test
- Check file edit functionality.
- FileFieldAnonymousSubmission::testAnonymousNodeWithFile in core/modules/file/tests/file.test
- Tests file submission for an anonymous visitor.
- FileFieldAnonymousSubmission::_testNodeWithFileWithoutTitle in core/modules/file/tests/file.test
- Helper method to test file submissions with missing node titles.
- FileFieldRevisionTestCase::testRevisions in core/modules/file/tests/file.test
- Tests creating multiple revisions of a node and managing attached files.
- FileFieldWidgetTestCase::doTestTemporaryFileRemovalExploit in core/modules/file/tests/file.test
- Helper for testing exploiting the temporary file removal using fid.
- FileFileTypeClassificationTestCase::testFileTypeClassification in core/modules/file/tests/file.test
- Test that existing files are properly classified by file type.
- FileHookTestCase::assertFileHookCalled in core/modules/simpletest/tests/file.test
- Assert that a hook_file_* hook was called a certain number of times.
- FileLoadTest::testMultiple in core/modules/simpletest/tests/file.test
- This will test loading file data from the database.
- FileLoadTest::testSingleValues in core/modules/simpletest/tests/file.test
- Load a single file and ensure that the correct values are returned.
- FileManagedFileElementTestCase::testManagedFile in core/modules/file/tests/file.test
- Tests the managed_file element type.
- FileManagedFileElementTestCase::testManagedFileParentsHash in core/modules/file/tests/file.test
- Tests file_ajax_upload() parents_hash.
- FileMoveTest::testExistingError in core/modules/simpletest/tests/file.test
- Test that moving onto an existing file fails when FILE_EXISTS_ERROR is
specified.
- FileMoveTest::testExistingRename in core/modules/simpletest/tests/file.test
- Test renaming when moving onto a file that already exists.
- FileMoveTest::testExistingReplace in core/modules/simpletest/tests/file.test
- Test replacement when moving onto a file that already exists.
- FileMoveTest::testExistingReplaceSelf in core/modules/simpletest/tests/file.test
- Test replacement when moving onto itself.
- FileMoveTest::testNormal in core/modules/simpletest/tests/file.test
- Move a normal file.
- FileNameMungingTest::testMungeNullByte in core/modules/simpletest/tests/file.test
- Tests munging with a null byte in the filename.
- FilePrivateTestCase::testPrivateFile in core/modules/file/tests/file.test
- Tests file access for file uploaded to a private node.
- FileReplaceTestCase::testReplaceFile in core/modules/file/tests/file.test
- @todo Test image dimensions for an image field are reset when a file is replaced.
@todo Test image styles are cleared when an image is updated.
- FileSaveDataTest::testExistingError in core/modules/simpletest/tests/file.test
- Test that file_save_data() fails overwriting an existing file.
- FileSaveDataTest::testExistingRename in core/modules/simpletest/tests/file.test
- Test file_save_data() when renaming around an existing file.
- FileSaveDataTest::testExistingReplace in core/modules/simpletest/tests/file.test
- Test file_save_data() when replacing an existing file.
- FileSaveDataTest::testWithFilename in core/modules/simpletest/tests/file.test
- Test the file_save_data() function when a filename is provided.
- FileSaveDataTest::testWithoutFilename in core/modules/simpletest/tests/file.test
- Test the file_save_data() function when no filename is provided.
- FileSaveTest::testFileSave in core/modules/simpletest/tests/file.test
- FileSaveUploadTest::testNormal in core/modules/simpletest/tests/file.test
- Test the file_save_upload() function.
- FileScanDirectoryTest::testOptionCallback in core/modules/simpletest/tests/file.test
- Check that the callback function is called correctly.
- FileScanDirectoryTest::testOptionKey in core/modules/simpletest/tests/file.test
- Check that key parameter sets the return value's key.
- FileScanDirectoryTest::testOptionMinDepth in core/modules/simpletest/tests/file.test
- Check that the min_depth options lets us ignore files in the starting
directory.
- FileScanDirectoryTest::testOptionNoMask in core/modules/simpletest/tests/file.test
- Check that the no-mask parameter is honored.
- FileScanDirectoryTest::testOptionRecurse in core/modules/simpletest/tests/file.test
- Check that the recurse option descends into subdirectories.
- FileScanDirectoryTest::testReturn in core/modules/simpletest/tests/file.test
- Check the format of the returned values.
- FileSpaceUsedTest::testFileSpaceUsed in core/modules/simpletest/tests/file.test
- Test different users with the default status.
- FileTaxonomyTermTestCase::_testTermFile in core/modules/file/tests/file.test
- Runs tests for attaching a file field to a taxonomy term.
- FileTestCase::assertDirectoryPermissions in core/modules/simpletest/tests/file.test
- Helper function to test the permissions of a directory.
- FileTestCase::assertFilePermissions in core/modules/simpletest/tests/file.test
- Helper function to test the permissions of a file.
- FileTestCase::assertFileUnchanged in core/modules/simpletest/tests/file.test
- Check that two files have the same values for all fields other than the
timestamp.
- FileTestCase::assertSameFile in core/modules/simpletest/tests/file.test
- Check that two files are the same by comparing the fid and filepath.
- FileTestHelper::assertFileEntryExists in core/modules/file/tests/file.test
- Asserts that a file exists in the database.
- FileTokenReplaceTestCase::testFileTokenReplacement in core/modules/file/tests/file.test
- Creates a file, then tests the tokens generated from it.
- FileTypeTestCase::testCreate in core/modules/file/tests/file.test
- Test creating a new type. Basic CRUD.
- FileTypeTestCase::testTypesCrudUi in core/modules/file/tests/file.test
- Test file types CRUD UI.
- FileUnitTestCase::testFile in core/modules/file/tests/file.test
- Tests basic file entity properties.
- FileUnitTestCase::testImageDimensions in core/modules/file/tests/file.test
- Tests storing image height and width as file metadata.
- FileUnitTestCase::testMimeTypeMappings in core/modules/file/tests/file.test
- Regression tests for core issue https://www.drupal.org/node/1239376.
- FileUnmanagedCopyTest::testNormal in core/modules/simpletest/tests/file.test
- Copy a normal file.
- FileUnmanagedMoveTest::testNormal in core/modules/simpletest/tests/file.test
- Move a normal file.
- FileUnmanagedSaveDataTest::testFileSaveData in core/modules/simpletest/tests/file.test
- Test the file_unmanaged_save_data() function.
- FileUploadTransliterationTest::testTransliteration in core/modules/simpletest/tests/file.test
- FileUploadWizardTestCase::testFileUploadWizardFields in core/modules/file/tests/file.test
- Test the file upload wizard field step.
- FileURLRewritingTest::testPublicCreatedFileURL in core/modules/simpletest/tests/file.test
- Test the generating of rewritten public created file URLs.
- FileURLRewritingTest::testShippedFileURL in core/modules/simpletest/tests/file.test
- Test the generating of rewritten shipped file URLs.
- FileUsageTest::testAddUsage in core/modules/simpletest/tests/file.test
- Tests file_usage_add().
- FileUsageTest::testGetUsage in core/modules/simpletest/tests/file.test
- Tests file_usage_list().
- FileUsageTest::testRemoveUsage in core/modules/simpletest/tests/file.test
- Tests file_usage_delete().
- FileValidateTest::testCallerValidation in core/modules/simpletest/tests/file.test
- Test that the validators passed into are checked.
- FileValidateTest::testInsecureExtensions in core/modules/simpletest/tests/file.test
- Tests hard-coded security check in file_validate().
- FileValidatorTest::testFileValidateExtensions in core/modules/simpletest/tests/file.test
- Test the file_validate_extensions() function.
- FileValidatorTest::testFileValidateImageResolution in core/modules/simpletest/tests/file.test
- This ensures the resolution of a specific file is within bounds.
The image will be resized if it's too large.
- FileValidatorTest::testFileValidateIsImage in core/modules/simpletest/tests/file.test
- This ensures a specific file is actually an image.
- FileValidatorTest::testFileValidateNameLength in core/modules/simpletest/tests/file.test
- This will ensure the filename length is valid.
- FileValidatorTest::testFileValidateSize in core/modules/simpletest/tests/file.test
- Test file_validate_size().
- FilterAdminTestCase::testUrlFilterAdmin in core/modules/filter/tests/filter.test
- Tests the URL filter settings form is properly validated.
- FilterCRUDTestCase::verifyFilters in core/modules/filter/tests/filter.test
- Verifies that filters are properly stored for a text format.
- FilterCRUDTestCase::verifyTextFormat in core/modules/filter/tests/filter.test
- Verifies that a text format is properly stored.
- FilterDefaultFormatTestCase::testDefaultTextFormats in core/modules/filter/tests/filter.test
- Tests if the default text format is accessible to users.
- FilterDOMSerializeTestCase::testFilterEmptyDOMSerialization in core/modules/filter/tests/filter.test
- Tests empty DOMDocument object.
- FilterFormatAccessTestCase::testFormatDisabledAccess in core/modules/filter/tests/filter.test
- Tests loading of disabled formats.
- FilterFormatAccessTestCase::testFormatRoles in core/modules/filter/tests/filter.test
- Tests if text format is available to a role.
- FilterNoFormatTestCase::testCheckMarkupNoFormat in core/modules/filter/tests/filter.test
- Tests text without format.
- FilterSettingsTestCase::testFilterDefaults in core/modules/filter/tests/filter.test
- Tests explicit and implicit default settings for filters.
- FilterUnitTestCase::testFilterXSS in core/modules/filter/tests/filter.test
- Tests limiting allowed tags and XSS prevention.
- FilterUnitTestCase::testFilterXSSAdmin in core/modules/filter/tests/filter.test
- Tests the loose, admin HTML filter.
- FilterUnitTestCase::testHtmlCorrectorFilter in core/modules/filter/tests/filter.test
- Tests the HTML corrector filter.
- FilterUnitTestCase::testLineBreakFilter in core/modules/filter/tests/filter.test
- Tests the line break filter.
- FormCheckboxTestCase::testFormCheckbox in core/modules/simpletest/tests/form.test
- FormElementTestCase::testDisabledTabledragRow in core/modules/simpletest/tests/form.test
- Test disabled tableselect row.
- FormElementTestCase::testOptionIndentations in core/modules/simpletest/tests/form.test
- Test indentations for checkboxes, radios and select options.
- FormEmailTestCase::testFormEmail in core/modules/simpletest/tests/form.test
- Tests that #type 'email' fields are properly validated.
- FormH5datetimeTestCase::testFormH5datetime in core/modules/simpletest/tests/form.test
- Tests for #type 'html_date', 'html_time' and 'html_datetime' validation.
- FormH5datetimeTestCase::testNoAccessH5DateOrTimeElement in core/modules/simpletest/tests/form.test
- Test return value for disabled html_date and html_time elements.
- FormResizableTextareaTestCase::testResizableTextarea in core/modules/simpletest/tests/form.test
- Test that setting #resizable on form item results in correct CSS classes.
- FormsElementsLabelsTestCase::testFormLabels in core/modules/simpletest/tests/form.test
- Test form elements, labels, title attributes and required marks output
correctly and have the correct label option class if needed.
- FormsFormCacheTestCase::testCacheForm in core/modules/simpletest/tests/form.test
- Tests storing and retrieving the form from cache.
- FormsFormStoragePageCacheTestCase::getFormBuildId in core/modules/simpletest/tests/form.test
- Return the build id of the current form.
- FormsFormStoragePageCacheTestCase::testRebuildFormStorageOnCachedPage in core/modules/simpletest/tests/form.test
- Build-id is regenerated when rebuilding cached form.
- FormsFormStoragePageCacheTestCase::testValidateFormStorageOnCachedPage in core/modules/simpletest/tests/form.test
- Build-id is regenerated when validating cached form.
- FormsFormStorageTestCase::testImmutableForm in core/modules/simpletest/tests/form.test
- Verifies that form build-id is regenerated when loading an immutable form
from the cache.
- FormsFormStorageTestCase::testImmutableFormLegacyProtection in core/modules/simpletest/tests/form.test
- Verify that existing contrib code cannot overwrite immutable form state.
- FormsFormStorageTestCase::testMutableForm in core/modules/simpletest/tests/form.test
- Verify that the form build-id remains the same when validation errors
occur on a mutable form.
- FormStateValuesCleanTestCase::testFormStateValuesClean in core/modules/simpletest/tests/form.test
- Tests form_state_values_clean().
- FormsTestCase::testCheckboxProcessing in core/modules/simpletest/tests/form.test
- Test default value handling for checkboxes.
- FormsTestCase::testColorValidation in core/modules/simpletest/tests/form.test
- Tests validation of #type 'color' elements.
- FormsTestCase::testDisabledElements in core/modules/simpletest/tests/form.test
- Test handling of disabled elements.
- FormUrlTestCase::testFormUrl in core/modules/simpletest/tests/form.test
- Tests that #type 'url' fields are properly validated and trimmed.
- FrontPageTestCase::testBackdropIsFrontPage in core/modules/system/tests/system.test
- Test home page functionality.
- GraphUnitTest::assertComponents in core/modules/simpletest/tests/graph.test
- Verify expected components in a graph.
- GraphUnitTest::assertPaths in core/modules/simpletest/tests/graph.test
- Verify expected paths in a graph.
- GraphUnitTest::assertReversePaths in core/modules/simpletest/tests/graph.test
- Verify expected reverse paths in a graph.
- HookBootExitTestCase::testHookBootExit in core/modules/simpletest/tests/bootstrap.test
- Test calling of hook_boot() and hook_exit().
- IconTestCase::assertIconContentsEqual in core/modules/simpletest/tests/icon.test
- Compare the contents of two SVG icons for equality.
- IconTestCase::assertIconsEqual in core/modules/simpletest/tests/icon.test
- Compare an expected icon path against the active icon path by icon name.
- IconTestCase::testIconAttributes in core/modules/simpletest/tests/icon.test
- Test that rendered icons have the expected content and attributes.
- ImageAdminStylesUnitTest::testDefaultStyle in core/modules/image/tests/image.test
- Test to override, edit, then revert a style.
- ImageAdminStylesUnitTest::testStyle in core/modules/image/tests/image.test
- General test to add a style, add/remove/edit effects to it, then delete it.
- ImageDimensionsScaleTestCase::testImageDimensionsScale in core/modules/image/tests/image.test
- Tests all control flow branches in image_dimensions_scale().
- ImageDimensionsUnitTest::testImageDimensions in core/modules/image/tests/image.test
- Test styled image dimensions cumulatively.
- ImageFieldDefaultImagesTestCase::testDefaultImages in core/modules/image/tests/image.test
- Tests CRUD for fields and fields instances with default images.
- ImageFieldDisplayTestCase::testImageFieldDefaultImage in core/modules/image/tests/image.test
- Test use of a default image with an image field.
- ImageFieldDisplayTestCase::_testImageFieldFormatters in core/modules/image/tests/image.test
- Test image formatters on node display.
- ImageFieldValidateTestCase::testTypeSupport in core/modules/image/tests/image.test
- Test for supported image types.
- ImageStyleFloodProtection::assertMultiStyleGenerated in core/modules/image/tests/image.test
- ImageStyleFlushTest::testFlush in core/modules/image/tests/image.test
- General test to flush a style.
- ImageStylesPathAndUrlUnitTest::testImageStylePath in core/modules/image/tests/image.test
- Test image_style_path().
- ImageStylesPathAndUrlUnitTest::_testImageStyleUrlAndPath in core/modules/image/tests/image.test
- Test image_style_url().
- ImageStyleTokenTests::testTokens in core/modules/image/tests/token.test
- Test that the image style tokens exist.
- ImageThemeFunctionWebTestCase::testImageFormatterTheme in core/modules/image/tests/image.test
- Tests usage of the image field formatters.
- ImageToolkitUnitTest::testCrop in core/modules/simpletest/tests/image.test
- Test the image_crop() function.
- ImageToolkitUnitTest::testDesaturate in core/modules/simpletest/tests/image.test
- Test the image_desaturate() function.
- ImageToolkitUnitTest::testLoad in core/modules/simpletest/tests/image.test
- Test the image_load() function.
- ImageToolkitUnitTest::testResize in core/modules/simpletest/tests/image.test
- Test the image_resize() function.
- ImageToolkitUnitTest::testRotate in core/modules/simpletest/tests/image.test
- Test the image_rotate() function.
- ImageToolkitUnitTest::testScale in core/modules/simpletest/tests/image.test
- Test the image_scale() function.
- ImageToolkitUnitTest::testScaleAndCrop in core/modules/simpletest/tests/image.test
- Test the image_scale_and_crop() function.
- InfoFileParserTestCase::testBackdropParseInfoFormat in core/modules/system/tests/system.test
- Test backdrop_parse_info_format().
- InstallerBrowserAdministrationTestCase::testProjectBrowserInstallPage in core/modules/installer/tests/installer.test
- LanguageListTest::testLanguageList in core/modules/language/tests/language.test
- Functional tests for adding, configuring, and deleting languages.
- LanguageUpgradePathTestCase::testLanguageUpgrade in core/modules/simpletest/tests/upgrade/upgrade.language.test
- Tests a successful upgrade.
- LayoutBlockTest::testCustomTextBlocks in core/modules/layout/tests/layout.test
- Test Custom Text blocks.
- LayoutBlockTest::testHeroBlocks in core/modules/layout/tests/layout.test
- Test Hero blocks.
- LayoutBlockTest::testPageComponentBlocks in core/modules/layout/tests/layout.test
- Test Page component blocks.
- LayoutBlockTextTest::testBlockText in core/modules/layout/tests/layout.test
- Tests the BlockText class functionality.
- LayoutEntityLayoutsTest::testEntityLayouts in core/modules/layout/tests/layout_entity.test
- Test Custom Text blocks.
- LayoutFlexibleTemplateTest::testLayoutFlexibleTemplates in core/modules/layout/tests/layout.test
- Test that layout templates may be enabled and disabled.
- LayoutInterfaceTest::testBlockBasics in core/modules/layout/tests/layout.test
- Add and remove blocks from a custom layout path.
- LayoutInterfaceTest::testLayoutChange in core/modules/layout/tests/layout.test
- Tests switching between different layouts, ensuring block copying.
- LayoutInterfaceTest::testLayoutMenuItems in core/modules/layout/tests/layout.test
- Tests conditions and menu item navigation.
- LayoutInterfaceTest::testMainContentBlock in core/modules/layout/tests/layout.test
- Check special conditions around the main content block.
- LayoutInterfaceTest::testMenuItemReassignment in core/modules/layout/tests/layout.test
- Ensure that reassignment of menu items works when deleting layouts.
- LayoutInterfaceTest::testOverriddenPaths in core/modules/layout/tests/layout.test
- Test the overriding of paths.
- LayoutInterfaceTest::testRelationships in core/modules/layout/tests/layout.test
- Test the support for contexts within conditions and blocks.
- LayoutSelectionTest::assertIsAdminLayout in core/modules/layout/tests/layout.test
- LayoutSelectionTest::assertIsDefaultLayout in core/modules/layout/tests/layout.test
- LayoutUpgradePathTest::assertBlocks in core/modules/layout/tests/layout.test
- LinkUITest::testCRUDCreateFieldDefaults in core/modules/link/tests/link.ui.test
- Creates a field with all the default values and check expected values.
- LinkUITest::testCRUDCreateFieldWithClasses in core/modules/link/tests/link.ui.test
- Tests adding custom classes (single and multiple) to link fields.
- LinkUITest::testCRUDCreateFieldWithLinkType in core/modules/link/tests/link.ui.test
- Tests the link type: "internal", "external", and "both" settings.
- LinkValidateTest::testXss in core/modules/link/tests/link.validate.test
- Test if a bad URL will display if validation is disabled.
- LinkValidateTest::validateUrl in core/modules/link/tests/link.validate.test
- Checks if a URL is valid through the UI.
- LinkValidateUnitTest::testInvalidExternalLinks in core/modules/link/tests/link.validate.test
- LinkValidateUnitTest::testValidateBadNewsgroupLink in core/modules/link/tests/link.validate.test
- LinkValidateUnitTest::testValidateEmailLink in core/modules/link/tests/link.validate.test
- LinkValidateUnitTest::testValidateEmailLinkBad in core/modules/link/tests/link.validate.test
- LinkValidateUnitTest::testValidateExternalLinks in core/modules/link/tests/link.validate.test
- LinkValidateUnitTest::testValidateFrontLink in core/modules/link/tests/link.validate.test
- LinkValidateUnitTest::testValidateInternalLinks in core/modules/link/tests/link.validate.test
- LinkValidateUnitTest::testValidateNewsArticleLink in core/modules/link/tests/link.validate.test
- LinkValidateUnitTest::testValidateNewsgroupLink in core/modules/link/tests/link.validate.test
- ListFieldUITestCase::testListAllowedValuesBoolean in core/modules/field/modules/list/tests/list.test
- List (boolean) : test 'On/Off' values input.
- LocaleCommentLanguageFunctionalTest::testCommentLanguage in core/modules/locale/tests/locale.test
- Test that comment language is properly set.
- LocaleConfigurationTest::testLanguageConfiguration in core/modules/locale/tests/locale.test
- Functional tests for adding, editing and deleting languages.
- LocaleImportFunctionalTest::testStandalonePoFile in core/modules/locale/tests/locale.test
- Test import of standalone .po files.
- LocaleInstallTest::testFunctionSignatures in core/modules/locale/tests/locale.test
- Verify that function signatures of t() and st() are equal.
- LocaleJavascriptTranslationTest::testFileParsing in core/modules/locale/tests/locale.test
- LocaleLanguageNegotiationInfoFunctionalTest::testInfoAlterations in core/modules/locale/tests/locale.test
- Tests alterations to language types/negotiation info.
- LocaleMultilingualFieldsFunctionalTest::testMultilingualDisplaySettings in core/modules/locale/tests/locale.test
- LocalePathFunctionalTest::testPathLanguageConfiguration in core/modules/locale/tests/locale.test
- Test if a language can be associated with a URL alias.
- LocaleTranslationFunctionalTest::testStringTranslation in core/modules/locale/tests/locale.test
- Adds a language and tests string translation by users with the appropriate permissions.
- LocaleUninstallFunctionalTest::testUninstallProcess in core/modules/locale/tests/locale.test
- Check if the values of the Locale variables are correct after uninstall.
- LocaleUrlRewritingTest::testDomainNameNegotiationPort in core/modules/locale/tests/locale.test
- Check URL rewriting when using a domain name and a non-standard port.
- LocaleUserCreationTest::testLocalUserCreation in core/modules/locale/tests/locale.test
- Functional test for language handling during user creation.
- MailTestCase::testPluggableFramework in core/modules/simpletest/tests/mail.test
- Assert that the pluggable mail system is functional.
- MenuChangeTestCase::testMenuChangeTypeTestCase in core/modules/simpletest/tests/menu.test
- Test that updating the type of a menu item works correctly.
- MenuLinksUnitTestCase::assertMenuLinkParents in core/modules/simpletest/tests/menu.test
- Assert that at set of links is properly parented.
- MenuRebuildTestCase::testMenuRebuildByVariable in core/modules/simpletest/tests/menu.test
- Test if the 'menu_rebuild_needed' variable triggers a menu_rebuild() call.
- MenuRouterTestCase::testMenuHidden in core/modules/simpletest/tests/menu.test
- Tests menu link depth and parents of local tasks and menu callbacks.
- MenuRouterTestCase::testMenuHierarchy in core/modules/simpletest/tests/menu.test
- Tests for menu hierarchy.
- MenuRouterTestCase::testMenuItemHooks in core/modules/simpletest/tests/menu.test
- Test menu maintenance hooks.
- MenuRouterTestCase::testMenuName in core/modules/simpletest/tests/menu.test
- Tests for menu_name parameter for hook_menu().
- MenuRouterTestCase::testMenuSetItem in core/modules/simpletest/tests/menu.test
- Test menu_set_item().
- MenuTestCase::assertMenuLink in core/modules/menu/tests/menu.test
- Fetch the menu item from the database and compare it to the specified
array.
- MenuTestCase::testMenu in core/modules/menu/tests/menu.test
- Login users, add menus and menu links, and test menu functionality through the admin and user interfaces.
- MenuTrailTestCase::testCustom403And404Pages in core/modules/simpletest/tests/menu.test
- Tests that the active trail works correctly on custom 403 and 404 pages.
- MenuTreeOutputTestCase::testMenuTreeData in core/modules/simpletest/tests/menu.test
- Validate the generation of a proper menu tree output.
- ModuleTestCase::assertModules in core/modules/system/tests/system.test
- Assert the list of modules are enabled or disabled.
- ModuleUnitTest::assertModuleList in core/modules/simpletest/tests/module.test
- Assert that module_list() return the expected values.
- ModuleUnitTest::testDependencyResolution in core/modules/simpletest/tests/module.test
- Test dependency resolution.
- ModuleUnitTest::testModuleImplements in core/modules/simpletest/tests/module.test
- Test module_implements() caching.
- ModuleVersionTestCase::testModuleVersions in core/modules/system/tests/system.test
- Test version dependencies.
- NodeAccessExampleTestCase::checkSearchResults in modules/examples/node_access_example/tests/node_access_example.test
- Helper function.
- NodeAccessExampleTestCase::testNodeAccessBasic in modules/examples/node_access_example/tests/node_access_example.test
- Test the "private" node access.
- NodeAccessRecordsUnitTest::testNodeAccessRecords in core/modules/node/tests/node.test
- Creates a node and tests the creation of node access rules.
- NodeAccessUnitTest::assertNodeAccess in core/modules/node/tests/node.test
- Asserts node_access() correctly grants or denies access.
- NodeAdminTestCase::testContentAdminSort in core/modules/node/tests/node.test
- Tests that the table sorting works on the content admin pages.
- NodeBlockFunctionalTest::testNodeBlock in core/modules/node/tests/node.test
- Tests the Existing content block.
- NodeBlockTestCase::testSyndicateBlock in core/modules/node/tests/node.test
- Tests the "Syndicate" block settings.
- NodeEntityViewModeAlterTest::testNodeViewModeChange in core/modules/node/tests/node.test
- Create a "Page" node and verify its consistency in the database.
- NodeEntityViewModeAlterTest::testNodeViewModeChangeHiddenField in core/modules/node/tests/node.test
- Tests fields that were previously hidden when the display mode is changed.
- NodeLoadHooksTestCase::testHookNodeLoad in core/modules/node/tests/node.test
- Tests that hook_node_load() is invoked correctly.
- NodeLoadMultipleUnitTest::testNodeMultipleLoad in core/modules/node/tests/node.test
- Creates four nodes and ensures that they are loaded correctly.
- NodeMultiByteUtf8Test::testMultiByteUtf8 in core/modules/node/tests/node.test
- Tests that multi-byte UTF-8 characters are stored and retrieved correctly.
- NodePageCacheTest::testNodeSaveAfterUsernameChange in core/modules/node/tests/node.test
- Check that cached node info does not run out of sync with user data.
- NodePageCacheTest::testNodeUpdateInsertCache in core/modules/node/tests/node.test
- Test node update and insert with entity cache.
- NodePostSettingsTestCase::testPagePostInfo in core/modules/node/tests/node.test
- Confirms "Page" content type and post information is on a new node.
- NodePublishScheduling::testNodeTypeCreateDefaultDraft in core/modules/node/tests/node.test
- NodeQueryAlter::testNodeQueryAlterLowLevelEditAccess in core/modules/node/tests/node.test
- Tests 'node_access' query alter, for edit access.
- NodeQueryAlter::testNodeQueryAlterLowLevelNoAccess in core/modules/node/tests/node.test
- Tests 'node_access' query alter, for user without access.
- NodeQueryAlter::testNodeQueryAlterLowLevelWithAccess in core/modules/node/tests/node.test
- Tests 'node_access' query alter, for user with access.
- NodeQueryAlter::testNodeQueryAlterOverride in core/modules/node/tests/node.test
- Tests 'node_access' query alter override.
- NodeQueryAlter::testNodeQueryAlterWithUI in core/modules/node/tests/node.test
- Tests that node access permissions are followed.
- NodeRevisionsTestCase::testNodeRevisionWithoutLogMessage in core/modules/node/tests/node.test
- Checks that revisions are correctly saved without log messages.
- NodeSaveTestCase::testDeterminingChanges in core/modules/node/tests/node.test
- Tests determining changes in hook_node_presave() and verifies the static
node load cache is cleared upon save.
- NodeSaveTestCase::testImport in core/modules/node/tests/node.test
- Checks whether custom node IDs are saved properly during an import operation.
- NodeSaveTestCase::testNodeSaveOnInsert in core/modules/node/tests/node.test
- Tests saving a node on node insert.
- NodeSaveTestCase::testTimestamps in core/modules/node/tests/node.test
- Verifies accuracy of the "created" and "changed" timestamp functionality.
- NodeTitleTestCase::testNodeTitle in core/modules/node/tests/node.test
- Creates one node and tests if the node title has the correct value.
- NodeTokenReplaceTestCase::testNodeTokenReplacement in core/modules/node/tests/node.test
- Creates a node, then tests the tokens generated from it.
- NodeTypePersistenceTestCase::testNodeTypeCustomizationPersistence in core/modules/node/tests/node.test
- Tests that node type customizations persist through disable and uninstall.
- NodeTypeTestCase::testNodeTypeCreation in core/modules/node/tests/node.test
- Tests creating a content type programmatically and via a form.
- NodeTypeTestCase::testNodeTypeEditing in core/modules/node/tests/node.test
- Tests editing a node type using the UI.
- NumberFieldTestCase::testNumberFieldEmpty in core/modules/field/modules/number/tests/number.test
- Test empty value submission.
- OptionsSelectDynamicValuesTestCase::testSelectListDynamic in core/modules/field/modules/options/tests/options.test
- Tests the 'options_select' widget (single select).
- PageEditTestCase::testPageEdit in core/modules/node/tests/node.test
- Checks node edit functionality.
- PagePreviewTestCase::testPagePreview in core/modules/node/tests/node.test
- Checks the node preview functionality.
- PathLanguageTestCase::testAliasTranslation in core/modules/path/tests/path.test
- Test alias functionality through the admin interfaces.
- PathLookupTest::testBackdropLookupPath in core/modules/simpletest/tests/path.test
- Test that backdrop_lookup_path() returns the correct path.
- PathMonolingualTestCase::setUp in core/modules/path/tests/path.test
- Sets up a Backdrop site for running functional and integration tests.
- PathPatternTokenTestCase::testPathPatternTokens in core/modules/path/tests/path_pattern.test
- PathPatternUnitTestCase::testCleanAlias in core/modules/path/tests/path_pattern.test
- Test path_clean_alias().
- PathPatternUnitTestCase::testCleanString in core/modules/path/tests/path_pattern.test
- Test path_clean_string().
- PathTestCase::testAdminAlias in core/modules/path/tests/path.test
- Tests alias functionality through the admin interfaces.
- QueueTestCase::testQueue in core/modules/system/tests/system.test
- Queues and dequeues a set of items to check the basic queue functionality.
- RedirectFunctionalTest::testPageCache in core/modules/redirect/tests/redirect.test
- Tests the links added to 404 pages for creating URL redirects.
- RedirectFunctionalTest::testPathChangeRedirects in core/modules/redirect/tests/redirect.test
- Tests renaming automatic aliases in a circular loop.
- RedirectTestHelper::assertNoRedirect in core/modules/redirect/tests/redirect.test
- RedirectTestHelper::assertRedirect in core/modules/redirect/tests/redirect.test
- RedirectUnitTest::testCompareArrayRecursive in core/modules/redirect/tests/redirect.test
- Test the redirect_compare_array_recursive() function.
- RetrieveFileTestCase::testFileRetrieving in core/modules/system/tests/system.test
- Invokes system_retrieve_file() in several scenarios.
- SchemaTestCase::assertFieldCharacteristics in core/modules/simpletest/tests/schema.test
- Assert that a newly added field has the correct characteristics.
- SchemaTestCase::checkSchemaComment in core/modules/simpletest/tests/schema.test
- Checks that a table or column comment matches a given description.
- SchemaTestCase::testSchema in core/modules/simpletest/tests/schema.test
- SearchBlockTestCase::testBlock in core/modules/search/tests/search.test
- Test that the search block form works correctly.
- SearchConfigSettingsForm::testSearchModuleDisabling in core/modules/search/tests/search.test
- Verify that you can disable individual search modules.
- SearchConfigSettingsForm::testSearchNodeTypes in core/modules/search/tests/search.test
- Verify enabling/disabling of certain node types.
- SearchEmbedForm::testEmbeddedForm in core/modules/search/tests/search.test
- Tests that the embedded form appears and can be submitted.
- SearchExcerptTestCase::testSearchExcerpt in core/modules/search/tests/search.test
- Tests search_excerpt() with several simulated search keywords.
- SearchExpressionInsertExtractTestCase::testInsertExtract in core/modules/search/tests/search.test
- Tests search_expression_insert() and search_expression_extract().
- SearchLanguageTestCase::testLanguages in core/modules/search/tests/search.test
- SearchMatchTestCase::_testQueryMatching in core/modules/search/tests/search.test
- Test the matching abilities of the engine.
- SearchMatchTestCase::_testQueryScores in core/modules/search/tests/search.test
- Test the scoring abilities of the engine.
- SearchRankingTestCase::testDoubleRankings in core/modules/search/tests/search.test
- Verifies that if we combine two rankings, search still works.
- SearchRankingTestCase::testHTMLRankings in core/modules/search/tests/search.test
- Test rankings of HTML tags.
- SearchRankingTestCase::testRankings in core/modules/search/tests/search.test
- SearchSimplifyTestCase::testSearchSimplifyPunctuation in core/modules/search/tests/search.test
- Tests that search_simplify() does the right thing with punctuation.
- SearchTokenizerTestCase::testNoTokenizer in core/modules/search/tests/search.test
- Verifies that strings of non-CJK characters are not tokenized.
- SearchTokenizerTestCase::testTokenizer in core/modules/search/tests/search.test
- Verifies that strings of CJK characters are tokenized.
- SessionHttpsTestCase::testHttpsSession in core/modules/simpletest/tests/session.test
- SessionTestCase::testEmptyAnonymousSession in core/modules/simpletest/tests/session.test
- Test that empty anonymous sessions are destroyed.
- SessionTestCase::testSessionWrite in core/modules/simpletest/tests/session.test
- Test that sessions are only saved when necessary.
- ShutdownFunctionsTest::testShutdownFunctions in core/modules/system/tests/system.test
- Test shutdown functions.
- SimpleTestBrowserTestCase::testCookieDoesNotBleed in core/modules/simpletest/tests/simpletest.test
- Tests that the cookies from a previous test do not bleed into a new test.
- SimpleTestBrowserTestCase::testCookies in core/modules/simpletest/tests/simpletest.test
- Tests that cookies set during a request are available for testing.
- SimpleTestBrowserTestCase::testGetAbsoluteUrl in core/modules/simpletest/tests/simpletest.test
- Test BackdropWebTestCase::getAbsoluteUrl().
- SimpleTestBrowserTestCase::testXPathEscaping in core/modules/simpletest/tests/simpletest.test
- Tests XPath escaping.
- SimpleTestFunctionalTest::testInternalBrowser in core/modules/simpletest/tests/simpletest.test
- Test the internal browsers functionality.
- SimpleTestMailCaptureTestCase::testMailSend in core/modules/simpletest/tests/simpletest.test
- Test to see if the wrapper function is executed correctly.
- StreamWrapperTest::testGetClassName in core/modules/simpletest/tests/file.test
- Test the getClassName() function.
- StreamWrapperTest::testGetInstanceByScheme in core/modules/simpletest/tests/file.test
- Test the file_stream_wrapper_get_instance_by_scheme() function.
- StreamWrapperTest::testGetValidStreamScheme in core/modules/simpletest/tests/file.test
- Test the scheme functions.
- StreamWrapperTest::testUriFunctions in core/modules/simpletest/tests/file.test
- Test the URI and target functions.
- SystemConfigFormCase::testConfigForm in core/modules/simpletest/tests/system_config_test.inc
- Submit the system_config_form and then test the configuration has the
expected values.
- SystemThemeFunctionalTest::testSwitchDefaultTheme in core/modules/system/tests/system.test
- Test switching the default theme.
- TableSortTest::testTableSortInit in core/modules/simpletest/tests/tablesort.test
- Test tablesort_init().
- TaxonomyEFQTestCase::testTaxonomyEFQ in core/modules/taxonomy/tests/taxonomy.test
- Tests that a basic taxonomy EntityFieldQuery works.
- TaxonomyHooksTestCase::testTaxonomyTermHooks in core/modules/taxonomy/tests/taxonomy.test
- Test that hooks are run correctly on creating, editing, viewing,
and deleting a term.
- TaxonomyLegacyTestCase::testTaxonomyLegacyNode in core/modules/taxonomy/tests/taxonomy.test
- Test taxonomy functionality with nodes prior to 1970.
- TaxonomyLoadMultipleUnitTest::testTaxonomyTermMultipleLoad in core/modules/taxonomy/tests/taxonomy.test
- Create a vocabulary and some taxonomy terms, ensuring they're loaded
correctly using taxonomy_term_load_multiple().
- TaxonomyQueryAlterTestCase::testTaxonomyQueryAlter in core/modules/taxonomy/tests/taxonomy.test
- Tests that appropriate tags are added when querying the database.
- TaxonomyTermFieldMultipleVocabularyTestCase::testTaxonomyTermFieldMultipleVocabularies in core/modules/taxonomy/tests/taxonomy.test
- Tests term reference field and widget with multiple vocabularies.
- TaxonomyTermIndexTestCase::testTaxonomyIndex in core/modules/taxonomy/tests/taxonomy.test
- Tests that the taxonomy index is maintained properly.
- TaxonomyTermTestCase::testTaxonomyGetTermByName in core/modules/taxonomy/tests/taxonomy.test
- Test taxonomy_term_load_multiple_by_name().
- TaxonomyTermTestCase::testTaxonomyTermHierarchy in core/modules/taxonomy/tests/taxonomy.test
- Test terms in a single and multiple hierarchy.
- TaxonomyTermTestCase::testTermMultipleParentsInterface in core/modules/taxonomy/tests/taxonomy.test
- Test saving a term with multiple parents through the UI.
- TaxonomyTermTestCase::testTermReorder in core/modules/taxonomy/tests/taxonomy.test
- Save, edit and delete a term using the user interface.
- TaxonomyTermUnitTest::testTaxonomyVocabularyTree in core/modules/taxonomy/tests/taxonomy.test
- Test a taxonomy with terms that have multiple parents of different depths.
- TaxonomyTokenReplaceTestCase::testTaxonomyTokenReplacement in core/modules/taxonomy/tests/taxonomy.test
- Creates some terms and a node, then tests the tokens generated from them.
- TaxonomyVocabularyUnitTest::testTaxonomyVocabularyDeleteWithTerms in core/modules/taxonomy/tests/taxonomy.test
- Test deleting a taxonomy that contains terms.
- TaxonomyVocabularyUnitTest::testTaxonomyVocabularyLoadMultiple in core/modules/taxonomy/tests/taxonomy.test
- Tests for loading multiple vocabularies.
- TaxonomyVocabularyUnitTest::testTaxonomyVocabularyLoadStaticReset in core/modules/taxonomy/tests/taxonomy.test
- Ensure that the vocabulary static reset works correctly.
- ThemeDatetime::testThemeDatetime in core/modules/simpletest/tests/theme.test
- Test function theme_datetime().
- ThemeFunctionsTestCase::testBackdropPreRenderLinks in core/modules/simpletest/tests/theme.test
- Test the use of backdrop_pre_render_links() on a nested array of links.
- ThemeHeadTag::testThemeHeadTag in core/modules/simpletest/tests/theme.test
- Test function theme_head_tag()
- ThemeUnitTest::testThemeSuggestions in core/modules/simpletest/tests/theme.test
- Test function theme_get_suggestions() for SA-CORE-2009-003.
- TokenReplaceTestCase::testSystemDateTokenReplacement in core/modules/simpletest/tests/token.test
- Tests the generation of all system date tokens.
- TokenReplaceTestCase::testSystemSiteTokenReplacement in core/modules/simpletest/tests/token.test
- Tests the generation of all system site information tokens.
- TokenReplaceTestCase::testTokenReplacement in core/modules/simpletest/tests/token.test
- Creates a user and a node, then tests the tokens generated from them.
- TokenUnitTestCase::testGetInvalidTokens in core/modules/simpletest/tests/token.test
- Test token_get_invalid_tokens() and token_get_invalid_tokens_by_context().
- TranslationTestCase::testContentTranslation in core/modules/translation/tests/translation.test
- Creates, modifies, and updates a page with a translation.
- TransliterationTest::testMachineNameTransliteration in core/modules/simpletest/tests/transliteration.test
- Tests machine name transliteration provided by System module.
- TransliterationTest::testTransliteration in core/modules/simpletest/tests/transliteration.test
- Tests transliteration API.
- UnicodeUnitTest::helperTestStrLen in core/modules/simpletest/tests/unicode.test
- UnicodeUnitTest::helperTestStrToLower in core/modules/simpletest/tests/unicode.test
- UnicodeUnitTest::helperTestStrToUpper in core/modules/simpletest/tests/unicode.test
- UnicodeUnitTest::helperTestSubStr in core/modules/simpletest/tests/unicode.test
- UnicodeUnitTest::helperTestUcFirst in core/modules/simpletest/tests/unicode.test
- UnicodeUnitTest::runTruncateTests in core/modules/simpletest/tests/unicode.test
- Runs test cases for helperTestTruncate().
- UnicodeUnitTest::testDecodeEntities in core/modules/simpletest/tests/unicode.test
- Test decode_entities().
- UpdateCoreTestCase::testFetchTasks in core/modules/update/tests/update.test
- Tests that exactly one fetch task per project is created and not more.
- UpdateCoreTestCase::testGetUpdaterFromDirectory in core/modules/update/tests/update.test
- Test that getUpdaterFromDirectory() gets the right class for core updates.
- UpdateCoreTestCase::testUpdateCheckingEnabled in core/modules/update/tests/update.test
- Tests _update_checking_enabled() returns the expected value during tests.
- UpdateCoreUnitTestCase::testUpdateBuildFetchUrl in core/modules/update/tests/update.test
- Tests that _update_build_fetch_url() builds the URL correctly.
- UpdateDependencyOrderingTestCase::testUpdateOrderingSingleModule in core/modules/simpletest/tests/update.test
- Test that updates within a single module run in the correct order.
- UpdateDrupal7TestCase::testAvailableUpdates in core/modules/simpletest/tests/update.test
- Tests that updates will be executed in the correct order.
- UpdateScriptFunctionalTest::testThemeSystem in core/modules/system/tests/system.test
- Tests the effect of using the update script on the theme system.
- UserAccountLinksUnitTests::testAccountMenu in core/modules/user/tests/user.test
- Test the user login block.
- UserAdminTestCase::testUserAdmin in core/modules/user/tests/user.test
- Registers a user and deletes it.
- UserBlocksUnitTests::testDisabledAccountLink in core/modules/user/tests/user.test
- Tests disabling the 'My account' link.
- UserBlocksUnitTests::testUserLoginBlock in core/modules/user/tests/user.test
- Tests the secondary menu.
- UserCancelTestCase::testMassUserCancelByAdmin in core/modules/user/tests/user.test
- Create an administrative user and mass-delete other users.
- UserCancelTestCase::testUserCancelUid1 in core/modules/user/tests/user.test
- Tests that user account for uid 1 cannot be cancelled.
- UserCreateTestCase::testUserAdd in core/modules/user/tests/user.test
- Create a user through the administration interface and ensure that it
displays in the user list.
- UserEditRebuildTestCase::testUserEditFormRebuild in core/modules/user/tests/user.test
- Test user edit page when the form is set to rebuild.
- UserEntityCallbacksTestCase::testLabelCallback in core/modules/user/tests/user.test
- Test label callback.
- UserEntityCallbacksTestCase::testUriCallback in core/modules/user/tests/user.test
- Test URI callback.
- UserLoginTestBase::assertFailedLogin in core/modules/user/tests/user.test
- Make an unsuccessful login attempt.
- UserPasswordResetTest::testUserPasswordReset in core/modules/user/tests/user_password_reset.test
- Tests password reset functionality.
- UserPictureTestCase::testExternalPicture in core/modules/user/tests/user.test
- Test HTTP schema working with user pictures.
- UserRegistrationTestCase::testRegistrationDefaultValues in core/modules/user/tests/user.test
- UserRegistrationTestCase::testRegistrationWithUserFields in core/modules/user/tests/user.test
- Tests Field API fields on user registration forms.
- UserTokenReplaceTestCase::testUserTokenReplacement in core/modules/user/tests/user.test
- Creates a user, then tests the tokens generated from it.
- UserViewsArgumentDefault::test_plugin_argument_default_current_user in core/modules/user/tests/user_views_argument_default.test
- ViewsAccessTest::testDynamicAccessPlugin in core/modules/views/tests/views_access.test
- Tests dynamic access plugin.
- ViewsAccessTest::testStaticAccessPlugin in core/modules/views/tests/views_access.test
- Tests static access check.
- ViewsAjaxTest::testAjaxView in core/modules/views/tests/views_ajax.test
- Tests an ajax and non-ajax view.
- ViewsArgumentDefaultTest::testArgumentDefaultFixed in core/modules/views/tests/views_argument_default.test
- Tests fixed default argument.
- ViewsBasicTest::testSimpleArgument in core/modules/views/tests/views_basic.test
- Tests simple argument.
- ViewsBasicTest::testSimpleFiltering in core/modules/views/tests/views_basic.test
- Tests filtering of the result set.
- ViewsBasicTest::testSimpleResultSet in core/modules/views/tests/views_basic.test
- Tests a trivial result set.
- ViewsCacheTest::testExposedFilterSameResultsCaching in core/modules/views/tests/views_cache.test
- Test caching of different exposed filter values with the same view result.
- ViewsCacheTest::testHttpHeadersCaching in core/modules/views/tests/views_cache.test
- Check that HTTP headers are cached for views.
- ViewsCacheTest::testNoneCaching in core/modules/views/tests/views_cache.test
- Tests no caching.
- ViewsCacheTest::testTimeCaching in core/modules/views/tests/views_cache.test
- Tests time based caching.
- ViewsGlossaryTestCase::testGlossaryView in core/modules/views/tests/views_glossary.test
- Tests the default glossary view.
- ViewsHandlerAreaTextTest::testAreaText in core/modules/views/tests/handlers/views_handler_area_text.test
- ViewsHandlerArgumentNullTest::testAreaText in core/modules/views/tests/handlers/views_handler_argument_null.test
- ViewsHandlerArgumentStringTest::testGlossary in core/modules/views/tests/handlers/views_handler_argument_string.test
- Tests the glossary feature.
- ViewsHandlerFieldBooleanTest::testFieldBoolean in core/modules/views/tests/handlers/views_handler_field_boolean.test
- ViewsHandlerFieldCustomTest::testFieldCustom in core/modules/views/tests/handlers/views_handler_field_custom.test
- ViewsHandlerFieldDateTest::assertRenderedDatesEqual in core/modules/views/tests/handlers/views_handler_field_date.test
- ViewsHandlerFieldDropbuttonTest::testDropbutton in core/modules/views/tests/handlers/views_handler_field_dropbutton.test
- Tests dropbutton display.
- ViewsHandlerFieldMath::testFieldCustom in core/modules/views/tests/handlers/views_handler_field_math.test
- Test basic field functionality.
- ViewsHandlerFieldUrlTest::testFieldUrl in core/modules/views/tests/handlers/views_handler_field_url.test
- ViewsHandlerFileExtensionTest::testFileExtensionTarOption in core/modules/views/tests/handlers/views_handler_field_file_extension.test
- Tests the 'extension_detect_tar' handler option.
- ViewsHandlerFilterCounterTest::testSimple in core/modules/views/tests/handlers/views_handler_field_counter.test
- ViewsHandlerFilterInOperator::testFilterInOperatorGroupedExposedSimple in core/modules/views/tests/handlers/views_handler_filter_in_operator.test
- ViewsHandlerFilterInOperator::testFilterInOperatorSimple in core/modules/views/tests/handlers/views_handler_filter_in_operator.test
- ViewsHandlerFilterInOperator::testFilterNotInOperatorGroupedExposedSimple in core/modules/views/tests/handlers/views_handler_filter_in_operator.test
- ViewsHandlerManyToOneTest::testGroupedOneOf in core/modules/views/tests/handlers/views_handler_manytoone.test
- Tests duplicate grouped "one of" filters on taxonomy term field.
- ViewsHandlerManyToOneTest::testReducedExposedGroupedOptions in core/modules/views/tests/handlers/views_handler_manytoone.test
- Tests exposed filter with "Reduce duplicates." and grouped options.
- ViewsHandlerSortDateTest::testDateOrdering in core/modules/views/tests/handlers/views_handler_sort_date.test
- Tests numeric ordering of the result set.
- ViewsHandlerSortRandomTest::testRandomOrdering in core/modules/views/tests/handlers/views_handler_sort_random.test
- Tests random ordering of the result set.
- ViewsHandlerSortTest::testNumericOrdering in core/modules/views/tests/handlers/views_handler_sort.test
- Tests numeric ordering of the result set.
- ViewsHandlerSortTest::testStringOrdering in core/modules/views/tests/handlers/views_handler_sort.test
- Tests string ordering of the result set.
- ViewsHandlersTest::test_views_break_phrase in core/modules/views/tests/views_handlers.test
- Tests views_break_phrase function.
- ViewsHandlersTest::test_views_break_phrase_string in core/modules/views/tests/views_handlers.test
- Tests views_break_phrase_string function.
- ViewsHandlerTestFileSize::testFieldFileSize in core/modules/views/tests/handlers/views_handler_field_file_size.test
- ViewsHandlerTestXss::testFieldXss in core/modules/views/tests/handlers/views_handler_field_xss.test
- ViewsModuleTest::assertInstanceHandler in core/modules/views/tests/views_module.test
- Ensure that a certain handler is a instance of a certain table/field.
- ViewsModuleTest::testFetchData in core/modules/views/tests/views_module.test
- Tests views_fetch_data().
- ViewsModuleTest::testviews_get_handler in core/modules/views/tests/views_module.test
- Tests the views_get_handler method.
- ViewsModuleTest::test_views_trim_text in core/modules/views/tests/views_module.test
- ViewsPagerTest::testLimit in core/modules/views/tests/views_pager.test
- Tests the some pager plugin.
- ViewsPagerTest::testNoLimit in core/modules/views/tests/views_pager.test
- Tests the none-pager-query.
- ViewsPagerTest::testNormalPager in core/modules/views/tests/views_pager.test
- Tests the normal pager.
- ViewsPagerTest::testPagerApi in core/modules/views/tests/views_pager.test
- Test the api functions on the view object.
- ViewsPagerTest::testRenderNullPager in core/modules/views/tests/views_pager.test
- Tests rendering with NULL pager.
- ViewsPagerTest::testViewTotalRowsWithoutPager in core/modules/views/tests/views_pager.test
- ViewsPluginDisplayBlockTestCase::testViewBlocks in core/modules/views/tests/plugins/views_plugin_display_block.test
- Tests, whether and how the reset button can be renamed.
- ViewsPluginDisplayTestCase::testFilterGroupsUpdating in core/modules/views/tests/plugins/views_plugin_display.test
- Based on a bug some filter_groups landed in the overridden display, even the filters weren't overridden.
This caused multiple issues.
Take sure that the value from the default display are used.
- ViewsPluginStyleJumpMenuTest::testDuplicatePaths in core/modules/views/tests/styles/views_plugin_style_jump_menu.test
- Tests jump menus with more than one same path but maybe different titles.
- ViewsPluginStyleTestCase::testGroupingLegacy in core/modules/views/tests/styles/views_plugin_style.test
- Tests the grouping legacy features of styles.
- ViewsPluginStyleTestCase::_testGrouping in core/modules/views/tests/styles/views_plugin_style.test
- Tests the grouping features of styles.
- ViewsQueryGroupByTest::GroupByTestHelper in core/modules/views/tests/views_groupby.test
- ViewsQueryGroupByTest::testAggregateCount in core/modules/views/tests/views_groupby.test
- Tests aggregate count feature.
- ViewsTranslatableTest::testTranslation in core/modules/views/tests/views_translatable.test
- Make sure that the translations get into the loaded view.
- ViewsTranslatableTest::testTranslationKey in core/modules/views/tests/views_translatable.test
- Make sure that the different things have the right translation keys.
- ViewsTranslatableTest::testUnpackTranslatable in core/modules/views/tests/views_translatable.test
- Tests the unpack translation functionality.
- ViewsUIWizardBasicTestCase::testViewsWizardAndListing in core/modules/views/tests/views_ui.test
- ViewsUIWizardDisplaysTestCase::testReorderDisplays in core/modules/views/tests/views_ui.test
- Test reordering of displays.
- ViewsUpgradeTestCase::testMovedTo in core/modules/views/tests/views_upgrade.test
- Tests the moved to parameter in general.
- ViewsViewTest::assertViewDestroy in core/modules/views/tests/views_view.test
- ViewsViewTest::testValidate in core/modules/views/tests/views_view.test