Search for Unit
- Search 7.x for Unit
- Search 9.5.x for Unit
- Search 10.3.x for Unit
- Search 11.x for Unit
- Search main for Unit
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| UnitTestCaseDeprecationTest | class | core/ |
@coversDefaultClass \Drupal\Tests\UnitTestCase[[api-linebreak]] |
| UnitTestCaseDeprecationTest.php | file | core/ |
|
| UnitTestCaseDeprecationTest::testDeprecatedGetBlockMockWithMachineName | function | core/ |
@covers ::getBlockMockWithMachineName[[api-linebreak]] @expectedDeprecation Drupal\Tests\UnitTestCase::getBlockMockWithMachineName is deprecated in Drupal 8.5.x, will be removed before Drupal 9.0.0. Unit test base classes should not have dependencies… |
| UnitTestSuite | class | core/ |
Discovers tests for the unit test suite. |
| UnitTestSuite.php | file | core/ |
|
| UnitTestSuite::suite | function | core/ |
Factory method which loads up a suite with all unit tests. |
| XssUnitTest | class | core/ |
Confirm that \Drupal\Component\Utility\Xss::filter() and check_url() work correctly, including invalid multi-byte sequences. |
| XssUnitTest.php | file | core/ |
|
| XssUnitTest::$modules | property | core/ |
Modules to enable. |
| XssUnitTest::setUp | function | core/ |
|
| XssUnitTest::testBadProtocolStripping | function | core/ |
Checks that harmful protocols are stripped. |
| XssUnitTest::testCheckUrl | function | core/ |
Tests deprecation of the check_url() function. |
| XssUnitTest::testT | function | core/ |
Tests t() functionality. |
Pagination
- Previous page
- Page 14
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.