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 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
Drupal6SqlBaseTest.php file core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php
Drupal6SqlBaseTest::$base property core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php
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().
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 @covers \Drupal\Tests\Component\DrupalComponentTest::assertNoCoreUsage[[api-linebreak]]
@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.
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 Tests date diffs.
DrupalDateTimeTest::testDateTimezone function core/modules/system/tests/src/Functional/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 @covers ::getPhpDateTime[[api-linebreak]]
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/modules/system/tests/src/Functional/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 @covers ::drupal_flush_all_caches[[api-linebreak]]
@group Common
DrupalFlushAllCachesTest.php file core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php

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