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 11.x 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
XmlEncoderTest::setUpEncoder function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Initializes the encoder and baseEncoder properties.
XmlEncoderTest::testDecode function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests the decode() method.
XmlEncoderTest::testDefaultEncoderHasSerializer function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests default encoder has serializer.
XmlEncoderTest::testEncode function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests the encode() method.
XmlEncoderTest::testSupportsDecoding function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests the supportsDecoding() method.
XmlEncoderTest::testSupportsEncoding function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests the supportsEncoding() method.
XmlEntityNormalizationQuirksTrait::doTestPatch function core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php
XmlEntityNormalizationQuirksTrait::doTestPost function core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php
XssTest class core/tests/Drupal/Tests/Component/Utility/XssTest.php XSS Filtering tests.
XssTest class core/modules/views_ui/tests/src/Functional/XssTest.php Tests the Xss vulnerability.
XssTest.php file core/modules/views_ui/tests/src/Functional/XssTest.php
XssTest.php file core/tests/Drupal/Tests/Component/Utility/XssTest.php
XssTest::$defaultTheme property core/modules/views_ui/tests/src/Functional/XssTest.php
XssTest::$modules property core/modules/views_ui/tests/src/Functional/XssTest.php
XssTest::assertNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Asserts that a text transformed to lowercase with HTML entities decoded does contain a given string.
XssTest::assertNotNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Asserts that text transformed to lowercase with HTML entities decoded does not contain a given string.
XssTest::providerTestAttributes function core/tests/Drupal/Tests/Component/Utility/XssTest.php Data provider for testAttribute().
XssTest::providerTestFilterXssAdminNotNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Data provider for testFilterXssAdminNotNormalized().
XssTest::providerTestFilterXssNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Data provider for testFilterXssNormalized().
XssTest::providerTestFilterXssNotNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Data provider for testFilterXssNotNormalized().
XssTest::providerTestInvalidMultiByte function core/tests/Drupal/Tests/Component/Utility/XssTest.php Data provider for testInvalidMultiByte().
XssTest::setUp function core/tests/Drupal/Tests/Component/Utility/XssTest.php
XssTest::testAttribute function core/tests/Drupal/Tests/Component/Utility/XssTest.php Check that strings in HTML attributes are correctly processed.
XssTest::testFilterNormalizedHtml5 function core/tests/Drupal/Tests/Component/Utility/XssTest.php Checks that escaped HTML embedded in an attribute is not filtered.
XssTest::testFilterXSSAdmin function core/tests/Drupal/Tests/Component/Utility/XssTest.php Checks that \Drupal\Component\Utility\Xss::filterAdmin() correctly strips disallowed tags.
XssTest::testFilterXssAdminNotNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Tests the loose, admin HTML filter.
XssTest::testFilterXssNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Tests limiting allowed tags and XSS prevention.
XssTest::testFilterXssNotNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Tests limiting to allowed tags and XSS prevention.
XssTest::testInvalidMultiByte function core/tests/Drupal/Tests/Component/Utility/XssTest.php Checks that invalid multi-byte sequences are rejected.
XssTest::testNoDoubleEscaping function core/modules/views_ui/tests/src/Functional/XssTest.php Checks the admin UI for double escaping.
XssTest::testQuestionSign function core/tests/Drupal/Tests/Component/Utility/XssTest.php Checks that strings starting with a question sign are correctly processed.
XssTest::testViewsUi function core/modules/views_ui/tests/src/Functional/XssTest.php Tests escaping with the test view.
XssUnitTest class core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php Tests XSS filtering.
XssUnitTest.php file core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php
XssUnitTest::$modules property core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php
XssUnitTest::setUp function core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php
XssUnitTest::testBadProtocolStripping function core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php Checks that harmful protocols are stripped.
XssUnitTest::testT function core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php Tests t() functionality.
xyz_hook_order_test.info.yml file core/modules/system/tests/modules/HookOrder/xyz_hook_order_test/xyz_hook_order_test.info.yml core/modules/system/tests/modules/HookOrder/xyz_hook_order_test/xyz_hook_order_test.info.yml
YamlCacheCollectorTest class core/tests/Drupal/Tests/Core/Utility/YamlCacheCollectorTest.php Tests Drupal\Core\Cache\CacheCollector.
YamlCacheCollectorTest.php file core/tests/Drupal/Tests/Core/Utility/YamlCacheCollectorTest.php
YamlCacheCollectorTest::$cacheBackend property core/tests/Drupal/Tests/Core/Utility/YamlCacheCollectorTest.php The cache backend that should be used.
YamlCacheCollectorTest::$cid property core/tests/Drupal/Tests/Core/Utility/YamlCacheCollectorTest.php The cache id used for the test.
YamlCacheCollectorTest::$collector property core/tests/Drupal/Tests/Core/Utility/YamlCacheCollectorTest.php Cache collector implementation to test.
YamlCacheCollectorTest::$lock property core/tests/Drupal/Tests/Core/Utility/YamlCacheCollectorTest.php The lock backend that should be used.
YamlCacheCollectorTest::$time property core/tests/Drupal/Tests/Core/Utility/YamlCacheCollectorTest.php The time instance that should be used.
YamlCacheCollectorTest::setUp function core/tests/Drupal/Tests/Core/Utility/YamlCacheCollectorTest.php
YamlCacheCollectorTest::testUpdateCache function core/tests/Drupal/Tests/Core/Utility/YamlCacheCollectorTest.php Tests the ::updateCache() function.
YamlDirectoryDiscoveryTest class core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php YamlDirectoryDiscoveryTest component unit tests.
YamlDirectoryDiscoveryTest class core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php Tests Drupal\Core\Plugin\Discovery\YamlDirectoryDiscovery.

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