Search for test
- Search 7.x for test
- Search 9.5.x for test
- Search 10.3.x for test
- Search 11.x for test
- Search main for test
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Test | class | core/ |
Provides test media source. |
| Test | class | core/ |
Defines a test controller for page titles. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| UnicodeTest::testTruncateBytes | function | core/ |
Tests multibyte truncate bytes. |
| UnicodeTest::testUcfirst | function | core/ |
Tests multibyte ucfirst. |
| UnicodeTest::testUcwords | function | core/ |
Tests multibyte ucwords. |
| UnicodeTest::testValidateUtf8 | function | core/ |
Tests UTF-8 validation. |
| UninstallDefaultContentTest | class | core/ |
Tests that uninstalling default content removes created content. |
| UninstallDefaultContentTest.php | file | core/ |
|
| UninstallDefaultContentTest::$profile | property | core/ |
The profile to install as a basis for testing. |
| UninstallDefaultContentTest::assertArticlesImported | function | core/ |
Assert articles are imported. |
| UninstallDefaultContentTest::assertImportedCustomBlock | function | core/ |
Assert block content are imported. |
| UninstallDefaultContentTest::assertRecipesImported | function | core/ |
Assert recipes are imported. |
| UninstallDefaultContentTest::expectedBlocks | function | core/ |
Returns the expected properties of this profile's custom blocks. |
| UninstallDefaultContentTest::testReinstall | function | core/ |
Tests uninstalling content removes created entities. |
| UninstallKernelTest | class | core/ |
Tests the uninstallation of modules. |
| UninstallKernelTest.php | file | core/ |
|
| UninstallKernelTest::$modules | property | core/ |
Modules to enable. |
| UninstallKernelTest::setUp | function | core/ |
|
| UninstallKernelTest::testUninstallMedia | function | core/ |
Tests uninstalling media and file modules. |
| UninstallTest | class | core/ |
Tests the uninstallation of modules. |
| UninstallTest.php | file | core/ |
|
| UninstallTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| UninstallTest::$modules | property | core/ |
Modules to enable. |
| UninstallTest::testFailedInstallStatus | function | core/ |
Tests that a module which fails to install can still be uninstalled. |
| UninstallTest::testUninstallPage | function | core/ |
Tests the Uninstall page and Uninstall confirmation page. |
| UninstallTest::testUserPermsUninstalled | function | core/ |
Tests the hook_modules_uninstalled() of the user module. |
| UniqueFieldConstraintTest | class | core/ |
Tests the unique field value validation constraint. |
| UniqueFieldConstraintTest.php | file | core/ |
|
| UniqueFieldConstraintTest::$modules | property | core/ |
Modules to enable. |
| UniqueFieldConstraintTest::providerTestEntityWithStringIdWithViolation | function | core/ |
Data provider for ::testEntityWithStringIdWithViolation(). |
| UniqueFieldConstraintTest::testEntityWithStringId | function | core/ |
Tests cases where the validation passes for entities with string IDs. |
| UniqueFieldConstraintTest::testEntityWithStringIdWithViolation | function | core/ |
Tests cases when validation raises violations for entities with string IDs. |
| unique_field_constraint_test.info.yml | file | core/ |
core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.info.yml |
| unique_field_constraint_test.module | file | core/ |
Contains unique_field_constraint_test.module |
| unique_field_constraint_test_entity_base_field_info_alter | function | core/ |
Implements hook_entity_base_field_info_alter(). |
| UnitTestCase | class | core/ |
Provides a base class and helpers for Drupal unit tests. |
| UnitTestCase.php | file | core/ |
|
| UnitTestCase::$randomGenerator | property | core/ |
The random generator. |
| UnitTestCase::$root | property | core/ |
The app root. |
| UnitTestCase::assertArrayEquals | function | core/ |
Asserts if two arrays are equal by sorting them first. |
| UnitTestCase::getBlockMockWithMachineName | function | core/ |
Mocks a block with a block plugin. |
| UnitTestCase::getClassResolverStub | function | core/ |
Returns a stub class resolver. |
| UnitTestCase::getConfigFactoryStub | function | core/ |
Returns a stub config factory that behaves according to the passed array. |
| UnitTestCase::getConfigStorageStub | function | core/ |
Returns a stub config storage that returns the supplied configuration. |
| UnitTestCase::getContainerWithCacheTagsInvalidator | function | core/ |
Sets up a container with a cache tags invalidator. |
| UnitTestCase::getRandomGenerator | function | core/ |
Gets the random generator for the utility methods. |
| UnitTestCase::getStringTranslationStub | function | core/ |
Returns a stub translation manager that just returns the passed string. |
| UnitTestCase::randomMachineName | function | core/ |
Generates a unique random string containing letters and numbers. |
| UnitTestCase::setUp | function | core/ |
|
| UnitTestCaseDeprecationTest | class | core/ |
@coversDefaultClass \Drupal\Tests\UnitTestCase[[api-linebreak]] |
| UnitTestCaseDeprecationTest.php | file | core/ |
|
| UnitTestCaseDeprecationTest::testDeprecatedGetBlockMockWithMachineName | function | core/ |
@covers ::getBlockMockWithMachineName[[api-linebreak]] @expectedDeprecation Drupal\Tests\UnitTestCase::getBlockMockWithMachineName is deprecated in Drupal 8.5.x, will be removed before Drupal 9.0.0. Unit test base classes should not have dependencies… |
Pagination
- Previous page
- Page 713
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.