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
jsonapi_test_field_type.services.yml file core/modules/jsonapi/tests/modules/jsonapi_test_field_type/jsonapi_test_field_type.services.yml core/modules/jsonapi/tests/modules/jsonapi_test_field_type/jsonapi_test_field_type.services.yml
jsonapi_test_meta_events.info.yml file core/modules/jsonapi/tests/modules/jsonapi_test_meta_events/jsonapi_test_meta_events.info.yml core/modules/jsonapi/tests/modules/jsonapi_test_meta_events/jsonapi_test_meta_events.info.yml
jsonapi_test_meta_events.meta_subscriber service core/modules/jsonapi/tests/modules/jsonapi_test_meta_events/jsonapi_test_meta_events.services.yml Drupal\jsonapi_test_meta_events\EventSubscriber\MetaEventSubscriber
jsonapi_test_meta_events.services.yml file core/modules/jsonapi/tests/modules/jsonapi_test_meta_events/jsonapi_test_meta_events.services.yml core/modules/jsonapi/tests/modules/jsonapi_test_meta_events/jsonapi_test_meta_events.services.yml
jsonapi_test_non_cacheable_methods.info.yml file core/modules/jsonapi/tests/modules/jsonapi_test_non_cacheable_methods/jsonapi_test_non_cacheable_methods.info.yml core/modules/jsonapi/tests/modules/jsonapi_test_non_cacheable_methods/jsonapi_test_non_cacheable_methods.info.yml
jsonapi_test_normalizers_kernel.info.yml file core/modules/jsonapi/tests/modules/jsonapi_test_normalizers_kernel/jsonapi_test_normalizers_kernel.info.yml core/modules/jsonapi/tests/modules/jsonapi_test_normalizers_kernel/jsonapi_test_normalizers_kernel.info.yml
jsonapi_test_normalizers_kernel.jsonapi_document_toplevel service core/modules/jsonapi/tests/modules/jsonapi_test_normalizers_kernel/jsonapi_test_normalizers_kernel.services.yml Alias of serializer.normalizer.jsonapi_document_toplevel.jsonapi
jsonapi_test_normalizers_kernel.services.yml file core/modules/jsonapi/tests/modules/jsonapi_test_normalizers_kernel/jsonapi_test_normalizers_kernel.services.yml core/modules/jsonapi/tests/modules/jsonapi_test_normalizers_kernel/jsonapi_test_normalizers_kernel.services.yml
jsonapi_test_resource_type_building.build_subscriber service core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/jsonapi_test_resource_type_building.services.yml Drupal\jsonapi_test_resource_type_building\EventSubscriber\ResourceTypeBuildEventSubscriber
jsonapi_test_resource_type_building.info.yml file core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/jsonapi_test_resource_type_building.info.yml core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/jsonapi_test_resource_type_building.info.yml
jsonapi_test_resource_type_building.late_build_subscriber service core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/jsonapi_test_resource_type_building.services.yml Drupal\jsonapi_test_resource_type_building\EventSubscriber\LateResourceTypeBuildEventSubscriber
jsonapi_test_resource_type_building.services.yml file core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/jsonapi_test_resource_type_building.services.yml core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/jsonapi_test_resource_type_building.services.yml
jsonapi_test_user.info.yml file core/modules/jsonapi/tests/modules/jsonapi_test_user/jsonapi_test_user.info.yml core/modules/jsonapi/tests/modules/jsonapi_test_user/jsonapi_test_user.info.yml
JsOnceTestController class core/modules/system/tests/modules/js_once_test/src/Controller/JsOnceTestController.php Controller for testing the @drupal/once library integration.
JsOnceTestController.php file core/modules/system/tests/modules/js_once_test/src/Controller/JsOnceTestController.php
JsOnceTestController::onceTest function core/modules/system/tests/modules/js_once_test/src/Controller/JsOnceTestController.php Provides elements for testing @drupal/once.
JsonEncoderTest class core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php Tests Drupal\serialization\Encoder\JsonEncoder.
JsonEncoderTest class core/modules/jsonapi/tests/src/Unit/Encoder/JsonEncoderTest.php Tests the JSON:API encoder.
JsonEncoderTest.php file core/modules/jsonapi/tests/src/Unit/Encoder/JsonEncoderTest.php
JsonEncoderTest.php file core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php
JsonEncoderTest::$encoder property core/modules/jsonapi/tests/src/Unit/Encoder/JsonEncoderTest.php The encoder under test.
JsonEncoderTest::$encoder property core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php The encoder under test.
JsonEncoderTest::setUp function core/modules/jsonapi/tests/src/Unit/Encoder/JsonEncoderTest.php
JsonEncoderTest::setUp function core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php
JsonEncoderTest::testEncodeInvalidUtf8IsSubstituted function core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php Tests that invalid UTF-8 is handled via JSON_INVALID_UTF8_SUBSTITUTE.
JsonEncoderTest::testHtmlUnsafeCharactersAreEscaped function core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php Tests that HTML-unsafe characters are still escaped.
JsonEncoderTest::testInheritsControlCharacterHandling function core/modules/jsonapi/tests/src/Unit/Encoder/JsonEncoderTest.php Tests JSON:API encoder inherits control character handling.
JsonEncoderTest::testStructuredDataSmokeTest function core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php Simple structured data smoke test.
JsonEncoderTest::testSupportsEncoding function core/modules/jsonapi/tests/src/Unit/Encoder/JsonEncoderTest.php Tests the supportsEncoding() method.
JsonEncoderTest::testSupportsEncoding function core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php Tests the supportsEncoding() method.
JsonSchemaTestTrait trait core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Trait for testing JSON Schema validity and fit to sample data.
JsonSchemaTestTrait.php file core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php
JsonSchemaTestTrait::doCheckSchemaAgainstMetaSchema function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Check a schema is valid against the meta-schema.
JsonSchemaTestTrait::doProphesize function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Method to make prophecy public for use in data provider closures.
JsonSchemaTestTrait::doTestJsonSchemaIsValid function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Validate the normalizer's JSON schema.
JsonSchemaTestTrait::getJsonSchemaTestNormalizationFormat function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Format that should be used when performing test normalizations.
JsonSchemaTestTrait::getNormalizationForValue function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Get the normalization for a value.
JsonSchemaTestTrait::getNormalizer function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Helper method to retrieve the normalizer.
JsonSchemaTestTrait::getValidator function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Get the JSON Schema Validator.
JsonSchemaTestTrait::jsonSchemaDataProvider function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Data provider for ::testNormalizedValuesAgainstJsonSchema.
JsonSchemaTestTrait::supportedTypesDataProvider function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php
JsonSchemaTestTrait::testNormalizedValuesAgainstJsonSchema function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Test normalized values against the JSON schema.
JsonSchemaTestTrait::testSupportedTypesSchemaIsValid function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Test that a valid schema is returned for the explicitly supported types.
JsonTest class core/tests/Drupal/Tests/Component/Serialization/JsonTest.php Tests Drupal\Component\Serialization\Json.
JsonTest.php file core/tests/Drupal/Tests/Component/Serialization/JsonTest.php
JsonTest::$htmlUnsafe property core/tests/Drupal/Tests/Component/Serialization/JsonTest.php An array of unsafe html characters which has to be encoded.
JsonTest::$htmlUnsafeEscaped property core/tests/Drupal/Tests/Component/Serialization/JsonTest.php An array of unsafe html characters which are already escaped.
JsonTest::$string property core/tests/Drupal/Tests/Component/Serialization/JsonTest.php A test string with the full ASCII table.
JsonTest::setUp function core/tests/Drupal/Tests/Component/Serialization/JsonTest.php
JsonTest::testEncodingAscii function core/tests/Drupal/Tests/Component/Serialization/JsonTest.php Tests encoding for every ASCII character.

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