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 main 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::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.
KernelTestBase::STATE_TABLE constant core/tests/Drupal/KernelTests/KernelTestBase.php Name of the table recording the state of the shared database.
KernelTestBase::tearDown function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::tearDownCloseDatabaseConnection function core/tests/Drupal/KernelTests/KernelTestBase.php Additional tear down method to close the connection at the end.
KernelTestBase::tearDownEnvironment function core/tests/Drupal/KernelTests/KernelTestBase.php Cleans the environment up after a test method and checks the result.
KernelTestBase::vfsDump function core/tests/Drupal/KernelTests/KernelTestBase.php Dumps the current state of the virtual filesystem to STDOUT.
KernelTestBase::__construct 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 Tests Drupal\KernelTests\KernelTestBase.
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 Tests database driver module enabled.
KernelTestBaseShutdownTest class core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Tests Drupal\KernelTests\KernelTestBase.
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 Tests no shutdown function.
KernelTestBaseShutdownTest::testShutdownFunction function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Tests shutdown function.
KernelTestBaseTest class core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests Drupal\KernelTests\KernelTestBase.
KernelTestBaseTest class core/modules/pgsql/tests/src/Kernel/pgsql/KernelTestBaseTest.php Tests Drupal\KernelTests\KernelTestBase.

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