UpdateTest::testUpdateNonExistingTable |
function |
core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php |
Updating a not existing table throws a DatabaseExceptionWrapper. |
UpdateTest::testUpdateValueInSerial |
function |
core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php |
Updating a serial field throws a IntegrityConstraintViolationException. |
UpdateTest::testWhereAndConditionUpdate |
function |
core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php |
Confirms that we can stack condition and where calls. |
UpdateTest::testWhereUpdate |
function |
core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php |
Confirms that we can update multiple records with a where call. |
UpdateTestArchiver |
class |
core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php |
Defines a test archiver implementation. |
UpdateTestArchiver.php |
file |
core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php |
|
UpdateTestArchiver::add |
function |
core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php |
Adds the specified file or directory to the archive. |
UpdateTestArchiver::extract |
function |
core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php |
Extracts multiple files in the archive to the specified path. |
UpdateTestArchiver::listContents |
function |
core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php |
Lists all files in the archive. |
UpdateTestArchiver::remove |
function |
core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php |
Removes the specified file from the archive. |
UpdateTestBase |
class |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Defines some shared functions used by all update tests. |
UpdateTestBase.php |
file |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
|
UpdateTestBase::$modules |
property |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Modules to install. |
UpdateTestBase::$updateProject |
property |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
The project that is being tested. |
UpdateTestBase::$updateTableLocator |
property |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
The CSS locator for the update table run asserts on. |
UpdateTestBase::assertSecurityUpdates |
function |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Asserts the expected security updates are displayed correctly on the page. |
UpdateTestBase::assertUpdateTableElementContains |
function |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Asserts that the update table element HTML contains the specified text. |
UpdateTestBase::assertUpdateTableElementNotContains |
function |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Asserts that the update table element HTML contains the specified text. |
UpdateTestBase::assertUpdateTableTextContains |
function |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Asserts that the update table text contains the specified text. |
UpdateTestBase::assertUpdateTableTextNotContains |
function |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Asserts that the update table text does not contain the specified text. |
UpdateTestBase::assertVersionUpdateLinks |
function |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Asserts that an update version has the correct links. |
UpdateTestBase::confirmRevokedStatus |
function |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Confirms messages are correct when a release has been unpublished/revoked. |
UpdateTestBase::confirmUnsupportedStatus |
function |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Confirms messages are correct when a release has been marked unsupported. |
UpdateTestBase::findUpdateElementByLabel |
function |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Finds an update page element by label. |
UpdateTestBase::refreshUpdateStatus |
function |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Refreshes the update status based on the desired available update scenario. |
UpdateTestBase::SECURITY_UPDATE_REQUIRED |
constant |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Denotes a security update will be required in the test case. |
UpdateTestBase::standardTests |
function |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Runs a series of assertions that are applicable to all update statuses. |
UpdateTestBase::UPDATE_AVAILABLE |
constant |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Denotes an update will be available in the test case. |
UpdateTestBase::UPDATE_NONE |
constant |
core/modules/update/tests/src/Functional/UpdateTestBase.php |
Denotes no update will be available in the test case. |
UpdateTestBrokenThemeHookHooks |
class |
core/modules/system/tests/modules/update_test_broken_theme_hook/src/Hook/UpdateTestBrokenThemeHookHooks.php |
Hook implementations for update_test_broken_theme_hook. |
UpdateTestBrokenThemeHookHooks.php |
file |
core/modules/system/tests/modules/update_test_broken_theme_hook/src/Hook/UpdateTestBrokenThemeHookHooks.php |
|
UpdateTestBrokenThemeHookHooks::theme |
function |
core/modules/system/tests/modules/update_test_broken_theme_hook/src/Hook/UpdateTestBrokenThemeHookHooks.php |
Implements hook_theme(). |
UpdateTestController |
class |
core/modules/update/tests/modules/update_test/src/Controller/UpdateTestController.php |
Provides different routes of the update_test module. |
UpdateTestController.php |
file |
core/modules/update/tests/modules/update_test/src/Controller/UpdateTestController.php |
|
UpdateTestController::updateError |
function |
core/modules/update/tests/modules/update_test/src/Controller/UpdateTestController.php |
Displays an Error 503 (Service unavailable) page. |
UpdateTestController::updateTest |
function |
core/modules/update/tests/modules/update_test/src/Controller/UpdateTestController.php |
Page callback: Prints mock XML for the Update Manager module. |
UpdateTestHooks |
class |
core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php |
Hook implementations for update_test. |
UpdateTestHooks.php |
file |
core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php |
|
UpdateTestHooks::filetransferInfo |
function |
core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php |
Implements hook_filetransfer_info(). |
UpdateTestHooks::systemInfoAlter |
function |
core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php |
Implements hook_system_info_alter(). |
UpdateTestHooks::updateStatusAlter |
function |
core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php |
Implements hook_update_status_alter(). |
UpdateTestTrait |
trait |
core/modules/update/tests/src/Functional/UpdateTestTrait.php |
Provides a trait to set system info and XML mappings. |
UpdateTestTrait.php |
file |
core/modules/update/tests/src/Functional/UpdateTestTrait.php |
|
UpdateTestTrait::mockDefaultExtensionsInfo |
function |
core/modules/update/tests/src/Functional/UpdateTestTrait.php |
Sets default information about installed extensions. |
UpdateTestTrait::mockInstalledExtensionsInfo |
function |
core/modules/update/tests/src/Functional/UpdateTestTrait.php |
Sets information about installed extensions. |
UpdateTestTrait::mockReleaseHistory |
function |
core/modules/update/tests/src/Functional/UpdateTestTrait.php |
Sets available release history. |
UpdateUploaderTestBase |
class |
core/modules/update/tests/src/Functional/UpdateUploaderTestBase.php |
Base test class for tests that test project upload functionality. |
UpdateUploaderTestBase.php |
file |
core/modules/update/tests/src/Functional/UpdateUploaderTestBase.php |
|
UpdateUploaderTestBase::setUp |
function |
core/modules/update/tests/src/Functional/UpdateUploaderTestBase.php |
|
UpdateUploadTest |
class |
core/modules/update/tests/src/Functional/UpdateUploadTest.php |
Tests the Update Manager module's upload and extraction functionality. |