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
WriteSafeSessionHandlerTest::setUp function core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php
WriteSafeSessionHandlerTest::testConstructWriteSafeSessionHandlerDefaultArgs function core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php Tests creating a WriteSafeSessionHandler with default arguments.
WriteSafeSessionHandlerTest::testConstructWriteSafeSessionHandlerDisableWriting function core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php Tests creating a WriteSafeSessionHandler with session writing disabled.
WriteSafeSessionHandlerTest::testOtherMethods function core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php Tests that other invocations are passed unmodified to the wrapped handler.
WriteSafeSessionHandlerTest::testSetSessionWritable function core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php Tests using setSessionWritable to enable/disable session writing.
XmlEncoderTest class core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php @coversDefaultClass \Drupal\serialization\Encoder\XmlEncoder[[api-linebreak]]
@group serialization
XmlEncoderTest.php file core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php
XmlEncoderTest::$baseEncoder property core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php
XmlEncoderTest::$encoder property core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php The XmlEncoder instance.
XmlEncoderTest::$testArray property core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php An array of test data.
XmlEncoderTest::setUp function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php
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 @covers ::getBaseEncoder[[api-linebreak]]
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::testPatch function core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php
XmlEntityNormalizationQuirksTrait::testPost function core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php
XssTest class core/modules/views_ui/tests/src/Functional/XssTest.php Tests the Xss vulnerability.
XssTest class core/tests/Drupal/Tests/Component/Utility/XssTest.php XSS Filtering tests.
XssTest.php file core/tests/Drupal/Tests/Component/Utility/XssTest.php
XssTest.php file core/modules/views_ui/tests/src/Functional/XssTest.php
XssTest::$defaultTheme property core/modules/views_ui/tests/src/Functional/XssTest.php The theme to install as the default for testing.
XssTest::$modules property core/modules/views_ui/tests/src/Functional/XssTest.php Modules to enable.
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 testFilterXssAdminNotNormalized().
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::testFilterXSSAdmin function core/tests/Drupal/Tests/Component/Utility/XssTest.php Checks that \Drupal\Component\Utility\Xss::filterAdmin() correctly strips unallowed 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
XssUnitTest class core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php Confirm that \Drupal\Component\Utility\Xss::filter() and check_url() work
correctly, including invalid multi-byte sequences.
XssUnitTest.php file core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php
XssUnitTest::$modules property core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php Modules to enable.
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::testCheckUrl function core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php Tests deprecation of the check_url() function.
XssUnitTest::testT function core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php Tests t() functionality.
YamlDirectoryDiscoveryTest class core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php @coversDefaultClass \Drupal\Core\Plugin\Discovery\YamlDirectoryDiscovery[[api-linebreak]]
YamlDirectoryDiscoveryTest class core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php YamlDirectoryDiscoveryTest component unit tests.

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