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 11.x 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
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.
DrupalDebugClassLoaderTest class core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php Tests the DrupalDebugClassLoader.
DrupalDebugClassLoaderTest.php file core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php
DrupalDebugClassLoaderTest::$loader property core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php A DrupalDebugClassLoader instance for testing.
DrupalDebugClassLoaderTest::getReturnTypeDeprecations function core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php Returns only the return-type deprecations for a given class.
DrupalDebugClassLoaderTest::setUp function core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php
DrupalDebugClassLoaderTest::testCrossModuleReturnTypeDeprecation function core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php Tests that cross-module return type deprecations are generated.
DrupalDebugClassLoaderTest::testNoDeprecation function core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php Tests scenarios that should NOT trigger cross-module deprecations.
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.
DrupalKernelRequestStackTest::$recordedRequests property core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php The request stack requests when the kernel request event is fired.
DrupalKernelRequestStackTest::$recordedRequestStackCount property core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php The request stack count when the kernel request event is fired.
DrupalKernelRequestStackTest::checkErrorHandlerOnTearDown function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php Checks the test error handler after test execution.
DrupalKernelRequestStackTest::getRequestStackCount function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php Uses reflection to count the number of requests in the request stack.
DrupalKernelRequestStackTest::getSubscribedEvents function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php

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