Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 10.3.x for test
  5. 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
AutoIncrementingTestItem::getIncrementedFieldValue function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/AutoIncrementingTestItem.php Gets an incremented field value.
AutoIncrementingTestItem::preSave function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/AutoIncrementingTestItem.php Defines custom presave behavior for field values.
Automated tests group core/core.api.php Overview of PHPUnit and Nightwatch automated tests.
AutomatedCronTest class core/modules/automated_cron/tests/src/Functional/AutomatedCronTest.php Tests for automated_cron.
AutomatedCronTest class core/modules/automated_cron/tests/src/Kernel/AutomatedCronTest.php Tests for automated_cron.
AutomatedCronTest.php file core/modules/automated_cron/tests/src/Kernel/AutomatedCronTest.php
AutomatedCronTest.php file core/modules/automated_cron/tests/src/Functional/AutomatedCronTest.php
AutomatedCronTest::$defaultTheme property core/modules/automated_cron/tests/src/Functional/AutomatedCronTest.php
AutomatedCronTest::$modules property core/modules/automated_cron/tests/src/Kernel/AutomatedCronTest.php
AutomatedCronTest::testCronDoesNotRunOnCliRequest function core/modules/automated_cron/tests/src/Kernel/AutomatedCronTest.php Tests that automated cron does not run cron on a CLI request.
AutomatedCronTest::testRunsCronOnHttpRequest function core/modules/automated_cron/tests/src/Functional/AutomatedCronTest.php Tests that automated cron runs cron on an HTTP request.
AutowireBlockTest class core/tests/Drupal/KernelTests/Core/Block/AutowireBlockTest.php Tests that blocks can be autowired.
AutowireBlockTest.php file core/tests/Drupal/KernelTests/Core/Block/AutowireBlockTest.php
AutowireBlockTest::$modules property core/tests/Drupal/KernelTests/Core/Block/AutowireBlockTest.php
AutowireBlockTest::testAutowireBlock function core/tests/Drupal/KernelTests/Core/Block/AutowireBlockTest.php Tests blocks with autowiring are created successfully.
AutowireBlockTest::testAutowireError function core/tests/Drupal/KernelTests/Core/Block/AutowireBlockTest.php Tests that autowire errors are handled correctly.
AutowiredInstanceTraitTest class core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php Tests \Drupal\Core\DependencyInjection\AutowiredInstanceTrait.
AutowiredInstanceTraitTest.php file core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php
AutowiredInstanceTraitTest::testAutowire function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php Tests autowiring services and parameters.
AutowiredInstanceTraitTest::testAutowireMissingRequiredParameter function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php Tests exception for missing required parameter.
AutowiredInstanceTraitTest::testAutowireMissingRequiredService function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php Tests exception for missing required service.
AutowireRequiredParameterTestClass class core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php Test class for autowiring a required parameter.
AutowireRequiredParameterTestClass::__construct function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php
AutowireRequiredServiceTestClass class core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php Test class for autowiring a required service.
AutowireRequiredServiceTestClass::__construct function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php
AutowireTest class core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php Tests auto-wiring services.
AutowireTest.php file core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php
AutowireTest::$modules property core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php Modules to install.
AutowireTest::testAutowire function core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php Tests that 'autowire_test.service' has its dependencies injected.
AutowireTest::testCoreControllerAutowiring function core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php Tests that core controllers are autowired where possible.
AutowireTest::testCoreServiceAliases function core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php Tests that core services have aliases correctly defined where possible.
AutowireTestClass class core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php Test class covering service and parameter autowiring scenarios.
AutowireTestClass::$setterNamedService property core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php An injected service.
AutowireTestClass::$setterParameter property core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php An injected parameter.
AutowireTestClass::$setterTypedService property core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php An injected service.
AutowireTestClass::setNamedService function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php #[Required]
AutowireTestClass::setParameter function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php #[Required]
AutowireTestClass::setTypedService function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php #[Required]
AutowireTestClass::__construct function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php
autowire_test.info.yml file core/modules/system/tests/modules/autowire_test/autowire_test.info.yml core/modules/system/tests/modules/autowire_test/autowire_test.info.yml
autowire_test.services.yml file core/modules/system/tests/modules/autowire_test/autowire_test.services.yml core/modules/system/tests/modules/autowire_test/autowire_test.services.yml
BackendChainImplementationUnitTest class core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Unit test of backend chain implementation specifics.
BackendChainImplementationUnitTest.php file core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php
BackendChainImplementationUnitTest::$chain property core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Chain that will be heavily tested.
BackendChainImplementationUnitTest::$firstBackend property core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php First backend in the chain.
BackendChainImplementationUnitTest::$secondBackend property core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Second backend in the chain.
BackendChainImplementationUnitTest::$thirdBackend property core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Third backend in the chain.
BackendChainImplementationUnitTest::setUp function core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php
BackendChainImplementationUnitTest::testDelete function core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Tests that delete will propagate.
BackendChainImplementationUnitTest::testDeleteAllPropagation function core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Tests that the delete all operation is propagated to all chained backends.

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