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 11.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
SerializerTest::$sut property core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php The subject under test.
SerializerTest::$user property core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php A user.
SerializerTest::$view property core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php The View instance.
SerializerTest::setUp function core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php
SerializerTest::setUp function core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php
SerializerTest::testFallbackNormalizer function core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php @covers \Drupal\jsonapi\Serializer\Serializer::normalize[[api-linebreak]]
SerializerTest::testSerializerReceivesOptions function core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php Tests that the symfony serializer receives style plugin from the render() method.
ServiceClassDrivertestMysql class core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php
ServiceDeprecationTest class core/tests/Drupal/FunctionalTests/Core/Container/ServiceDeprecationTest.php Test whether deprecation notices are triggered via \Drupal::service().
ServiceDeprecationTest.php file core/tests/Drupal/FunctionalTests/Core/Container/ServiceDeprecationTest.php
ServiceDeprecationTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Core/Container/ServiceDeprecationTest.php The theme to install as the default for testing.
ServiceDeprecationTest::$modules property core/tests/Drupal/FunctionalTests/Core/Container/ServiceDeprecationTest.php Modules to install.
ServiceDeprecationTest::testGetDeprecated function core/tests/Drupal/FunctionalTests/Core/Container/ServiceDeprecationTest.php @covers ::get[[api-linebreak]]
ServiceDestructionTest class core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php Tests that services are correctly destructed.
ServiceDestructionTest.php file core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php
ServiceDestructionTest::testDestructionUnused function core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php Verifies that services are not unnecessarily destructed when not used.
ServiceDestructionTest::testDestructionUsed function core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php Verifies that services are destructed when used.
ServiceProviderTest class core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php Tests service provider registration to the DIC.
ServiceProviderTest.php file core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php
ServiceProviderTest::$modules property core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php Modules to install.
ServiceProviderTest::register function core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php Registers test-specific services.
ServiceProviderTest::testServiceProviderRegistration function core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php Tests that services provided by module service providers get registered to the DIC.
ServiceProviderTest::testServiceProviderRegistrationDynamic function core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php Tests that the DIC keeps up with module enable/disable in the same request.
ServiceProviderTestServiceProvider class core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php
ServiceProviderTestServiceProvider.php file core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php
ServiceProviderTestServiceProvider::alter function core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php Modifies existing service definitions.
ServiceProviderWebTest class core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php Tests service provider registration to the DIC.
ServiceProviderWebTest.php file core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php
ServiceProviderWebTest::$defaultTheme property core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php The theme to install as the default for testing.
ServiceProviderWebTest::$modules property core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php Modules to install.
ServiceProviderWebTest::testServiceProviderRegistrationIntegration function core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php Tests that module service providers get registered to the DIC.
ServicesDefaultsTest class core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php Tests services _defaults definition.
ServicesDefaultsTest.php file core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php
ServicesDefaultsTest::$modules property core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php Modules to install.
ServicesDefaultsTest::testAutowiring function core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php Tests that 'services_defaults_test.service' has its dependencies injected.
ServicesDefaultsTest::testDefaultTags function core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php Tests that default tags for 'services_defaults_test.service' are applied.
ServicesDefaultsTest::testPrivateServices function core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php Tests that service from 'services_defaults_test.service' is private.
services_defaults_test.info.yml file core/modules/system/tests/modules/services_defaults_test/services_defaults_test.info.yml core/modules/system/tests/modules/services_defaults_test/services_defaults_test.info.yml
services_defaults_test.services.yml file core/modules/system/tests/modules/services_defaults_test/services_defaults_test.services.yml core/modules/system/tests/modules/services_defaults_test/services_defaults_test.services.yml
services_default_test.no_autowire service core/modules/system/tests/modules/services_defaults_test/services_defaults_test.services.yml Drupal\services_defaults_test\TestService
services_default_test.no_autowire.arg service core/modules/system/tests/modules/services_defaults_test/services_defaults_test.services.yml Drupal\services_defaults_test\TestInjection
service_provider_test.info.yml file core/modules/system/tests/modules/service_provider_test/service_provider_test.info.yml core/modules/system/tests/modules/service_provider_test/service_provider_test.info.yml
service_provider_test.services.yml file core/modules/system/tests/modules/service_provider_test/service_provider_test.services.yml core/modules/system/tests/modules/service_provider_test/service_provider_test.services.yml
service_provider_test_class service core/modules/system/tests/modules/service_provider_test/service_provider_test.services.yml Drupal\service_provider_test\TestClass
SessionAuthenticationTest class core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Tests if sessions are correctly handled when a user authenticates.
SessionAuthenticationTest.php file core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php
SessionAuthenticationTest::$defaultTheme property core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php The theme to install as the default for testing.
SessionAuthenticationTest::$modules property core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Modules to install.
SessionAuthenticationTest::$user property core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php A test user.
SessionAuthenticationTest::assertSessionData function core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Checks the session data returned by the session test routes.

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