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
KernelTestBase::getModulesToEnable function core/tests/Drupal/KernelTests/KernelTestBase.php Returns the modules to install for this test.
KernelTestBase::initFileCache function core/tests/Drupal/KernelTests/KernelTestBase.php Initializes the FileCache component.
KernelTestBase::installConfig function core/tests/Drupal/KernelTests/KernelTestBase.php Installs default configuration for a given list of modules.
KernelTestBase::installEntitySchema function core/tests/Drupal/KernelTests/KernelTestBase.php Installs the storage schema for a specific entity type.
KernelTestBase::installSchema function core/tests/Drupal/KernelTests/KernelTestBase.php Installs database tables from a module schema definition.
KernelTestBase::register function core/tests/Drupal/KernelTests/KernelTestBase.php Registers test-specific services.
KernelTestBase::render function core/tests/Drupal/KernelTests/KernelTestBase.php Renders a render array.
KernelTestBase::setInstallProfile function core/tests/Drupal/KernelTests/KernelTestBase.php Sets the install profile and rebuilds the container to update it.
KernelTestBase::setSetting function core/tests/Drupal/KernelTests/KernelTestBase.php Sets an in-memory Settings variable.
KernelTestBase::setUp function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::setUpBeforeClass function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::setUpFilesystem function core/tests/Drupal/KernelTests/KernelTestBase.php Sets up the filesystem, so things like the file directory.
KernelTestBase::stop function core/tests/Drupal/KernelTests/KernelTestBase.php Stops test execution.
KernelTestBase::tearDown function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::tearDownCloseDatabaseConnection function core/tests/Drupal/KernelTests/KernelTestBase.php @after
KernelTestBase::vfsDump function core/tests/Drupal/KernelTests/KernelTestBase.php Dumps the current state of the virtual filesystem to STDOUT.
KernelTestBase::__get function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::__sleep function core/tests/Drupal/KernelTests/KernelTestBase.php Prevents serializing any properties.
KernelTestBaseDatabaseDriverModuleTest class core/tests/Drupal/KernelTests/KernelTestBaseDatabaseDriverModuleTest.php @coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]]
KernelTestBaseDatabaseDriverModuleTest.php file core/tests/Drupal/KernelTests/KernelTestBaseDatabaseDriverModuleTest.php
KernelTestBaseDatabaseDriverModuleTest::getDatabaseConnectionInfo function core/tests/Drupal/KernelTests/KernelTestBaseDatabaseDriverModuleTest.php Returns the Database connection info to be used for this test.
KernelTestBaseDatabaseDriverModuleTest::testDatabaseDriverModuleEnabled function core/tests/Drupal/KernelTests/KernelTestBaseDatabaseDriverModuleTest.php @covers ::bootEnvironment[[api-linebreak]]
KernelTestBaseShutdownTest class core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php @coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]]
KernelTestBaseShutdownTest.php file core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php
KernelTestBaseShutdownTest::$expectedShutdownCalled property core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Indicates which shutdown functions are expected to be called.
KernelTestBaseShutdownTest::$shutdownCalled property core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Indicates which shutdown functions have been called.
KernelTestBaseShutdownTest::assertPostConditions function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php
KernelTestBaseShutdownTest::setUp function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php
KernelTestBaseShutdownTest::shutdownFunction function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Registers that this shutdown function has been called.
KernelTestBaseShutdownTest::shutdownFunction2 function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Registers that this shutdown function has been called.
KernelTestBaseShutdownTest::testNoShutdownFunction function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php @covers ::assertPostConditions[[api-linebreak]]
KernelTestBaseShutdownTest::testShutdownFunction function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php @covers ::assertPostConditions[[api-linebreak]]
KernelTestBaseTest class core/tests/Drupal/KernelTests/KernelTestBaseTest.php @coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]]
KernelTestBaseTest class core/modules/pgsql/tests/src/Kernel/pgsql/KernelTestBaseTest.php @coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]]
KernelTestBaseTest.php file core/modules/pgsql/tests/src/Kernel/pgsql/KernelTestBaseTest.php
KernelTestBaseTest.php file core/tests/Drupal/KernelTests/KernelTestBaseTest.php
KernelTestBaseTest::tearDown function core/tests/Drupal/KernelTests/KernelTestBaseTest.php
KernelTestBaseTest::testBootEnvironment function core/tests/Drupal/KernelTests/KernelTestBaseTest.php @covers ::bootEnvironment[[api-linebreak]]
KernelTestBaseTest::testBootKernel function core/tests/Drupal/KernelTests/KernelTestBaseTest.php @covers ::bootKernel[[api-linebreak]]
KernelTestBaseTest::testContainerIsolation function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests whether the fixture allows us to install modules and configuration.
KernelTestBaseTest::testDatabaseDriverModuleEnabled function core/tests/Drupal/KernelTests/KernelTestBaseTest.php @covers ::bootEnvironment[[api-linebreak]]
KernelTestBaseTest::testDeprecatedSessionMissing function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests deprecation of modified request stack lacking a session.
KernelTestBaseTest::testGetDatabaseConnectionInfoWithOutManualSetDbUrl function core/tests/Drupal/KernelTests/KernelTestBaseTest.php @covers ::getDatabaseConnectionInfo[[api-linebreak]]
KernelTestBaseTest::testGetRandomGeneratorPropertyDeprecation function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests the deprecation of accessing the randomGenerator property directly.
KernelTestBaseTest::testLocalTimeZone function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests the assumption that local time is in 'Australia/Sydney'.
KernelTestBaseTest::testMethodRequiresModule function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests that a test method is skipped when it requires a module not present.
KernelTestBaseTest::testOutboundHttpRequest function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests that an outbound HTTP request can be performed inside of a test.
KernelTestBaseTest::testProfileModules function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Ensures KernelTestBase tests can access modules in profiles.
KernelTestBaseTest::testRegister function core/tests/Drupal/KernelTests/KernelTestBaseTest.php @covers ::register[[api-linebreak]]
KernelTestBaseTest::testRender function core/tests/Drupal/KernelTests/KernelTestBaseTest.php @covers ::render[[api-linebreak]]

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