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. 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
DrupalCheckIncompatibilityTest::providerDrupalCheckIncompatibility function core/tests/Drupal/KernelTests/Core/Common/DrupalCheckIncompatibilityTest.php Data provider for testDrupalCheckIncompatibility.
DrupalCheckIncompatibilityTest::testDrupalCheckIncompatibility function core/tests/Drupal/KernelTests/Core/Common/DrupalCheckIncompatibilityTest.php Tests drupal_check_incompatibility().
DrupalComponentTest class core/tests/Drupal/Tests/Component/DrupalComponentTest.php General tests for \Drupal\Component that can't go anywhere else.
DrupalComponentTest.php file core/tests/Drupal/Tests/Component/DrupalComponentTest.php
DrupalComponentTest::assertNoCoreUsage function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Asserts that the given class is not using any class from Core namespace.
DrupalComponentTest::findPhpClasses function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Searches a directory recursively for PHP classes.
DrupalComponentTest::getComponents function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Data provider.
DrupalComponentTest::providerAssertNoCoreUseage function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Data provider for testAssertNoCoreUseage().
DrupalComponentTest::testAssertNoCoreUseage function core/tests/Drupal/Tests/Component/DrupalComponentTest.php @covers \Drupal\Tests\Component\DrupalComponentTest::assertNoCoreUsage[[api-linebreak]]
@dataProvider providerAssertNoCoreUseage
DrupalComponentTest::testComponentLicence function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Tests LICENSE.txt is present and has the correct content.
DrupalComponentTest::testNoCoreInComponent function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Tests that classes in Component do not use any Core class.
DrupalComponentTest::testNoCoreInComponentTests function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Tests that classes in Component Tests do not use any Core class.
DrupalComponentTestListenerTrait trait core/tests/Drupal/Tests/Listeners/DrupalComponentTestListenerTrait.php Ensures that no component tests are extending a core test base class.
DrupalComponentTestListenerTrait.php file core/tests/Drupal/Tests/Listeners/DrupalComponentTestListenerTrait.php
DrupalComponentTestListenerTrait::componentEndTest function core/tests/Drupal/Tests/Listeners/DrupalComponentTestListenerTrait.php Reacts to the end of a test.
DrupalDateTimeTest class core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php @coversDefaultClass \Drupal\Core\Datetime\DrupalDateTime[[api-linebreak]]
@group Datetime
DrupalDateTimeTest class core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php Tests DrupalDateTime functionality.
DrupalDateTimeTest.php file core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php
DrupalDateTimeTest.php file core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php
DrupalDateTimeTest::$defaultTheme property core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php The theme to install as the default for testing.
DrupalDateTimeTest::$modules property core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php Set up required modules.
DrupalDateTimeTest::providerTestDateDiff function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Provides data for date tests.
DrupalDateTimeTest::providerTestInvalidDateDiff function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Provides data for date tests.
DrupalDateTimeTest::setUp function core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php Test setup.
DrupalDateTimeTest::testChainable function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests that object methods are chainable.
DrupalDateTimeTest::testChainableNonCallable function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests that chained calls to non-existent functions throw an exception.
DrupalDateTimeTest::testChainableNonChainable function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests that non-chainable methods work.
DrupalDateTimeTest::testDateDiff function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Test date diffs.
DrupalDateTimeTest::testDateTimezone function core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php Test that DrupalDateTime can detect the right timezone to use.
Test with a variety of less commonly used timezone names to
help ensure that the system timezone will be different than the
stated timezones.
DrupalDateTimeTest::testDefaultDateTime function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests setting the default time for date-only objects.
DrupalDateTimeTest::testGetPhpDateTime function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php @covers ::getPhpDateTime[[api-linebreak]]
DrupalDateTimeTest::testInvalidDateDiff function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Test date diff exception caused by invalid input.
DrupalDateTimeTest::testSystemTimezone function core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php Test that the AJAX Timezone Callback can deal with various formats.
DrupalDateTimeTest::testTimezoneFormat function core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php Tests the ability to override the time zone in the format method.
DrupalFlushAllCachesTest class core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php @covers ::drupal_flush_all_caches[[api-linebreak]]
@group Common
DrupalFlushAllCachesTest.php file core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php
DrupalFlushAllCachesTest::$modules property core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php Modules to enable.
DrupalFlushAllCachesTest::testDrupalFlushAllCachesModuleList function core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php Tests that drupal_flush_all_caches() uses core.extension properly.
DrupalGetProfileLegacyTest class core/tests/Drupal/Tests/Core/Bootstrap/DrupalGetProfileLegacyTest.php Tests drupal_get_profile().
DrupalGetProfileLegacyTest.php file core/tests/Drupal/Tests/Core/Bootstrap/DrupalGetProfileLegacyTest.php
DrupalGetProfileLegacyTest::$bootstrapConfigStorageProfile property core/tests/Drupal/Tests/Core/Bootstrap/DrupalGetProfileLegacyTest.php Config storage profile.
DrupalGetProfileLegacyTest::providerDrupalGetProfileInstallState function core/tests/Drupal/Tests/Core/Bootstrap/DrupalGetProfileLegacyTest.php Data provider for testDrupalGetProfileInstallState().
DrupalGetProfileLegacyTest::setUp function core/tests/Drupal/Tests/Core/Bootstrap/DrupalGetProfileLegacyTest.php
DrupalGetProfileLegacyTest::testDrupalGetProfileLegacyInstallState function core/tests/Drupal/Tests/Core/Bootstrap/DrupalGetProfileLegacyTest.php Tests drupal_get_profile() deprecation.
DrupalKernelSiteTest class core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelSiteTest.php Tests site-specific service overrides.
DrupalKernelSiteTest.php file core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelSiteTest.php
DrupalKernelSiteTest::testServicesYml function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelSiteTest.php Tests services.yml in site directory.
DrupalKernelTest class core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests DIC compilation to disk.
DrupalKernelTest class core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php @coversDefaultClass \Drupal\Core\DrupalKernel[[api-linebreak]]
@group DrupalKernel
DrupalKernelTest.php file core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php

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