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
KernelTestBase class core/tests/Drupal/KernelTests/KernelTestBase.php Base class for functional integration tests.
KernelTestBase.php file core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::$classLoader property core/tests/Drupal/KernelTests/KernelTestBase.php The class loader.
KernelTestBase::$configImporter property core/tests/Drupal/KernelTests/KernelTestBase.php The configuration importer.
KernelTestBase::$configSchemaCheckerExclusions property core/tests/Drupal/KernelTests/KernelTestBase.php An array of config object names that are excluded from schema checking.
KernelTestBase::$container property core/tests/Drupal/KernelTests/KernelTestBase.php The test container.
KernelTestBase::$databasePrefix property core/tests/Drupal/KernelTests/KernelTestBase.php The test database prefix.
KernelTestBase::$environmentTables property core/tests/Drupal/KernelTests/KernelTestBase.php The names of the tables that make up the shared environment.
KernelTestBase::$keyValue property core/tests/Drupal/KernelTests/KernelTestBase.php The key value factory of the container that booted the test method.
KernelTestBase::$modules property core/tests/Drupal/KernelTests/KernelTestBase.php Modules to install.
KernelTestBase::$siteDirectory property core/tests/Drupal/KernelTests/KernelTestBase.php The relative path to the test site directory.
KernelTestBase::$strictConfigSchema property core/tests/Drupal/KernelTests/KernelTestBase.php Set to TRUE to strict check all configuration saved.
KernelTestBase::$usesSuperUserAccessPolicy property core/tests/Drupal/KernelTests/KernelTestBase.php Set to TRUE to make user 1 a super user.
KernelTestBase::$vfsRoot property core/tests/Drupal/KernelTests/KernelTestBase.php The virtual filesystem root directory.
KernelTestBase::allocateSharedDatabase function core/tests/Drupal/KernelTests/KernelTestBase.php Allocates one database prefix for the whole test class.
KernelTestBase::assertPostConditions function core/tests/Drupal/KernelTests/KernelTestBase.php
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::checkNoSharedTableWasDropped function core/tests/Drupal/KernelTests/KernelTestBase.php Fails when a test method dropped a table of the shared environment.
KernelTestBase::checkNoTableWasLeftBehind function core/tests/Drupal/KernelTests/KernelTestBase.php Fails when a test method left a table behind.
KernelTestBase::checkSharedDatabaseState function core/tests/Drupal/KernelTests/KernelTestBase.php Checks the shared database state after a test method has run.
KernelTestBase::config function core/tests/Drupal/KernelTests/KernelTestBase.php Configuration accessor for tests. Returns non-overridden configuration.
KernelTestBase::createStateTable function core/tests/Drupal/KernelTests/KernelTestBase.php Creates the table recording the state of the shared database.
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::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 Gets the database prefix used for test isolation.
KernelTestBase::getExtensionsForModules function core/tests/Drupal/KernelTests/KernelTestBase.php Returns Extension objects for $modules to install.
KernelTestBase::getModulesToEnable function core/tests/Drupal/KernelTests/KernelTestBase.php Returns the modules to install for this test.
KernelTestBase::getSharedStateTables function core/tests/Drupal/KernelTests/KernelTestBase.php Returns the tables that make up the shared database state.
KernelTestBase::getTestDatabase function core/tests/Drupal/KernelTests/KernelTestBase.php Returns the test database for this test.
KernelTestBase::INFRASTRUCTURE_TABLES constant core/tests/Drupal/KernelTests/KernelTestBase.php Tables that Drupal creates on its own, whatever a test method does.
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::invalidateDatabaseState function core/tests/Drupal/KernelTests/KernelTestBase.php Records that the shared database state can no longer be trusted.
KernelTestBase::loadSharedDatabaseState function core/tests/Drupal/KernelTests/KernelTestBase.php Reads the record describing the shared database state.
KernelTestBase::register function core/tests/Drupal/KernelTests/KernelTestBase.php Registers test-specific services.
KernelTestBase::releaseSharedDatabase function core/tests/Drupal/KernelTests/KernelTestBase.php Drops the tables of the test class once all its test methods have run.
KernelTestBase::render function core/tests/Drupal/KernelTests/KernelTestBase.php Renders a render array.
KernelTestBase::resetEnvironment function core/tests/Drupal/KernelTests/KernelTestBase.php Resets the environment after a test method has run.
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::setUpEnvironment function core/tests/Drupal/KernelTests/KernelTestBase.php Sets up the environment shared by every test method in this class.
KernelTestBase::setUpFilesystem function core/tests/Drupal/KernelTests/KernelTestBase.php Sets up the filesystem, so things like the file directory.
KernelTestBase::SHARED_DATABASE_PREFIX_ENV constant core/tests/Drupal/KernelTests/KernelTestBase.php Environment variable carrying the shared prefix from parent to children.
KernelTestBase::sharesEnvironment function core/tests/Drupal/KernelTests/KernelTestBase.php Returns whether this test class shares its environment between its methods.

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