function DesignTokenValuePluginTestBase::testToDtcg
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Theme/DesignToken/DesignTokenValuePluginTestBase.php \Drupal\Tests\Core\Theme\DesignToken\DesignTokenValuePluginTestBase::testToDtcg()
Tests toDtcg.
5 methods override DesignTokenValuePluginTestBase::testToDtcg()
- DimensionTest::testToDtcg in core/
tests/ Drupal/ Tests/ Core/ Theme/ DesignToken/ Plugin/ DimensionTest.php - #[DataProvider('providerToDtcg')]
- FontFamilyTest::testToDtcg in core/
tests/ Drupal/ Tests/ Core/ Theme/ DesignToken/ Plugin/ FontFamilyTest.php - #[DataProvider('providerToDtcg')]
- FontWeightTest::testToDtcg in core/
tests/ Drupal/ Tests/ Core/ Theme/ DesignToken/ Plugin/ FontWeightTest.php - #[DataProvider('providerToDtcg')]
- NumberTest::testToDtcg in core/
tests/ Drupal/ Tests/ Core/ Theme/ DesignToken/ Plugin/ NumberTest.php - #[DataProvider('providerToDtcg')]
- TypographyTest::testToDtcg in core/
tests/ Drupal/ Tests/ Core/ Theme/ DesignToken/ Plugin/ TypographyTest.php - #[DataProvider('providerToDtcg')]
File
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ DesignToken/ DesignTokenValuePluginTestBase.php, line 22
Class
- DesignTokenValuePluginTestBase
- Base class for testing design token value plugins.
Namespace
Drupal\Tests\Core\Theme\DesignTokenCode
abstract public function testToDtcg(mixed $value, mixed $expected) : void;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.