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.
Test class core/modules/config/tests/config_constant_test/src/Test.php A test class.

All search results

Title Object type File name Summary
Drupal6SqlBaseTest::$databaseContents property core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Minimum database contents needed to test Drupal6SqlBase.
Drupal6SqlBaseTest::$migrationConfiguration property core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Define bare minimum migration configuration.
Drupal6SqlBaseTest::setUp function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php
Drupal6SqlBaseTest::testDrupal6ModuleExists function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Tests for Drupal6SqlBase::moduleExists().
Drupal6SqlBaseTest::testGetModuleSchemaVersion function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Tests for Drupal6SqlBase::getModuleSchemaVersion().
Drupal6SqlBaseTest::testGetSystemData function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Tests for Drupal6SqlBase::getSystemData().
Drupal6SqlBaseTest::testVariableGet function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Tests for Drupal6SqlBase::variableGet().
DrupalApplicationTesterTrait trait core/tests/Drupal/KernelTests/DrupalApplicationTesterTrait.php Trait to help with testing the drupal console.
DrupalApplicationTesterTrait.php file core/tests/Drupal/KernelTests/DrupalApplicationTesterTrait.php
DrupalApplicationTesterTrait::applicationTester function core/tests/Drupal/KernelTests/DrupalApplicationTesterTrait.php Build our ApplicationTester.
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::providerAssertNoCoreUsage function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Data provider for testAssertNoCoreUsage().
DrupalComponentTest::testAssertNoCoreUsage function core/tests/Drupal/Tests/Component/DrupalComponentTest.php #[DataProvider('providerAssertNoCoreUsage')]
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.
DrupalConsoleLoggerTest class core/tests/Drupal/Tests/Core/Command/DrupalConsoleLoggerTest.php Tests DrupalConsoleLogger.
DrupalConsoleLoggerTest.php file core/tests/Drupal/Tests/Core/Command/DrupalConsoleLoggerTest.php
DrupalConsoleLoggerTest::testToPsr3Exception function core/tests/Drupal/Tests/Core/Command/DrupalConsoleLoggerTest.php Tests the exception thrown by ::toPsr3() due to an invalid argument.
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.
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::setUpBeforeClass 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.

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