| JsonEncoderTest::setUp |
function |
core/modules/jsonapi/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/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php |
Tests the supportsEncoding() method. |
| JsonEncoderTest::testSupportsEncoding |
function |
core/modules/jsonapi/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. |
| JsOptimizerUnitTest::providerTestOptimize |
function |
core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php |
Provides data for the JS asset optimize test. |
| JsOptimizerUnitTest::setUp |
function |
core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php |
|
| JsOptimizerUnitTest::testClean |
function |
core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php |
Tests cleaning of a JS asset group containing 'type' => 'file'. |
| JsOptimizerUnitTest::testOptimize |
function |
core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php |
Tests cleaning of a JS asset group containing 'type' => 'file'. |
| JsTestingAjaxRequestTestHooks |
class |
core/modules/system/tests/modules/js_testing_ajax_request_test/src/Hook/JsTestingAjaxRequestTestHooks.php |
Hook implementations for js_testing_ajax_request_test. |
| JsTestingAjaxRequestTestHooks.php |
file |
core/modules/system/tests/modules/js_testing_ajax_request_test/src/Hook/JsTestingAjaxRequestTestHooks.php |
|
| JsTestingAjaxRequestTestHooks::pageAttachments |
function |
core/modules/system/tests/modules/js_testing_ajax_request_test/src/Hook/JsTestingAjaxRequestTestHooks.php |
Implements hook_page_attachments(). |
| JsTestingLogTestHooks |
class |
core/modules/system/tests/modules/js_testing_log_test/src/Hook/JsTestingLogTestHooks.php |
Hook implementations for js_testing_log_test. |
| JsTestingLogTestHooks.php |
file |
core/modules/system/tests/modules/js_testing_log_test/src/Hook/JsTestingLogTestHooks.php |
|
| JsTestingLogTestHooks::jsSettingsAlter |
function |
core/modules/system/tests/modules/js_testing_log_test/src/Hook/JsTestingLogTestHooks.php |
Implements hook_js_settings_alter(). |
| JsTestingLogTestHooks::pageAttachments |
function |
core/modules/system/tests/modules/js_testing_log_test/src/Hook/JsTestingLogTestHooks.php |
Implements hook_page_attachments(). |
| JSTranslationTest |
class |
core/modules/ckeditor5/tests/src/FunctionalJavascript/JSTranslationTest.php |
Tests for CKEditor 5 plugins using Drupal's translation system. |