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
SerializationTestNormalizer::supportsNormalization function core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php Checks whether format is supported by this normalizer.
serialization_test.info.yml file core/modules/serialization/tests/serialization_test/serialization_test.info.yml core/modules/serialization/tests/serialization_test/serialization_test.info.yml
serialization_test.services.yml file core/modules/serialization/tests/serialization_test/serialization_test.services.yml core/modules/serialization/tests/serialization_test/serialization_test.services.yml
SerializeQueryTest class core/tests/Drupal/KernelTests/Core/Database/SerializeQueryTest.php Tests serializing and unserializing a query.
SerializeQueryTest.php file core/tests/Drupal/KernelTests/Core/Database/SerializeQueryTest.php
SerializeQueryTest::testSerializeQuery function core/tests/Drupal/KernelTests/Core/Database/SerializeQueryTest.php Confirms that a query can be serialized and unserialized.
serializer.encoder.serialization_test service core/modules/serialization/tests/serialization_test/serialization_test.services.yml Drupal\serialization_test\SerializationTestEncoder
serializer.normalizer.serialization_test service core/modules/serialization/tests/serialization_test/serialization_test.services.yml Drupal\serialization_test\SerializationTestNormalizer
serializer.normalizer.string.jsonapi_test_data_type service core/modules/jsonapi/tests/modules/jsonapi_test_data_type/jsonapi_test_data_type.services.yml Drupal\jsonapi_test_data_type\Normalizer\StringNormalizer
serializer.normalizer.string.jsonapi_test_field_type service core/modules/jsonapi/tests/modules/jsonapi_test_field_type/jsonapi_test_field_type.services.yml Drupal\jsonapi_test_field_type\Normalizer\StringNormalizer
serializer.normalizer.traversable_object.jsonapi_test_data_type service core/modules/jsonapi/tests/modules/jsonapi_test_data_type/jsonapi_test_data_type.services.yml Drupal\jsonapi_test_data_type\Normalizer\TraversableObjectNormalizer
SerializerTest class core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php Tests the JSON:API serializer.
SerializerTest class core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php @coversDefaultClass \Drupal\rest\Plugin\views\style\Serializer[[api-linebreak]]
@group rest
SerializerTest.php file core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php
SerializerTest.php file core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php
SerializerTest::$displayHandler property core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php The RestExport display handler.
SerializerTest::$modules property core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php Modules to enable.
SerializerTest::$node property core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php An entity for testing.
SerializerTest::$resourceType property core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php A resource type for testing.
SerializerTest::$sut property core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php The subject under test.
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.
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 enable.
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 enable.
ServiceProviderWebTest::testServiceProviderRegistrationIntegration function core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php Tests that module service providers get registered to the DIC.
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 enable.
SessionAuthenticationTest::$user property core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php A test user.

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