Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 10.3.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::$modules property core/tests/Drupal/KernelTests/KernelTestBase.php Modules to enable.
KernelTestBase::$preserveGlobalState property core/tests/Drupal/KernelTests/KernelTestBase.php Do not forward any global state from the parent process to the processes
that run the actual tests.
KernelTestBase::$root property core/tests/Drupal/KernelTests/KernelTestBase.php The app root.
KernelTestBase::$runTestInSeparateProcess property core/tests/Drupal/KernelTests/KernelTestBase.php Kernel tests are run in separate processes because they allow autoloading
of code from extensions. Running the test in a separate process isolates
this behavior from other tests. Subclasses should not override this
property.
KernelTestBase::$siteDirectory property core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::$streamWrappers property core/modules/simpletest/src/KernelTestBase.php Array of registered stream wrappers.
KernelTestBase::$strictConfigSchema property core/tests/Drupal/KernelTests/KernelTestBase.php Set to TRUE to strict check all configuration saved.
KernelTestBase::$themeFiles property core/modules/simpletest/src/KernelTestBase.php
KernelTestBase::$vfsRoot property core/tests/Drupal/KernelTests/KernelTestBase.php The virtual filesystem root directory.
KernelTestBase::assertPostConditions function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::beforePrepareEnvironment function core/modules/simpletest/src/KernelTestBase.php Act on global state information before the environment is altered for a test.
KernelTestBase::bootEnvironment function core/tests/Drupal/KernelTests/KernelTestBase.php Bootstraps a basic test environment.
KernelTestBase::bootKernel function core/tests/Drupal/KernelTests/KernelTestBase.php Bootstraps a kernel for a test.
KernelTestBase::config function core/tests/Drupal/KernelTests/KernelTestBase.php Configuration accessor for tests. Returns non-overridden configuration.
KernelTestBase::containerBuild function core/modules/simpletest/src/KernelTestBase.php Sets up the base service container for this test.
KernelTestBase::defaultLanguageData function core/modules/simpletest/src/KernelTestBase.php Provides the data for setting the default language on the container.
KernelTestBase::disableModules function core/modules/simpletest/src/KernelTestBase.php Disables modules for this test.
KernelTestBase::disableModules function core/tests/Drupal/KernelTests/KernelTestBase.php Disables modules for this test.
KernelTestBase::enableModules function core/tests/Drupal/KernelTests/KernelTestBase.php Enables modules for this test.
KernelTestBase::enableModules function core/modules/simpletest/src/KernelTestBase.php Enables modules for this test.
KernelTestBase::getConfigSchemaExclusions function core/tests/Drupal/KernelTests/KernelTestBase.php Gets the config schema exclusions for this test.
KernelTestBase::getDatabaseConnectionInfo function core/tests/Drupal/KernelTests/KernelTestBase.php Returns the Database connection info to be used for this test.
KernelTestBase::getDatabasePrefix function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::getExtensionsForModules function core/tests/Drupal/KernelTests/KernelTestBase.php Returns Extension objects for $modules to enable.
KernelTestBase::getModulesToEnable function core/tests/Drupal/KernelTests/KernelTestBase.php Returns the modules to enable 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::installConfig function core/modules/simpletest/src/KernelTestBase.php Installs default configuration for a given list of modules.
KernelTestBase::installEntitySchema function core/modules/simpletest/src/KernelTestBase.php Installs the storage schema for a specific entity type.
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::installSchema function core/modules/simpletest/src/KernelTestBase.php Installs a specific table from a module schema definition.
KernelTestBase::isTestInIsolation function core/tests/Drupal/KernelTests/KernelTestBase.php Returns whether the current test method is running in a separate process.
KernelTestBase::prepareConfigDirectories function core/modules/simpletest/src/KernelTestBase.php Create and set new configuration directories.
KernelTestBase::prepareTemplate function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::register function core/tests/Drupal/KernelTests/KernelTestBase.php Registers test-specific services.
KernelTestBase::registerStreamWrapper function core/modules/simpletest/src/KernelTestBase.php Registers a stream wrapper for this test.
KernelTestBase::render function core/modules/simpletest/src/KernelTestBase.php Renders a render array.
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::setUp function core/modules/simpletest/src/KernelTestBase.php Performs setup tasks before each individual test method is run.
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::tearDown function core/modules/simpletest/src/KernelTestBase.php Performs cleanup tasks after each individual test method has been run.
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.

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