Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
TestBase.php
»
TestBase
»
TestBase::assertIdentical
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
208 calls to TestBase::assertIdentical()
ArrayUnitTest::testGet
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
ArrayUnitTest.php
Tests getting nested array values.
ArrayUnitTest::testKeyExists
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
ArrayUnitTest.php
Tests existence of array key.
ArrayUnitTest::testSet
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
ArrayUnitTest.php
Tests setting nested array values.
ArrayUnitTest::testUnset
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
ArrayUnitTest.php
Tests unsetting nested array values.
AttributesUnitTest::testDrupalAttributes
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
AttributesUnitTest.php
Tests that
drupal_html_class
() cleans the class name properly.
BackendChainImplementationUnitTest::testDelete
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Cache/
BackendChainImplementationUnitTest.php
Test that delete will propagate.
BackendChainImplementationUnitTest::testDeleteTagsPropagation
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Cache/
BackendChainImplementationUnitTest.php
Test that the delete tags operation is propagated to all backends in the chain.
BackendChainImplementationUnitTest::testGet
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Cache/
BackendChainImplementationUnitTest.php
Test the get feature.
BackendChainImplementationUnitTest::testGetMultiple
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Cache/
BackendChainImplementationUnitTest.php
Test the get multiple feature.
BackendChainImplementationUnitTest::testGetMultipleHasPropagated
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Cache/
BackendChainImplementationUnitTest.php
Ensure get multiple values propagation to previous backends.
BackendChainImplementationUnitTest::testSet
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Cache/
BackendChainImplementationUnitTest.php
Test that set will propagate.
BasicSyntaxTest::testBasicConcat
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
BasicSyntaxTest.php
Tests string concatenation.
BasicSyntaxTest::testFieldConcat
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
BasicSyntaxTest.php
Tests string concatenation with field values.
BasicSyntaxTest::testLikeBackslash
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
BasicSyntaxTest.php
Tests a LIKE query containing a backslash.
BasicSyntaxTest::testLikeEscape
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
BasicSyntaxTest.php
Tests escaping of LIKE wildcards.
BookTest::checkBookNode
in drupal/
core/
modules/
book/
lib/
Drupal/
book/
Tests/
BookTest.php
Check the outline of sub-pages; previous, up, and next; and printer friendly version.
CacheDecoratorTest::testCachedDefinitions
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Plugin/
CacheDecoratorTest.php
Tests that discovered definitions are properly cached.
CacheDecoratorTest::testClearCachedDefinitions
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Plugin/
CacheDecoratorTest.php
Tests CacheDecorator::clearCachedDefinitions().
CascadingStylesheetsTest::testRenderOrder
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Tests CSS ordering.
CaseSensitivityTest::testCaseSensitiveInsert
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
CaseSensitivityTest.php
Tests BINARY collation in MySQL.
CheckboxTest::testFormCheckbox
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
CheckboxTest.php
ColorTest::testHexToRgb
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
ColorTest.php
Tests Color::hexToRgb().
ColorTest::testRgbToHex
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
ColorTest.php
Tests Color::rgbToHex().
CommentPagerTest::assertCommentOrder
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentPagerTest.php
Asserts that the comments are displayed in the correct order.
CommentPagerTest::testCommentNewPageIndicator
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentPagerTest.php
Tests
comment_new_page_count
().
ConfigCRUDTest::testCRUD
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigCRUDTest.php
Tests CRUD operations.
ConfigEntityListTest::testList
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigEntityListTest.php
Tests entity list controller methods.
ConfigEntityListTest::testListUI
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigEntityListTest.php
Tests the listing UI.
ConfigEntityTest::testCRUD
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigEntityTest.php
Tests CRUD operations.
ConfigFileContentTest::testReadWriteConfig
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigFileContentTest.php
Tests setting, writing, and reading of a configuration setting.
ConfigFileContentTest::testSerialization
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigFileContentTest.php
Tests serialization of configuration to file.
ConfigImportTest::testDeleted
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigImportTest.php
Tests deletion of configuration during import.
ConfigImportTest::testNew
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigImportTest.php
Tests creation of configuration during import.
ConfigImportTest::testNoImport
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigImportTest.php
Tests omission of module APIs for bare configuration operations.
ConfigImportTest::testUpdated
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigImportTest.php
Tests updating of configuration during import.
ConfigImportUITest::testImport
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigImportUITest.php
Tests importing configuration.
ConfigInstallTest::testModuleInstallation
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigInstallTest.php
Tests module installation.
ConfigOverrideTest::testConfOverride
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigOverrideTest.php
Tests configuration override.
ConfigStorageTestBase::testCRUD
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
Storage/
ConfigStorageTestBase.php
Tests storage controller CRUD operations.
ConfigTestTranslationUITest::testTranslationUI
in drupal/
core/
modules/
translation_entity/
lib/
Drupal/
translation_entity/
Tests/
ConfigTestTranslationUITest.php
Overrides EntityTranslationTest::testTranslationUI().
ConfigUpgradeTest::testConfigurationUpdate
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigUpgradeTest.php
Tests
update_variables_to_config
().
ConnectionTest::testConnectionOptions
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionTest.php
Tests the connection options of the active database.
ConnectionTest::testConnectionRouting
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionTest.php
Tests that connections return appropriate connection objects.
ConnectionTest::testConnectionRoutingOverride
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionTest.php
Tests that connections return appropriate connection objects.
ConnectionUnitTest::addConnection
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionUnitTest.php
Adds a new database connection info to Database.
ContactPersonalTest::testPersonalContactFlood
in drupal/
core/
modules/
contact/
lib/
Drupal/
contact/
Tests/
ContactPersonalTest.php
Tests the personal contact form flood protection.
ContactSitewideTest::testSiteWideContact
in drupal/
core/
modules/
contact/
lib/
Drupal/
contact/
Tests/
ContactSitewideTest.php
Tests configuration options and the site-wide contact form.
CrudTest::testCreateField
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
CrudTest.php
Test the creation of a field.
CrudTest::testDeleteField
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
CrudTest.php
Test the deletion of a field.
DatabaseStorageExpirableTest::testExpiration
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
KeyValueStore/
DatabaseStorageExpirableTest.php
Tests data expiration.
DateTimeTest::testDateFormatConfiguration
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
DateTimeTest.php
Test date format configuration.
DefaultViewsTest::testSplitListing
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
UI/
DefaultViewsTest.php
Tests that enabling views moves them to the correct table.
DeleteTruncateTest::testSimpleDelete
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
DeleteTruncateTest.php
Confirms that we can delete a single record successfully.
DependencyTest::testModuleEnableOrder
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Module/
DependencyTest.php
Tests that module dependencies are enabled in the correct order via the UI. Dependencies should be enabled before their dependents.
DerivativeTest::testDerivativeDecorator
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Plugin/
DerivativeTest.php
Tests getDefinitions() and getDefinition() with a derivativeDecorator.
DiscoveryTestBase::testDiscoveryInterface
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Plugin/
Discovery/
DiscoveryTestBase.php
Tests getDefinitions() and getDefinition().
DisplayInternalLogicTest::testBlockMapping
in drupal/
core/
modules/
layout/
lib/
Drupal/
layout/
Tests/
DisplayInternalLogicTest.php
Test the various block remapping scenarios allowed for by the assorted Display types.
DisplayInternalLogicTest::testBlockSorting
in drupal/
core/
modules/
layout/
lib/
Drupal/
layout/
Tests/
DisplayInternalLogicTest.php
Tests block sorting within regions.
DisplayTest::testDisplayPlugin
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Plugin/
DisplayTest.php
Tests the display test plugin.
DisplayTest::testDisplayPluginsAlter
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
UI/
DisplayTest.php
Tests views_ui_views_plugins_display_alter is altering plugin definitions.
DrupalUnitTestBaseTest::testSetUp
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
Tests/
DrupalUnitTestBaseTest.php
Tests expected behavior of setUp().
ElementTest::testOptions
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
ElementTest.php
Tests expansion of #options for #type checkboxes and radios.
EmailTest::testFormEmail
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
EmailTest.php
Tests that #type 'email' fields are properly validated.
EntityFieldTest::testReadWrite
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityFieldTest.php
Tests reading and writing properties and field items.
EntityQueryTest::assertResult
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityQueryTest.php
EntityQueryTest::assertRevisionResult
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityQueryTest.php
EntityQueryTest::testEntityQuery
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityQueryTest.php
Test basic functionality.
EntityTranslationUITest::testTranslationUI
in drupal/
core/
modules/
translation_entity/
lib/
Drupal/
translation_entity/
Tests/
EntityTranslationUITest.php
Tests the basic translation UI.
EntityUUIDTest::testCRUD
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityUUIDTest.php
Tests UUID generation in entity CRUD operations.
FactoryTest::testDefaultFactory
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Plugin/
FactoryTest.php
Test that DefaultFactory can create a plugin instance.
FactoryTest::testReflectionFactory
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Plugin/
FactoryTest.php
Test that the Reflection factory can create a plugin instance.
FetchTest::testQueryFetchArray
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
FetchTest.php
Confirms that we can fetch a record to an associative array explicitly.
FetchTest::testQueryFetchBoth
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
FetchTest.php
Confirms that we can fetch a record into a doubly-keyed array explicitly.
FetchTest::testQueryFetchClass
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
FetchTest.php
Confirms that we can fetch a record into a new instance of a custom class.
FetchTest::testQueryFetchCol
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
FetchTest.php
Confirms that we can fetch an entire column of a result set at once.
FetchTest::testQueryFetchDefault
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
FetchTest.php
Confirms that we can fetch a record properly in default object mode.
FetchTest::testQueryFetchNum
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
FetchTest.php
Confirms that we can fetch a record into an indexed array explicitly.
FetchTest::testQueryFetchObject
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
FetchTest.php
Confirms that we can fetch a record to an object explicitly.
FieldAttachOtherTest::testFieldAttachSubmit
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldAttachOtherTest.php
Test
field_attach_submit
().
FieldAttachOtherTest::testFieldAttachValidate
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldAttachOtherTest.php
Test
field_attach_validate
().
FieldAttachStorageTest::testFieldAttachCreateRenameBundle
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldAttachStorageTest.php
Test
field_attach_create_bundle
() and
field_attach_rename_bundle
().
FieldAttachStorageTest::testFieldAttachDelete
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldAttachStorageTest.php
Test
field_attach_delete
().
FieldInfoTest::testFieldInfo
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldInfoTest.php
Test that field types and field definitions are correcly cached.
FieldInfoTest::testFieldPrepare
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldInfoTest.php
Test that cached field definitions are ready for current runtime context.
FieldInfoTest::testInstancePrepare
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldInfoTest.php
Test that cached instance definitions are ready for current runtime context.
FieldInfoTest::testSettingsInfo
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldInfoTest.php
Test that the field_info settings convenience functions work.
FieldInstanceCrudTest::testCreateFieldInstance
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldInstanceCrudTest.php
Test the creation of a field instance.
FieldInstanceCrudTest::testUpdateFieldInstance
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldInstanceCrudTest.php
Test the update of a field instance.
FieldUnitTest::_testEmptyText
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Handler/
FieldUnitTest.php
Tests the usage of the empty text.
FieldUnitTest::_testHideIfEmpty
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Handler/
FieldUnitTest.php
Tests the hide if empty functionality.
FileFieldWidgetTest::testMultiValuedWidget
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileFieldWidgetTest.php
Tests upload and remove buttons for multiple multi-valued File fields.
FileStorageTest::testCRUD
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
PhpStorage/
FileStorageTest.php
Tests basic load/save/delete operations.
FileStorageTest::testReadOnly
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
PhpStorage/
FileStorageTest.php
Tests writing with one class and reading with another.
FilterAPITest::testCheckMarkup
in drupal/
core/
modules/
filter/
lib/
Drupal/
filter/
Tests/
FilterAPITest.php
Tests the ability to apply only a subset of filters.
FilterTest::testFilterQuery
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Plugin/
FilterTest.php
Test query of the row plugin.
FilterUnitTest::testUrlFilterContent
in drupal/
core/
modules/
filter/
lib/
Drupal/
filter/
Tests/
FilterUnitTest.php
Tests URL filter on longer content.
FormatDateTest::testAdminDefinedFormatDate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
FormatDateTest.php
Tests admin-defined formats in
format_date
().
FormatDateTest::testFormatDate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
FormatDateTest.php
Tests the
format_date
() function.
FormTest::assertFormValuesDefault
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormTest.php
Assert that the values submitted to a form matches the default values of the elements.
FormTest::testFieldFormSingle
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FormTest.php
FormTest::testFieldFormUnlimited
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FormTest.php
FormTest::testSelect
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormTest.php
Tests validation of #type 'select' elements.
FrameworkTest::testLazyLoad
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Ajax/
FrameworkTest.php
Tests that new JavaScript and CSS files are returned on an Ajax request.
FunctionsTest::testDrupalPreRenderLinks
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Theme/
FunctionsTest.php
Test the use of
drupal_pre_render_links
() on a nested array of links.
GarbageCollectionTest::testGarbageCollection
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
KeyValueStore/
GarbageCollectionTest.php
Tests garbage collection.
GenericCacheBackendUnitTestBase::testDelete
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Cache/
GenericCacheBackendUnitTestBase.php
Tests
Drupal\Core\Cache\CacheBackendInterface::delete
().
GenericCacheBackendUnitTestBase::testDeleteMultiple
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Cache/
GenericCacheBackendUnitTestBase.php
Test
Drupal\Core\Cache\CacheBackendInterface::delete
() and
Drupal\Core\Cache\CacheBackendInterface::deleteMultiple
().
GenericCacheBackendUnitTestBase::testGetMultiple
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Cache/
GenericCacheBackendUnitTestBase.php
Tests
Drupal\Core\Cache\CacheBackendInterface::getMultiple
().
GenericCacheBackendUnitTestBase::testSetGet
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Cache/
GenericCacheBackendUnitTestBase.php
Tests the get and set methods of
Drupal\Core\Cache\CacheBackendInterface
.
GenericCacheBackendUnitTestBase::testValueTypeIsKept
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Cache/
GenericCacheBackendUnitTestBase.php
Tests data type preservation.
GetFilenameUnitTest::testDrupalGetFilename
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Bootstrap/
GetFilenameUnitTest.php
Tests that
drupal_get_filename
() works when the file is not in database.
HandlerAliasTest::testPluginAliases
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Handler/
HandlerAliasTest.php
HandlerFieldUserNameTest::testUserName
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
User/
HandlerFieldUserNameTest.php
HandlerFilterUserNameTest::testUserAutocomplete
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
User/
HandlerFilterUserNameTest.php
Tests the autocomplete function.
HandlerTest::testHandlerWeights
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Handler/
HandlerTest.php
Tests the order of handlers is the same before and after saving.
HtmlIdentifierUnitTest::testDrupalCleanCSSIdentifier
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
HtmlIdentifierUnitTest.php
Tests that
drupal_clean_css_identifier
() cleans the identifier properly.
HtmlIdentifierUnitTest::testDrupalHTMLClass
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
HtmlIdentifierUnitTest.php
Tests that
drupal_html_class
() cleans the class name properly.
HtmlIdentifierUnitTest::testDrupalHTMLId
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
HtmlIdentifierUnitTest.php
Tests that
drupal_html_id
() cleans the ID properly.
InsertDefaultsTest::testDefaultEmptyInsert
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
InsertDefaultsTest.php
Tests that no action will be preformed if no fields are specified.
InsertTest::testInsertFieldOnlyDefinintion
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
InsertTest.php
Tests that we can specify fields without values and specify values later.
InsertTest::testInsertLastInsertID
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
InsertTest.php
Tests that inserts return the proper auto-increment ID.
InsertTest::testInsertSelect
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
InsertTest.php
Tests that the INSERT INTO ... SELECT ... syntax works.
InsertTest::testMultiInsert
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
InsertTest.php
Tests that we can insert multiple records in one query object.
InsertTest::testRepeatedInsert
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
InsertTest.php
Tests that an insert object can be reused with new data after it executes.
InsertTest::testSimpleInsert
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
InsertTest.php
Tests very basic insert functionality.
InspectionTest::testInspection
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Plugin/
InspectionTest.php
Ensure the test plugins correctly implement getPluginId() and getDefinition().
JavaScriptTest::testGetLibrary
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests retrieval of libraries via
drupal_get_library
().
JavaScriptTest::testRenderOrder
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests JavaScript ordering.
JsonUnitTest::testJSON
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JsonUnitTest.php
Tests converting PHP variables to JSON strings and back.
LanguageBrowserDetectionUnitTest::testLanguageFromBrowser
in drupal/
core/
modules/
language/
lib/
Drupal/
language/
Tests/
LanguageBrowserDetectionUnitTest.php
Unit tests for the
language_from_browser
() function.
LanguageSwitchingTest::testLanguageBlock
in drupal/
core/
modules/
language/
lib/
Drupal/
language/
Tests/
LanguageSwitchingTest.php
Functional tests for the language switcher block.
LocaleConfigOverride::testLocaleConfigOverride
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
LocaleConfigOverride.php
LocaleImportFunctionalTest::testEmptyMsgstr
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleImportFunctionalTest.php
Test empty msgstr at end of .po file see #611786.
LocaleImportFunctionalTest::testLanguageContext
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleImportFunctionalTest.php
Test msgctxt context support.
LocalePluralFormatTest::testGetPluralFormat
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocalePluralFormatTest.php
Tests
locale_get_plural
() and
format_plural
() functionality.
MappingHookTest::testMapping
in drupal/
core/
modules/
rdf/
lib/
Drupal/
rdf/
Tests/
MappingHookTest.php
Tests that
hook_rdf_mapping
() correctly returns and processes mapping.
MatchPathTest::testDrupalMatchPath
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Path/
MatchPathTest.php
Run through our test cases, making sure each one works as expected.
MimeTypeTest::testFileMimeTypeDetection
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
MimeTypeTest.php
Test mapping of mimetypes from filenames.
MiscUnitTest::testMisc
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Bootstrap/
MiscUnitTest.php
Tests miscellaneous functions in
bootstrap.inc
.
ModuleEnable::testEnableUserTwice
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Module/
ModuleEnable.php
Tests enabling User module once more.
ModuleTest::testLoadFunctions
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
ModuleTest.php
Tests the load wrapper/helper functions.
MTimeProtectedFileStorageTest::testCRUD
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
PhpStorage/
MTimeProtectedFileStorageTest.php
Tests basic load/save/delete operations.
MTimeProtectedFileStorageTest::testSecurity
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
PhpStorage/
MTimeProtectedFileStorageTest.php
Tests the security of the MTimeProtectedFileStorage implementation.
NameMungingTest::testMungeIgnoreInsecure
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
NameMungingTest.php
If the allow_insecure_uploads variable evaluates to true, the file should come out untouched, no matter how evil the filename.
NameMungingTest::testMungeIgnoreWhitelisted
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
NameMungingTest.php
White listed extensions are ignored by
file_munge_filename
().
NameMungingTest::testUnMunge
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
NameMungingTest.php
Ensure that unmunge gets your name back.
NodeAccessBaseTableTest::assertTaxonomyPage
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
NodeAccessBaseTableTest.php
Checks taxonomy/term listings to ensure only accessible nodes are listed.
OptionsFieldUITest::assertAllowedValuesInput
in drupal/
core/
modules/
field/
modules/
options/
lib/
Drupal/
options/
Tests/
OptionsFieldUITest.php
Tests a string input for the 'allowed values' form element.
OverrideServerVariablesUnitTest::testDrupalOverrideServerVariablesProvidedURL
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Bootstrap/
OverrideServerVariablesUnitTest.php
Tests providing a direct URL to to
drupal_override_server_variables
().
PageEditTest::testPageAuthoredBy
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
PageEditTest.php
Tests changing a node's "authored by" field.
PageEditTest::testPageEdit
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
PageEditTest.php
Checks node edit functionality.
PasswordHashingTest::testPasswordHashing
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
PasswordHashingTest.php
Test password hashing.
PhpStorageTestBase::assertCRUD
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
PhpStorage/
PhpStorageTestBase.php
Assert that a PHP storage controller's load/save/delete operations work.
RegressionTest::testDBFieldExists
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
RegressionTest.php
Tests the
db_field_exists
() function.
RegressionTest::testDBIndexExists
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
RegressionTest.php
Tests the
db_index_exists
() function.
RegressionTest::testDBTableExists
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
RegressionTest.php
Tests the
db_table_exists
() function.
RegressionTest::testRegression_310447
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
RegressionTest.php
Ensures that non-ASCII UTF-8 data is stored in the database properly.
RouterTest::testMenuLoadArgumentsInheritance
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
RouterTest.php
Tests inheritance of 'load arguments'.
SchemaTest::testSchema
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
SchemaTest.php
Tests database interactions.
SearchSimplifyTest::testSearchSimplifyUnicode
in drupal/
core/
modules/
search/
lib/
Drupal/
search/
Tests/
SearchSimplifyTest.php
Tests that all Unicode characters simplify correctly.
SerializationTest::testSerializerComponentRegistration
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Serialization/
SerializationTest.php
Confirms that modules can register normalizers and encoders.
SessionTest::assertSessionEmpty
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Session/
SessionTest.php
Assert whether $_SESSION is empty at the beginning of the request.
StateSystemUpgradePathTest::testSystemVariableUpgrade
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
StateSystemUpgradePathTest.php
Tests upgrade of system variables to state system.
StatisticsLoggingTest::testLogging
in drupal/
core/
modules/
statistics/
lib/
Drupal/
statistics/
Tests/
StatisticsLoggingTest.php
Verifies request logging for cached and uncached pages.
StorageTestBase::testCRUD
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
KeyValueStore/
StorageTestBase.php
Tests CRUD operations.
StorageTestBase::testNonExistingKeys
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
KeyValueStore/
StorageTestBase.php
Tests expected behavior for non-existing keys.
StyleMappingTest::mappedOutputHelper
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Plugin/
StyleMappingTest.php
Tests the mapping of fields.
TextSummaryTest::callTextSummary
in drupal/
core/
modules/
field/
modules/
text/
lib/
Drupal/
text/
Tests/
TextSummaryTest.php
Calls
text_summary
() and asserts that the expected teaser is returned.
TextSummaryTest::testOnlyTextSummary
in drupal/
core/
modules/
field/
modules/
text/
lib/
Drupal/
text/
Tests/
TextSummaryTest.php
Test sending only summary.
ThemeTest::testListThemes
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Theme/
ThemeTest.php
Test the
list_themes
() function.
ThemeTest::testRegistryRebuild
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Theme/
ThemeTest.php
Ensures the theme registry is rebuilt when modules are disabled/enabled.
ThemeTest::testThemeGetSetting
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Theme/
ThemeTest.php
Test the
theme_get_setting
() function.
TokenReplaceTest::testTokenReplacement
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
TokenReplaceTest.php
Tests core token replacements generated from a view.
TransactionTest::testCommittedTransaction
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
TransactionTest.php
Tests a committed transaction.
TransactionTest::testTransactionRollBackNotSupported
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
TransactionTest.php
Tests transaction rollback on a database that doesn't support transactions.
TransliterationTest::testPHPTransliteration
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Transliteration/
TransliterationTest.php
Tests the PHPTransliteration class.
UpdateComplexTest::testBetweenConditionUpdate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateComplexTest.php
Tests BETWEEN conditional clauses.
UpdateComplexTest::testInConditionUpdate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateComplexTest.php
Tests WHERE IN clauses.
UpdateComplexTest::testLikeConditionUpdate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateComplexTest.php
Tests LIKE conditionals.
UpdateComplexTest::testNotInConditionUpdate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateComplexTest.php
Tests WHERE NOT IN clauses.
UpdateComplexTest::testOrConditionUpdate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateComplexTest.php
Tests updates with OR conditionals.
UpdateComplexTest::testSubSelectUpdate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateComplexTest.php
Test UPDATE with a subselect value.
UpdateComplexTest::testUpdateExpression
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateComplexTest.php
Tests UPDATE with expression values.
UpdateComplexTest::testUpdateOnlyExpression
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateComplexTest.php
Tests UPDATE with only expression values.
UpdateTest::testExpressionUpdate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateTest.php
Tests updating with expressions.
UpdateTest::testMultiGTUpdate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateTest.php
Confirms that we can update multiple records with a non-equality condition.
UpdateTest::testMultiUpdate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateTest.php
Confirms that we can update multiple records successfully.
UpdateTest::testSimpleNullUpdate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateTest.php
Confirms updating to NULL.
UpdateTest::testSimpleUpdate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateTest.php
Confirms that we can update a single record successfully.
UpdateTest::testWhereAndConditionUpdate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateTest.php
Confirms that we can stack condition and where calls.
UpdateTest::testWhereUpdate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
UpdateTest.php
Confirms that we can update multiple records with a where call.
UrlAlterFunctionalTest::assertUrlInboundAlter
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Path/
UrlAlterFunctionalTest.php
Assert that a inbound path is altered to an expected value.
UrlAlterFunctionalTest::assertUrlOutboundAlter
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Path/
UrlAlterFunctionalTest.php
Assert that an outbound path is altered to an expected value.
UrlTest::testFormUrl
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
UrlTest.php
Tests that #type 'url' fields are properly validated and trimmed.
UsageTest::testRemoveUsage
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
UsageTest.php
Tests
file_usage
()->delete().
UserAuthmapAssignmentTest::testAuthmapAssignment
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserAuthmapAssignmentTest.php
Test authmap assignment and retrieval.
UserLoginTest::testPasswordRehashOnLogin
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserLoginTest.php
Test that user password is re-hashed upon login after changing $count_log2.
UserPictureUpgradePathTest::testUserPictureUpgrade
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
UserPictureUpgradePathTest.php
Tests expected user picture conversions after a successful upgrade.
VariableTest::testVariable
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Bootstrap/
VariableTest.php
Tests variables then deletes them.
VariableTest::testVariableDefaults
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Bootstrap/
VariableTest.php
Makes sure that the default variable parameter is passed through okay.
ViewStorageTest::createTests
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
ViewStorageTest.php
Tests creating configuration entities.
ViewStorageTest::loadTests
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
ViewStorageTest.php
Tests loading configuration entities.
ViewStorageTest::testCreateDuplicate
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
ViewStorageTest.php
Tests the createDuplicate() View method.
WebTestBase::assertThemeOutput
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Asserts themed output.
WebTestBase::drupalCreateRole
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Internal helper function; Create a role with specified permissions.
WriteRecordTest::testDrupalWriteRecord
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
WriteRecordTest.php
Tests the
drupal_write_record
() API function.
XmlRpcValidatorTest::testValidator
in drupal/
core/
modules/
xmlrpc/
lib/
Drupal/
xmlrpc/
Tests/
XmlRpcValidatorTest.php
Run validator1 tests.
XssUnitTest::testBadProtocolStripping
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
XssUnitTest.php
Checks that harmful protocols are stripped.