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. 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
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::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.
DrupalInstalledTest class core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php Tests DrupalInstalled.php hash changes when scaffolding is run.
DrupalInstalledTest.php file core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php
DrupalInstalledTest::$fixtures property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php The Fixtures object.
DrupalInstalledTest::$fixturesDir property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php Directory to perform the tests in.
DrupalInstalledTest::setUp function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php
DrupalInstalledTest::tearDown function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php
DrupalInstalledTest::testDrupalInstalledHash function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php Tests DrupalInstalled.php hash changes when scaffolding is run.
DrupalKernelRequestStackTest class core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php Tests the usage of the request stack as part of request processing.
DrupalKernelRequestStackTest.php file core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php
DrupalKernelRequestStackTest::$modules property core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php Modules to install.

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