Search for Unit
- Search 7.x for Unit
- Search 8.9.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 |
|---|---|---|---|
| RdfMappingConfigEntityUnitTest::testCalculateDependenciesWithEntityBundle | function | core/ |
@covers ::calculateDependencies[[api-linebreak]] |
| ResponsiveImageStyleConfigEntityUnitTest | class | core/ |
@coversDefaultClass \Drupal\responsive_image\Entity\ResponsiveImageStyle[[api-linebreak]] @group block |
| ResponsiveImageStyleConfigEntityUnitTest.php | file | core/ |
|
| ResponsiveImageStyleConfigEntityUnitTest::$breakpointManager | property | core/ |
The breakpoint manager used for testing. |
| ResponsiveImageStyleConfigEntityUnitTest::$entityType | property | core/ |
The entity type used for testing. |
| ResponsiveImageStyleConfigEntityUnitTest::$entityTypeManager | property | core/ |
The entity type manager used for testing. |
| ResponsiveImageStyleConfigEntityUnitTest::setUp | function | core/ |
|
| ResponsiveImageStyleConfigEntityUnitTest::testCalculateDependencies | function | core/ |
@covers ::calculateDependencies[[api-linebreak]] |
| ResponsiveImageStyleConfigEntityUnitTest::testGetImageStyleMapping | function | core/ |
@covers ::addImageStyleMapping[[api-linebreak]] @covers ::getImageStyleMapping[[api-linebreak]] |
| ResponsiveImageStyleConfigEntityUnitTest::testGetImageStyleMappings | function | core/ |
@covers ::addImageStyleMapping[[api-linebreak]] @covers ::getImageStyleMappings[[api-linebreak]] |
| ResponsiveImageStyleConfigEntityUnitTest::testGetKeyedImageStyleMappings | function | core/ |
@covers ::addImageStyleMapping[[api-linebreak]] @covers ::getKeyedImageStyleMappings[[api-linebreak]] |
| ResponsiveImageStyleConfigEntityUnitTest::testHasImageStyleMappings | function | core/ |
@covers ::addImageStyleMapping[[api-linebreak]] @covers ::hasImageStyleMappings[[api-linebreak]] |
| ResponsiveImageStyleConfigEntityUnitTest::testRemoveImageStyleMappings | function | core/ |
@covers ::addImageStyleMapping[[api-linebreak]] @covers ::removeImageStyleMappings[[api-linebreak]] |
| ResponsiveImageStyleConfigEntityUnitTest::testSetBreakpointGroup | function | core/ |
@covers ::setBreakpointGroup[[api-linebreak]] @covers ::getBreakpointGroup[[api-linebreak]] |
| StyleTableUnitTest | class | core/ |
Tests the table style plugin. |
| StyleTableUnitTest.php | file | core/ |
|
| StyleTableUnitTest::$testViews | property | core/ |
Views used by this test. |
| StyleTableUnitTest::prepareView | function | core/ |
Prepares a view executable by initializing everything which is needed. |
| StyleTableUnitTest::testTable | function | core/ |
Tests the table style. |
| TestDatabase::processPhpUnitResults | function | core/ |
Inserts the parsed PHPUnit results into {simpletest}. |
| TestDiscovery::getPhpunitTestSuite | function | core/ |
Determines the phpunit testsuite for a given classname, based on namespace. |
| TestDiscoveryTest::providerTestGetPhpunitTestSuite | function | core/ |
|
| TestDiscoveryTest::testGetPhpunitTestSuite | function | core/ |
@covers ::getPhpunitTestSuite[[api-linebreak]] @dataProvider providerTestGetPhpunitTestSuite |
| UnitTestCase | class | core/ |
Provides a base class and helpers for Drupal unit tests. |
| UnitTestCase.php | file | core/ |
|
| UnitTestCase::$randomGenerator | property | core/ |
The random generator. |
| UnitTestCase::$root | property | core/ |
The app root. |
| UnitTestCase::assertArrayEquals | function | core/ |
Asserts if two arrays are equal by sorting them first. |
| UnitTestCase::getClassResolverStub | function | core/ |
Returns a stub class resolver. |
| UnitTestCase::getConfigFactoryStub | function | core/ |
Returns a stub config factory that behaves according to the passed array. |
| UnitTestCase::getConfigStorageStub | function | core/ |
Returns a stub config storage that returns the supplied configuration. |
| UnitTestCase::getContainerWithCacheTagsInvalidator | function | core/ |
Sets up a container with a cache tags invalidator. |
| UnitTestCase::getRandomGenerator | function | core/ |
Gets the random generator for the utility methods. |
| UnitTestCase::getStringTranslationStub | function | core/ |
Returns a stub translation manager that just returns the passed string. |
| UnitTestCase::randomMachineName | function | core/ |
Generates a unique random string containing letters and numbers. |
| UnitTestCase::setUp | function | core/ |
|
| UnitTestCase::setUpBeforeClass | function | core/ |
|
| UnitTestCaseTest | class | core/ |
Tests for the UnitTestCase class. |
| UnitTestCaseTest.php | file | core/ |
|
| UnitTestCaseTest::testAssertArrayEquals | function | core/ |
Tests deprecation of the ::assertArrayEquals method. |
| UnitTestCaseTest::testVarDumpSameProcess | function | core/ |
Tests the dump() function in a test run in the same process. |
| UnitTestCaseTest::testVarDumpSeparateProcess | function | core/ |
Tests the dump() function in a test run in a separate process. |
| 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/ |
Tests XSS filtering. |
| 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. |
Pagination
- Previous page
- Page 12
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.