Search for Unit

  1. Search 7.x for Unit
  2. Search 9.5.x for Unit
  3. Search 8.9.x for Unit
  4. Search 10.3.x for Unit
  5. Search 11.x for Unit
  6. Other projects
Title Object type File name Summary
ResponsiveImageStyleConfigEntityUnitTest::$entityType property core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php The entity type used for testing.
ResponsiveImageStyleConfigEntityUnitTest::$entityTypeManager property core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php The entity type manager used for testing.
ResponsiveImageStyleConfigEntityUnitTest::setUp function core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php
ResponsiveImageStyleConfigEntityUnitTest::testCalculateDependencies function core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php Tests calculate dependencies.
ResponsiveImageStyleConfigEntityUnitTest::testGetImageStyleMapping function core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php Tests get image style mapping.
ResponsiveImageStyleConfigEntityUnitTest::testGetImageStyleMappings function core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php Tests get image style mappings.
ResponsiveImageStyleConfigEntityUnitTest::testGetKeyedImageStyleMappings function core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php Tests get keyed image style mappings.
ResponsiveImageStyleConfigEntityUnitTest::testHasImageStyleMappings function core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php Tests has image style mappings.
ResponsiveImageStyleConfigEntityUnitTest::testRemoveImageStyleMappings function core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php Tests remove image style mappings.
ResponsiveImageStyleConfigEntityUnitTest::testSetBreakpointGroup function core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php Tests set breakpoint group.
StyleTableUnitTest class core/modules/views/tests/src/Kernel/Plugin/StyleTableUnitTest.php Tests the table style plugin.
StyleTableUnitTest.php file core/modules/views/tests/src/Kernel/Plugin/StyleTableUnitTest.php
StyleTableUnitTest::$testViews property core/modules/views/tests/src/Kernel/Plugin/StyleTableUnitTest.php Views used by this test.
StyleTableUnitTest::prepareView function core/modules/views/tests/src/Kernel/Plugin/StyleTableUnitTest.php Prepares a view executable by initializing everything which is needed.
StyleTableUnitTest::testTable function core/modules/views/tests/src/Kernel/Plugin/StyleTableUnitTest.php Tests the table style.
TestDimensionUnit.php file core/modules/system/tests/modules/design_tokens_test/src/Enum/TestDimensionUnit.php
TestDiscoveryTest::providerTestGetPhpunitTestSuite function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::testGetPhpunitTestSuite function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Tests PhpUnitTestDiscovery::getPhpunitTestSuite().
TestRunTest::testProcessPhpUnitResults function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php Tests process php unit results.
UnitTest class core/tests/PHPStan/fixtures/component-tests.php
UnitTestCase class core/tests/Drupal/Tests/UnitTestCase.php Provides a base class and helpers for Drupal unit tests.
UnitTestCase.php file core/tests/Drupal/Tests/UnitTestCase.php
UnitTestCase::getClassResolverStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub class resolver.
UnitTestCase::getConfigFactoryStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub config factory that behaves according to the passed array.
UnitTestCase::getContainerWithCacheTagsInvalidator function core/tests/Drupal/Tests/UnitTestCase.php Sets up a container with a cache tags invalidator.
UnitTestCase::getStringTranslationStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub translation manager that just returns the passed string.
UnitTestCase::setUp function core/tests/Drupal/Tests/UnitTestCase.php
UnitTestCase::setupMockIterator function core/tests/Drupal/Tests/UnitTestCase.php Set up a traversable class mock to return specific items when iterated.
UnitTestCaseTest class core/tests/Drupal/Tests/UnitTestCaseTest.php Tests for the UnitTestCase class.
UnitTestCaseTest.php file core/tests/Drupal/Tests/UnitTestCaseTest.php
UnitTestCaseTest::testVarDumpSameProcess function core/tests/Drupal/Tests/UnitTestCaseTest.php Tests the dump() function in a test run in the same process.
UnitTestCaseTest::testVarDumpSeparateProcess function core/tests/Drupal/Tests/UnitTestCaseTest.php Tests the dump() function in a test run in a separate process.
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 Modules to install.
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.

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