Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 10.3.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
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::providerAssertNoCoreUsage function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Data provider for testAssertNoCoreUsage().
DrupalComponentTest::testAssertNoCoreUsage function core/tests/Drupal/Tests/Component/DrupalComponentTest.php @legacy-covers \Drupal\Tests\Component\DrupalComponentTest::assertNoCoreUsage
DrupalComponentTest::testComponentLicense 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.
DrupalDateTimeTest class core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests Drupal\Core\Datetime\DrupalDateTime.
DrupalDateTimeTest class core/tests/Drupal/KernelTests/Core/Datetime/DrupalDateTimeTest.php Tests DrupalDateTime functionality.
DrupalDateTimeTest.php file core/tests/Drupal/KernelTests/Core/Datetime/DrupalDateTimeTest.php
DrupalDateTimeTest.php file core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php
DrupalDateTimeTest::$modules property core/tests/Drupal/KernelTests/Core/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/tests/Drupal/KernelTests/Core/Datetime/DrupalDateTimeTest.php
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 Tests date diffs.
DrupalDateTimeTest::testDateTimezone function core/tests/Drupal/KernelTests/Core/Datetime/DrupalDateTimeTest.php Tests that DrupalDateTime can detect the right timezone to use.
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 Tests get php date time.
DrupalDateTimeTest::testInvalidDateDiff function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests date diff exception caused by invalid input.
DrupalDateTimeTest::testRfc2822DateFormat function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests that an RFC2822 formatted date always returns an English string.
DrupalDateTimeTest::testSleep function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Test to avoid serialization of formatTranslationCache.
DrupalDateTimeTest::testTimezoneFormat function core/tests/Drupal/KernelTests/Core/Datetime/DrupalDateTimeTest.php Tests the ability to override the time zone in the format method.
DrupalFlushAllCachesInInstallerTest class core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php Tests drupal_flush_all_caches() during an install.
DrupalFlushAllCachesInInstallerTest.php file core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php
DrupalFlushAllCachesInInstallerTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php The theme to install as the default for testing.
DrupalFlushAllCachesInInstallerTest::$profile property core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php The profile to install as a basis for testing.
DrupalFlushAllCachesInInstallerTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php Prepares the current environment for running the test.
DrupalFlushAllCachesInInstallerTest::testInstalled function core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php Confirms that the installation succeeded.
DrupalFlushAllCachesTest class core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php Tests Drupal Flush All Caches.
DrupalFlushAllCachesTest.php file core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php
DrupalFlushAllCachesTest::$containerBuilds property core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php Stores the number of container builds.
DrupalFlushAllCachesTest::$modules property core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php Modules to install.
DrupalFlushAllCachesTest::register function core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php Registers test-specific services.
DrupalFlushAllCachesTest::testDrupalFlushAllCachesModuleList function core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php Tests that drupal_flush_all_caches() uses core.extension properly.
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 Tests Drupal\Core\DrupalKernel.
DrupalKernelTest.php file core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
DrupalKernelTest.php file core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php
DrupalKernelTest::bootKernel function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Bootstraps a kernel for a test.
DrupalKernelTest::getTestKernel function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Build a kernel for testings.
DrupalKernelTest::providerClassLoaderAutoDetect function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Data provider for self::testClassLoaderAutoDetect.
DrupalKernelTest::providerTestTrustedHosts function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Provides test data for testTrustedHosts().
DrupalKernelTest::tearDown function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php

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