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. 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
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/jsonapi/tests/src/Unit/Encoder/JsonEncoderTest.php Tests the JSON:API encoder.
JsonEncoderTest class core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php Tests Drupal\serialization\Encoder\JsonEncoder.
JsonEncoderTest.php file core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php
JsonEncoderTest.php file core/modules/jsonapi/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.
JsonTest::testEncodingLength function core/tests/Drupal/Tests/Component/Serialization/JsonTest.php Tests encoding length.
JsonTest::testEncodingStartEnd function core/tests/Drupal/Tests/Component/Serialization/JsonTest.php Tests end and start of the encoded string.
JsonTest::testReversibility function core/tests/Drupal/Tests/Component/Serialization/JsonTest.php Tests converting PHP variables to JSON strings and back.
JsonTest::testStructuredReversibility function core/tests/Drupal/Tests/Component/Serialization/JsonTest.php Tests the reversibility of structured data.
JsonTestFieldFilterAccessHooks class core/modules/jsonapi/tests/modules/jsonapi_test_field_filter_access/src/Hook/JsonTestFieldFilterAccessHooks.php Hook implementations for jsonapi_test_field_filter_access.
JsonTestFieldFilterAccessHooks.php file core/modules/jsonapi/tests/modules/jsonapi_test_field_filter_access/src/Hook/JsonTestFieldFilterAccessHooks.php
JsonTestFieldFilterAccessHooks::jsonapiEntityFieldFilterAccess function core/modules/jsonapi/tests/modules/jsonapi_test_field_filter_access/src/Hook/JsonTestFieldFilterAccessHooks.php Implements hook_jsonapi_entity_field_filter_access().
JsOptimizerUnitTest class core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Tests the JS asset optimizer.
JsOptimizerUnitTest.php file core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php
JsOptimizerUnitTest::$optimizer property core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php A JS asset optimizer.
JsOptimizerUnitTest::providerTestClean function core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Provides data for the JS asset cleaning test.

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