153 calls to DrupalTestCase::assertIdentical()

AJAXFrameworkTestCase::testLazyLoad in modules/simpletest/tests/ajax.test
Test that new JavaScript and CSS files added during an AJAX request are returned.
ArrayDiffUnitTest::testArrayDiffAssocRecursive in modules/simpletest/tests/common.test
Tests drupal_array_diff_assoc_recursive().
BlockHashTestCase::assertWeight in modules/block/block.test
Asserts that the block_test module's block has a given weight.
BookTestCase::checkBookNode in modules/book/book.test
Checks the outline of sub-pages; previous, up, and next.
BootstrapDestinationTestCase::testDestination in modules/simpletest/tests/bootstrap.test
Tests that $_GET/$_REQUEST['destination'] only contain internal URLs.
BootstrapGetFilenameTestCase::testDrupalGetFilename in modules/simpletest/tests/bootstrap.test
Test that drupal_get_filename() works correctly when the file is not found in the database.
BootstrapGetFilenameWebTestCase::testDrupalGetFilename in modules/simpletest/tests/bootstrap.test
Test that drupal_get_filename() works correctly with a full Drupal site.
BootstrapMiscTestCase::testMisc in modules/simpletest/tests/bootstrap.test
Test miscellaneous functions in bootstrap.inc.
BootstrapOverrideServerVariablesTestCase::testDrupalOverrideServerVariablesProvidedURL in modules/simpletest/tests/bootstrap.test
Test providing a direct URL to to drupal_override_server_variables().
BootstrapVariableTestCase::testVariable in modules/simpletest/tests/bootstrap.test
testVariable
BootstrapVariableTestCase::testVariableDefaults in modules/simpletest/tests/bootstrap.test
Makes sure that the default variable parameter is passed through okay.
CascadingStylesheetsTestCase::testRenderOrder in modules/simpletest/tests/common.test
Test CSS ordering.
CommentPagerTest::assertCommentOrder in modules/comment/comment.test
Helper function: assert that the comments are displayed in the correct order.
CommentPagerTest::testCommentNewPageIndicator in modules/comment/comment.test
Test comment_new_page_count().
CommonXssUnitTest::testBadProtocolStripping in modules/simpletest/tests/common.test
Check that harmful protocols are stripped.
ConnectionUnitTest::addConnection in modules/simpletest/tests/database_test.test
Adds a new database connection info to Database.
ContactPersonalTestCase::testPersonalContactFlood in modules/contact/contact.test
Tests the personal contact form flood protection.
ContactSitewideTestCase::testSiteWideContact in modules/contact/contact.test
Tests configuration options and the site-wide contact form.
DatabaseBasicSyntaxTestCase::testBasicConcat in modules/simpletest/tests/database_test.test
Test for string concatenation.
DatabaseBasicSyntaxTestCase::testFieldConcat in modules/simpletest/tests/database_test.test
Test for string concatenation with field values.
DatabaseBasicSyntaxTestCase::testLikeBackslash in modules/simpletest/tests/database_test.test
Test LIKE query containing a backslash.
DatabaseBasicSyntaxTestCase::testLikeEscape in modules/simpletest/tests/database_test.test
Test escaping of LIKE wildcards.
DatabaseCaseSensitivityTestCase::testCaseSensitiveInsert in modules/simpletest/tests/database_test.test
Test BINARY collation in MySQL.
DatabaseConnectionTestCase::testConnectionOptions in modules/simpletest/tests/database_test.test
Tests the connection options of the active database.
DatabaseConnectionTestCase::testConnectionRouting in modules/simpletest/tests/database_test.test
Test that connections return appropriate connection objects.
DatabaseConnectionTestCase::testConnectionRoutingOverride in modules/simpletest/tests/database_test.test
Test that connections return appropriate connection objects.
DatabaseDeleteTruncateTestCase::testSimpleDelete in modules/simpletest/tests/database_test.test
Confirm that we can delete a single record successfully.
DatabaseFetch2TestCase::testQueryFetchBoth in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record into a doubly-keyed array explicitly.
DatabaseFetch2TestCase::testQueryFetchCol in modules/simpletest/tests/database_test.test
Confirm that we can fetch an entire column of a result set at once.
DatabaseFetch2TestCase::testQueryFetchNum in modules/simpletest/tests/database_test.test
DatabaseFetchTestCase::testQueryFetchArray in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record to an array associative explicitly.
DatabaseFetchTestCase::testQueryFetchClass in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record into a new instance of a custom class.
DatabaseFetchTestCase::testQueryFetchClasstype in modules/simpletest/tests/database_test.test
Confirms that we can fetch a record into a new instance of a custom class. The name of the class is determined from a value of the first column.
DatabaseFetchTestCase::testQueryFetchDefault in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record properly in default object mode.
DatabaseFetchTestCase::testQueryFetchObject in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record to an object explicitly.
DatabaseInsertDefaultsTestCase::testDefaultEmptyInsert in modules/simpletest/tests/database_test.test
Test that no action will be preformed if no fields are specified.
DatabaseInsertTestCase::testInsertFieldOnlyDefinintion in modules/simpletest/tests/database_test.test
Test that we can specify fields without values and specify values later.
DatabaseInsertTestCase::testInsertLastInsertID in modules/simpletest/tests/database_test.test
Test that inserts return the proper auto-increment ID.
DatabaseInsertTestCase::testInsertSelectAll in modules/simpletest/tests/database_test.test
Tests that the INSERT INTO ... SELECT * ... syntax works.
DatabaseInsertTestCase::testInsertSelectFields in modules/simpletest/tests/database_test.test
Test that the INSERT INTO ... SELECT (fields) ... syntax works.
DatabaseInsertTestCase::testMultiInsert in modules/simpletest/tests/database_test.test
Test that we can insert multiple records in one query object.
DatabaseInsertTestCase::testRepeatedInsert in modules/simpletest/tests/database_test.test
Test that an insert object can be reused with new data after it executes.
DatabaseInsertTestCase::testSimpleInsert in modules/simpletest/tests/database_test.test
Test the very basic insert functionality.
DatabaseRegressionTestCase::testDBFieldExists in modules/simpletest/tests/database_test.test
Test the db_field_exists() function.
DatabaseRegressionTestCase::testDBIndexExists in modules/simpletest/tests/database_test.test
Test the db_index_exists() function.
DatabaseRegressionTestCase::testDBTableExists in modules/simpletest/tests/database_test.test
Test the db_table_exists() function.
DatabaseRegressionTestCase::testRegression_310447 in modules/simpletest/tests/database_test.test
Regression test for #310447.
DatabaseReservedKeywordTestCase::testInsertReservedWordTable in modules/simpletest/tests/database_test.test
DatabaseReservedKeywordTestCase::testMergeReservedWordTable in modules/simpletest/tests/database_test.test
DatabaseReservedKeywordTestCase::testUpdateReservedWordTable in modules/simpletest/tests/database_test.test
DatabaseTransactionTestCase::testCommittedTransaction in modules/simpletest/tests/database_test.test
Test committed transaction.
DatabaseTransactionTestCase::testTransactionRollBackNotSupported in modules/simpletest/tests/database_test.test
Test transaction rollback on a database that does not support transactions.
DatabaseUpdateComplexTestCase::testBetweenConditionUpdate in modules/simpletest/tests/database_test.test
Test BETWEEN conditional clauses.
DatabaseUpdateComplexTestCase::testInConditionUpdate in modules/simpletest/tests/database_test.test
Test WHERE IN clauses.
DatabaseUpdateComplexTestCase::testLikeConditionUpdate in modules/simpletest/tests/database_test.test
Test LIKE conditionals.
DatabaseUpdateComplexTestCase::testNotInConditionUpdate in modules/simpletest/tests/database_test.test
Test WHERE NOT IN clauses.
DatabaseUpdateComplexTestCase::testOrConditionUpdate in modules/simpletest/tests/database_test.test
Test updates with OR conditionals.
DatabaseUpdateComplexTestCase::testUpdateExpression in modules/simpletest/tests/database_test.test
Test update with expression values.
DatabaseUpdateComplexTestCase::testUpdateOnlyExpression in modules/simpletest/tests/database_test.test
Test update with only expression values.
DatabaseUpdateTestCase::testExpressionUpdate in modules/simpletest/tests/database_test.test
Test updating with expressions.
DatabaseUpdateTestCase::testMultiGTUpdate in modules/simpletest/tests/database_test.test
Confirm that we can update a multiple records with a non-equality condition.
DatabaseUpdateTestCase::testMultiUpdate in modules/simpletest/tests/database_test.test
Confirm that we can update a multiple records successfully.
DatabaseUpdateTestCase::testSimpleNullUpdate in modules/simpletest/tests/database_test.test
Confirm updating to NULL.
DatabaseUpdateTestCase::testSimpleUpdate in modules/simpletest/tests/database_test.test
Confirm that we can update a single record successfully.
DatabaseUpdateTestCase::testWhereAndConditionUpdate in modules/simpletest/tests/database_test.test
Confirm that we can stack condition and where calls.
DatabaseUpdateTestCase::testWhereUpdate in modules/simpletest/tests/database_test.test
Confirm that we can update a multiple records with a where call.
DrupalAttributesUnitTest::testDrupalAttributes in modules/simpletest/tests/common.test
Tests that drupal_html_class() cleans the class name properly.
DrupalDataApiTest::testDrupalWriteRecord in modules/simpletest/tests/common.test
Test the drupal_write_record() API function.
DrupalHTMLIdentifierTestCase::testDrupalCleanCSSIdentifier in modules/simpletest/tests/common.test
Tests that drupal_clean_css_identifier() cleans the identifier properly.
DrupalHTMLIdentifierTestCase::testDrupalHTMLClass in modules/simpletest/tests/common.test
Tests that drupal_html_class() cleans the class name properly.
DrupalHTMLIdentifierTestCase::testDrupalHTMLId in modules/simpletest/tests/common.test
Tests that drupal_html_id() cleans the ID properly.
DrupalHTTPResponseStatusLineTest::testStatusLine in modules/simpletest/tests/common.test
Tests parsing HTTP response status line.
DrupalJSONTest::testJSON in modules/simpletest/tests/common.test
Tests converting PHP variables to JSON strings and back.
DrupalMatchPathTestCase::testDrupalMatchPath in modules/simpletest/tests/path.test
Run through our test cases, making sure each one works as expected.
DrupalRenderTestCase::testDrupalRenderBasics in modules/simpletest/tests/common.test
Tests the output drupal_render() for some elementary input values.
DrupalWebTestCase::assertThemeOutput in modules/simpletest/drupal_web_test_case.php
Asserts themed output.
DrupalWebTestCase::drupalPostAJAX in modules/simpletest/drupal_web_test_case.php
Execute an Ajax submission.
EntityFieldQueryTestCase::testEntityFieldQueryRouting in modules/simpletest/tests/entity_query.test
Tests the routing feature of EntityFieldQuery.
EntityLoadTestCase::testEntityLoadConditions in modules/simpletest/tests/entity_crud.test
Tests the functionality for loading entities matching certain conditions.
FieldAttachOtherTestCase::testFieldAttachSubmit in modules/field/tests/field.test
Test field_attach_submit().
FieldAttachOtherTestCase::testFieldAttachValidate in modules/field/tests/field.test
Test field_attach_validate().
FieldAttachStorageTestCase::testFieldAttachCreateRenameBundle in modules/field/tests/field.test
Test field_attach_create_bundle() and field_attach_rename_bundle().
FieldAttachStorageTestCase::testFieldAttachDelete in modules/field/tests/field.test
Test field_attach_delete().
FieldCrudTestCase::testCreateField in modules/field/tests/field.test
Test the creation of a field.
FieldCrudTestCase::testDeleteField in modules/field/tests/field.test
Test the deletion of a field.
FieldFormTestCase::testFieldFormSingle in modules/field/tests/field.test
FieldFormTestCase::testFieldFormUnlimited in modules/field/tests/field.test
FieldInfoTestCase::testFieldInfo in modules/field/tests/field.test
Test that field types and field definitions are correcly cached.
FieldInfoTestCase::testFieldPrepare in modules/field/tests/field.test
Test that cached field definitions are ready for current runtime context.
FieldInfoTestCase::testInstancePrepare in modules/field/tests/field.test
Test that cached instance definitions are ready for current runtime context.
FieldInfoTestCase::testSettingsInfo in modules/field/tests/field.test
Test that the field_info settings convenience functions work.
FieldInstanceCrudTestCase::testCreateFieldInstance in modules/field/tests/field.test
Test the creation of a field instance.
FieldInstanceCrudTestCase::testUpdateFieldInstance in modules/field/tests/field.test
Test the update of a field instance.
FileDeleteTest::testUnused in modules/simpletest/tests/file.test
Tries deleting a normal file (as opposed to a directory, symlink, etc).
FileFieldWidgetTestCase::testMultiValuedWidget in modules/file/tests/file.test
Tests upload and remove buttons for multiple multi-valued File fields.
FileMimeTypeTest::testFileMimeTypeDetection in modules/simpletest/tests/file.test
Test mapping of mimetypes from filenames.
FileNameMungingTest::testMungeIgnoreInsecure in modules/simpletest/tests/file.test
If the allow_insecure_uploads variable evaluates to true, the file should come out untouched, no matter how evil the filename.
FileNameMungingTest::testMungeIgnoreWhitelisted in modules/simpletest/tests/file.test
White listed extensions are ignored by file_munge_filename().
FileNameMungingTest::testMungeUnsafe in modules/simpletest/tests/file.test
Tests unsafe extensions are munged by file_munge_filename().
FileNameMungingTest::testUnMunge in modules/simpletest/tests/file.test
Ensure that unmunge gets your name back.
FileUsageTest::testRemoveUsage in modules/simpletest/tests/file.test
Tests file_usage_delete().
FilterUnitTestCase::testUrlFilterContent in modules/filter/filter.test
Tests URL filter on longer content.
FormatDateUnitTest::testAdminDefinedFormatDate in modules/simpletest/tests/common.test
Test admin-defined formats in format_date().
FormatDateUnitTest::testFormatDate in modules/simpletest/tests/common.test
Tests for the format_date() function.
FormCheckboxTestCase::testFormCheckbox in modules/simpletest/tests/form.test
FormElementTestCase::testOptions in modules/simpletest/tests/form.test
Tests expansion of #options for #type checkboxes and radios.
FormsTestCase::assertFormValuesDefault in modules/simpletest/tests/form.test
Assert that the values submitted to a form matches the default values of the elements.
FormsTestCase::checkFormValue in modules/simpletest/tests/form.test
Checks that a given form input value is sanitized to the expected result.
FormsTestCase::testCheckboxProcessing in modules/simpletest/tests/form.test
Test default value handling for checkboxes.
FormsTestCase::testSelect in modules/simpletest/tests/form.test
Tests validation of #type 'select' elements.
FormTextareaTestCase::testValueCallback in modules/simpletest/tests/form.test
Tests that textarea value is properly set.
ImageStylesPathAndUrlTestCase::_testImageStyleUrlAndPath in modules/image/image.test
Test image_style_url().
JavaScriptTestCase::testGetLibrary in modules/simpletest/tests/common.test
Tests retrieval of libraries via drupal_get_library().
JavaScriptTestCase::testRenderOrder in modules/simpletest/tests/common.test
Test JavaScript ordering.
ListFieldUITestCase::assertAllowedValuesInput in modules/field/modules/list/tests/list.test
Tests a string input for the 'allowed values' form element.
LocaleBrowserDetectionTest::testLanguageFromBrowser in modules/locale/locale.test
Unit tests for the locale_language_from_browser() function.
LocaleImportFunctionalTest::testEmptyMsgstr in modules/locale/locale.test
Test empty msgstr at end of .po file see #611786.
LocaleImportFunctionalTest::testLanguageContext in modules/locale/locale.test
Test msgctxt context support.
LocaleLanguageSwitchingFunctionalTest::testLanguageBlock in modules/locale/locale.test
Functional tests for the language switcher block.
LocaleUpgradePathTestCase::assertPageInLanguage in modules/simpletest/tests/upgrade/upgrade.locale.test
Asserts that a page exists and is in the specified language.
MenuRouterTestCase::testMenuLoadArgumentsInheritance in modules/simpletest/tests/menu.test
Tests inheritance of 'load arguments'.
ModuleDependencyTestCase::testModuleEnableOrder in modules/system/system.test
Tests that module dependencies are enabled in the correct order via the UI. Dependencies should be enabled before their dependents.
ModuleUnitTest::assertModuleList in modules/simpletest/tests/module.test
Assert that module_list() return the expected values.
ModuleUnitTest::testModuleList in modules/simpletest/tests/module.test
The basic functionality of module_list().
NodeAccessBaseTableTestCase::assertTaxonomyPage in modules/node/node.test
Checks taxonomy/term listings to ensure only accessible nodes are listed.
NodeBodyUpgradePathTestCase::testNodeBodyUpgrade in modules/simpletest/tests/upgrade/upgrade.node.test
Test a successful upgrade.
OpenIDTestCase::testConversion in modules/openid/openid.test
Test _openid_dh_XXX_to_XXX() functions.
PageEditTestCase::testPageAuthoredBy in modules/node/node.test
Tests changing a node's "authored by" field.
PageEditTestCase::testPageEdit in modules/node/node.test
Checks node edit functionality.
PasswordHashingTest::testPasswordHashing in modules/simpletest/tests/password.test
Test password hashing.
PathSaveTest::testDrupalSaveOriginalPath in modules/simpletest/tests/path.test
Tests that path_save() makes the original path available to modules.
RdfMappingHookTestCase::testMapping in modules/rdf/rdf.test
Test that hook_rdf_mapping() correctly returns and processes mapping.
RenderElementTypesTestCase::assertElements in modules/simpletest/tests/theme.test
Asserts that an array of elements is rendered properly.
SchemaTestCase::testSchema in modules/simpletest/tests/schema.test
SearchSimplifyTestCase::testSearchSimplifyUnicode in modules/search/search.test
Tests that all Unicode characters simplify correctly.
SessionTestCase::assertSessionEmpty in modules/simpletest/tests/session.test
Assert whether $_SESSION is empty at the beginning of the request.
StatisticsLoggingTestCase::testLogging in modules/statistics/statistics.test
Verifies request logging for cached and uncached pages.
StreamWrapperTest::testPharFile in modules/simpletest/tests/file.test
Tests that only valid phar files can be used.
TaxonomyQueryAlterTestCase::assertQueryTagTestResult in modules/taxonomy/taxonomy.test
Verifies invocation of the hooks in the test module.
TextSummaryTestCase::callTextSummary in modules/field/modules/text/text.test
Calls text_summary() and asserts that the expected teaser is returned.
TextSummaryTestCase::testOnlyTextSummary in modules/field/modules/text/text.test
Test sending only summary.
ThemeItemListUnitTest::testItemList in modules/simpletest/tests/theme.test
Test item list rendering.
ThemeLinksTest::testDrupalPreRenderLinks in modules/simpletest/tests/theme.test
Test the use of drupal_pre_render_links() on a nested array of links.
ThemeTestCase::testListThemes in modules/simpletest/tests/theme.test
Test the list_themes() function.
ThemeTestCase::testRegistryRebuild in modules/simpletest/tests/theme.test
Ensures the theme registry is rebuilt when modules are disabled/enabled.
ThemeTestCase::testThemeGetSetting in modules/simpletest/tests/theme.test
Test the theme_get_setting() function.
UploadUpgradePathTestCase::testUploadUpgrade in modules/simpletest/tests/upgrade/upgrade.upload.test
Test a successful upgrade.
UrlAlterFunctionalTest::assertUrlInboundAlter in modules/simpletest/tests/path.test
Assert that a inbound path is altered to an expected value.
UrlAlterFunctionalTest::assertUrlOutboundAlter in modules/simpletest/tests/path.test
Assert that an outbound path is altered to an expected value.
UrlIsExternalUnitTest::testUrlIsExternal in modules/simpletest/tests/common.test
Tests if each URL is external or not.
UserAuthmapAssignmentTestCase::testAuthmapAssignment in modules/user/user.test
Test authmap assignment and retrieval.
UserLoginTestCase::testPasswordRehashOnLogin in modules/user/user.test
Test that user password is re-hashed upon login after changing $count_log2.
XMLRPCValidator1IncTestCase::testValidator1 in modules/simpletest/tests/xmlrpc.test
Run validator1 tests.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.