namespace Drupal\Tests\Component\Utility

Same name in other branches
  1. 9 Drupal\Tests\Component\Utility
  2. 8.9.x Drupal\Tests\Component\Utility
  3. 11.x Drupal\Tests\Component\Utility
Object name File name Summary
ArgumentsResolverTest core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php @coversDefaultClass \Drupal\Component\Utility\ArgumentsResolver
@group Access
BytesTest core/tests/Drupal/Tests/Component/Utility/BytesTest.php Tests bytes size parsing helper methods.
ColorTest core/tests/Drupal/Tests/Component/Utility/ColorTest.php Tests Color utility class conversions.
CryptTest core/tests/Drupal/Tests/Component/Utility/CryptTest.php Tests random byte generation.
DeprecationHelperTest core/tests/Drupal/Tests/Component/Utility/DeprecationHelperTest.php @coversDefaultClass \Drupal\Component\Utility\DeprecationHelper
@group Utility
EmailValidatorTest core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php Tests the EmailValidator utility class.
EnvironmentTest core/tests/Drupal/Tests/Component/Utility/EnvironmentTest.php Test PHP Environment helper methods.
HtmlTest core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests \Drupal\Component\Utility\Html.
HtmlTestMarkup core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Marks an object's __toString() method as returning markup.
ImageTest core/tests/Drupal/Tests/Component/Utility/ImageTest.php @coversDefaultClass \Drupal\Component\Utility\Image
@group Image
NestedArrayTest core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php @coversDefaultClass \Drupal\Component\Utility\NestedArray
@group Utility
NumberTest core/tests/Drupal/Tests/Component/Utility/NumberTest.php Tests number manipulation utilities.
RandomTest core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random data generation.
RectangleTest core/tests/Drupal/Tests/Component/Utility/RectangleTest.php @coversDefaultClass \Drupal\Component\Utility\Rectangle
@group Image
ReflectionTest core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php @coversDefaultClass \Drupal\Component\Utility\Reflection
@group Utility
SortArrayTest core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests the SortArray component.
StubVariableTestClass core/tests/Drupal/Tests/Component/Utility/VariableTest.php No-op test class for VariableTest::testExport().
Test1Interface core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php Provides a test interface.
Test2Interface core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php Provides a different test interface.
TestClass core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php Provides a test class.
TestStaticMethodClass core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php
TimerTest core/tests/Drupal/Tests/Component/Utility/TimerTest.php Tests the Timer system.
UnicodeTest core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Test unicode handling features implemented in Unicode component.
UrlHelperTest core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php @group Utility
UserAgentTest core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php Tests bytes size parsing helper methods.
VariableTest core/tests/Drupal/Tests/Component/Utility/VariableTest.php Test variable export functionality in Variable component.
VariableTestMock core/tests/Drupal/Tests/Component/Utility/VariableTest.php
XssTest core/tests/Drupal/Tests/Component/Utility/XssTest.php XSS Filtering tests.

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