Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Search main for test
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
TimestampItemTest::$field property core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php The field used in this test class.
TimestampItemTest::$fieldStorage property core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php A field storage to use in this test class.
TimestampItemTest::setUp function core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php Set the default field storage backend for fields created during tests.
TimestampItemTest::testDateTime function core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php Tests using entity fields of the datetime field type.
TimestampNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Unit test coverage for the "Timestamp" @DataType.
TimestampNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php
TimestampNormalizerTest::$data property core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php The tested data type.
TimestampNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php The tested data type's normalizer.
TimestampNormalizerTest::providerTestDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Data provider for testDenormalizeValidFormats.
TimestampNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php
TimestampNormalizerTest::testDenormalizeException function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Tests the denormalize function with bad data.
TimestampNormalizerTest::testDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Tests the denormalize function with good data.
TimestampNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php @covers ::normalize[[api-linebreak]]
TimestampNormalizerTest::testSupportsDenormalization function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php @covers ::supportsDenormalization[[api-linebreak]]
TimestampNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php @covers ::supportsNormalization[[api-linebreak]]
TimestampNormalizerTestDrupalDateTime class core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Note: Prophecy does not support magic methods. By subclassing and specifying
an explicit method, Prophecy works.
TimestampNormalizerTestDrupalDateTime::setTimezone function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php
TimestampSchemaTest class core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php Tests timestamp schema.
TimestampSchemaTest.php file core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php
TimestampSchemaTest::$modules property core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php Modules to enable.
TimestampSchemaTest::setUp function core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php
TimestampSchemaTest::testTimestampSchema function core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php Tests if the timestamp field schema is validated.
TimestampTest class core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php Tests the functionality of Timestamp core field UI.
TimestampTest.php file core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php
TimestampTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php The theme to install as the default for testing.
TimestampTest::$displayOptions property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php An array of display options to pass to EntityDisplayRepositoryInterface::getViewDisplay().
TimestampTest::$field property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php The field used in this test class.
TimestampTest::$fieldStorage property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php A field storage to use in this test class.
TimestampTest::$modules property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php Modules to enable.
TimestampTest::setUp function core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php
TimestampTest::testWidget function core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php Tests the "datetime_timestamp" widget.
TimeTest class core/tests/Drupal/Tests/Component/Datetime/TimeTest.php @coversDefaultClass \Drupal\Component\Datetime\Time[[api-linebreak]]
@group Datetime
TimeTest.php file core/tests/Drupal/Tests/Component/Datetime/TimeTest.php
TimeTest::$requestStack property core/tests/Drupal/Tests/Component/Datetime/TimeTest.php The mocked request stack.
TimeTest::$time property core/tests/Drupal/Tests/Component/Datetime/TimeTest.php The mocked time class.
TimeTest::setUp function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php
TimeTest::testGetCurrentMicroTime function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Tests the getCurrentMicroTime method.
TimeTest::testGetCurrentTime function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Tests the getCurrentTime method.
TimeTest::testGetRequestMicroTime function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Tests the getRequestMicroTime method.
TimeTest::testGetRequestMicroTimeNoRequest function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php @covers ::getRequestMicroTime[[api-linebreak]]
TimeTest::testGetRequestTime function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Tests the getRequestTime method.
TimeTest::testGetRequestTimeNoRequest function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php @covers ::getRequestTime[[api-linebreak]]
TimeZoneDeprecationTest class core/modules/system/tests/src/Kernel/TimeZoneDeprecationTest.php Tests deprecated methods in bootstrap throw deprecation warnings.
TimeZoneDeprecationTest.php file core/modules/system/tests/src/Kernel/TimeZoneDeprecationTest.php
TimeZoneDeprecationTest::$modules property core/modules/system/tests/src/Kernel/TimeZoneDeprecationTest.php Modules to enable.
TimeZoneDeprecationTest::testDeprecation function core/modules/system/tests/src/Kernel/TimeZoneDeprecationTest.php @expectedDeprecation drupal_get_user_timezone() is deprecated in drupal:8.8.0. It will be removed from drupal:9.0.0. Use date_default_timezone_get() instead. See https://www.drupal.org/node/3009387
TimezoneResolverTest class core/modules/system/tests/src/Kernel/TimezoneResolverTest.php @coversDefaultClass \Drupal\system\TimeZoneResolver[[api-linebreak]]
@group system
TimezoneResolverTest.php file core/modules/system/tests/src/Kernel/TimezoneResolverTest.php
TimezoneResolverTest::$modules property core/modules/system/tests/src/Kernel/TimezoneResolverTest.php Modules to enable.
TimezoneResolverTest::testGetTimeZone function core/modules/system/tests/src/Kernel/TimezoneResolverTest.php Tests time zone resolution.

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