Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Search main for test
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
UnicodeTest::testTruncateBytes function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Tests multibyte truncate bytes.
UnicodeTest::testUcfirst function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Tests multibyte ucfirst.
UnicodeTest::testUcwords function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Tests multibyte ucwords.
UnicodeTest::testValidateUtf8 function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Tests UTF-8 validation.
UninstallDefaultContentTest class core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php Tests that uninstalling default content removes created content.
UninstallDefaultContentTest.php file core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php
UninstallDefaultContentTest::$profile property core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php The profile to install as a basis for testing.
UninstallDefaultContentTest::assertArticlesImported function core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php Assert articles are imported.
UninstallDefaultContentTest::assertImportedCustomBlock function core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php Assert block content are imported.
UninstallDefaultContentTest::assertRecipesImported function core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php Assert recipes are imported.
UninstallDefaultContentTest::expectedBlocks function core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php Returns the expected properties of this profile's custom blocks.
UninstallDefaultContentTest::testReinstall function core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php Tests uninstalling content removes created entities.
UninstallKernelTest class core/modules/system/tests/src/Kernel/Installer/UninstallKernelTest.php Tests the uninstallation of modules.
UninstallKernelTest.php file core/modules/system/tests/src/Kernel/Installer/UninstallKernelTest.php
UninstallKernelTest::$modules property core/modules/system/tests/src/Kernel/Installer/UninstallKernelTest.php Modules to enable.
UninstallKernelTest::setUp function core/modules/system/tests/src/Kernel/Installer/UninstallKernelTest.php
UninstallKernelTest::testUninstallMedia function core/modules/system/tests/src/Kernel/Installer/UninstallKernelTest.php Tests uninstalling media and file modules.
UninstallTest class core/modules/system/tests/src/Functional/Module/UninstallTest.php Tests the uninstallation of modules.
UninstallTest.php file core/modules/system/tests/src/Functional/Module/UninstallTest.php
UninstallTest::$defaultTheme property core/modules/system/tests/src/Functional/Module/UninstallTest.php The theme to install as the default for testing.
UninstallTest::$modules property core/modules/system/tests/src/Functional/Module/UninstallTest.php Modules to enable.
UninstallTest::testFailedInstallStatus function core/modules/system/tests/src/Functional/Module/UninstallTest.php Tests that a module which fails to install can still be uninstalled.
UninstallTest::testUninstallPage function core/modules/system/tests/src/Functional/Module/UninstallTest.php Tests the Uninstall page and Uninstall confirmation page.
UninstallTest::testUserPermsUninstalled function core/modules/system/tests/src/Functional/Module/UninstallTest.php Tests the hook_modules_uninstalled() of the user module.
UniqueFieldConstraintTest class core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Tests the unique field value validation constraint.
UniqueFieldConstraintTest.php file core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php
UniqueFieldConstraintTest::$modules property core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Modules to enable.
UniqueFieldConstraintTest::providerTestEntityWithStringIdWithViolation function core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Data provider for ::testEntityWithStringIdWithViolation().
UniqueFieldConstraintTest::testEntityWithStringId function core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Tests cases where the validation passes for entities with string IDs.
UniqueFieldConstraintTest::testEntityWithStringIdWithViolation function core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Tests cases when validation raises violations for entities with string IDs.
unique_field_constraint_test.info.yml file core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.info.yml core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.info.yml
unique_field_constraint_test.module file core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.module Contains unique_field_constraint_test.module
unique_field_constraint_test_entity_base_field_info_alter function core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.module Implements hook_entity_base_field_info_alter().
UnitTestCase class core/tests/Drupal/Tests/UnitTestCase.php Provides a base class and helpers for Drupal unit tests.
UnitTestCase.php file core/tests/Drupal/Tests/UnitTestCase.php
UnitTestCase::$randomGenerator property core/tests/Drupal/Tests/UnitTestCase.php The random generator.
UnitTestCase::$root property core/tests/Drupal/Tests/UnitTestCase.php The app root.
UnitTestCase::assertArrayEquals function core/tests/Drupal/Tests/UnitTestCase.php Asserts if two arrays are equal by sorting them first.
UnitTestCase::getBlockMockWithMachineName function core/tests/Drupal/Tests/UnitTestCase.php Mocks a block with a block plugin.
UnitTestCase::getClassResolverStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub class resolver.
UnitTestCase::getConfigFactoryStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub config factory that behaves according to the passed array.
UnitTestCase::getConfigStorageStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub config storage that returns the supplied configuration.
UnitTestCase::getContainerWithCacheTagsInvalidator function core/tests/Drupal/Tests/UnitTestCase.php Sets up a container with a cache tags invalidator.
UnitTestCase::getRandomGenerator function core/tests/Drupal/Tests/UnitTestCase.php Gets the random generator for the utility methods.
UnitTestCase::getStringTranslationStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub translation manager that just returns the passed string.
UnitTestCase::randomMachineName function core/tests/Drupal/Tests/UnitTestCase.php Generates a unique random string containing letters and numbers.
UnitTestCase::setUp function core/tests/Drupal/Tests/UnitTestCase.php
UnitTestCaseDeprecationTest class core/tests/Drupal/Tests/UnitTestCaseDeprecationTest.php @coversDefaultClass \Drupal\Tests\UnitTestCase[[api-linebreak]]
UnitTestCaseDeprecationTest.php file core/tests/Drupal/Tests/UnitTestCaseDeprecationTest.php
UnitTestCaseDeprecationTest::testDeprecatedGetBlockMockWithMachineName function core/tests/Drupal/Tests/UnitTestCaseDeprecationTest.php @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…

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