Search for kernel
- Search 7.x for kernel
- Search 8.9.x for kernel
- Search 10.3.x for kernel
- Search 11.x for kernel
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
KernelTestBase::$modules | property | core/ |
Modules to enable. |
KernelTestBase::$preserveGlobalState | property | core/ |
Do not forward any global state from the parent process to the processes that run the actual tests. |
KernelTestBase::$root | property | core/ |
The app root. |
KernelTestBase::$runTestInSeparateProcess | property | core/ |
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/ |
|
KernelTestBase::$strictConfigSchema | property | core/ |
Set to TRUE to strict check all configuration saved. |
KernelTestBase::$vfsRoot | property | core/ |
The virtual filesystem root directory. |
KernelTestBase::assertPostConditions | function | core/ |
|
KernelTestBase::bootEnvironment | function | core/ |
Bootstraps a basic test environment. |
KernelTestBase::bootKernel | function | core/ |
Bootstraps a kernel for a test. |
KernelTestBase::config | function | core/ |
Configuration accessor for tests. Returns non-overridden configuration. |
KernelTestBase::disableModules | function | core/ |
Disables modules for this test. |
KernelTestBase::enableModules | function | core/ |
Enables modules for this test. |
KernelTestBase::getConfigSchemaExclusions | function | core/ |
Gets the config schema exclusions for this test. |
KernelTestBase::getDatabaseConnectionInfo | function | core/ |
Returns the Database connection info to be used for this test. |
KernelTestBase::getDatabasePrefix | function | core/ |
|
KernelTestBase::getExtensionsForModules | function | core/ |
Returns Extension objects for $modules to enable. |
KernelTestBase::getModulesToEnable | function | core/ |
Returns the modules to enable for this test. |
KernelTestBase::initFileCache | function | core/ |
Initializes the FileCache component. |
KernelTestBase::installConfig | function | core/ |
Installs default configuration for a given list of modules. |
KernelTestBase::installEntitySchema | function | core/ |
Installs the storage schema for a specific entity type. |
KernelTestBase::installSchema | function | core/ |
Installs database tables from a module schema definition. |
KernelTestBase::register | function | core/ |
Registers test-specific services. |
KernelTestBase::render | function | core/ |
Renders a render array. |
KernelTestBase::setInstallProfile | function | core/ |
Sets the install profile and rebuilds the container to update it. |
KernelTestBase::setSetting | function | core/ |
Sets an in-memory Settings variable. |
KernelTestBase::setUp | function | core/ |
|
KernelTestBase::setUpBeforeClass | function | core/ |
|
KernelTestBase::setUpFilesystem | function | core/ |
Sets up the filesystem, so things like the file directory. |
KernelTestBase::stop | function | core/ |
Stops test execution. |
KernelTestBase::tearDown | function | core/ |
|
KernelTestBase::tearDownCloseDatabaseConnection | function | core/ |
@after |
KernelTestBase::vfsDump | function | core/ |
Dumps the current state of the virtual filesystem to STDOUT. |
KernelTestBase::__sleep | function | core/ |
Prevents serializing any properties. |
KernelTestBaseDatabaseDriverModuleTest | class | core/ |
@coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]] |
KernelTestBaseDatabaseDriverModuleTest.php | file | core/ |
|
KernelTestBaseDatabaseDriverModuleTest::getDatabaseConnectionInfo | function | core/ |
|
KernelTestBaseDatabaseDriverModuleTest::testDatabaseDriverModuleEnabled | function | core/ |
@covers ::bootEnvironment[[api-linebreak]] |
KernelTestBaseShutdownTest | class | core/ |
@coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]] |
KernelTestBaseShutdownTest.php | file | core/ |
|
KernelTestBaseShutdownTest::$expectedShutdownCalled | property | core/ |
Indicates which shutdown functions are expected to be called. |
KernelTestBaseShutdownTest::$shutdownCalled | property | core/ |
Indicates which shutdown functions have been called. |
KernelTestBaseShutdownTest::assertPostConditions | function | core/ |
|
KernelTestBaseShutdownTest::setUp | function | core/ |
|
KernelTestBaseShutdownTest::shutdownFunction | function | core/ |
Registers that this shutdown function has been called. |
KernelTestBaseShutdownTest::shutdownFunction2 | function | core/ |
Registers that this shutdown function has been called. |
KernelTestBaseShutdownTest::testNoShutdownFunction | function | core/ |
@covers ::assertPostConditions[[api-linebreak]] |
KernelTestBaseShutdownTest::testShutdownFunction | function | core/ |
@covers ::assertPostConditions[[api-linebreak]] |
KernelTestBaseTest | class | core/ |
@coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]] |
KernelTestBaseTest.php | file | core/ |
Pagination
- Previous page
- Page 7
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.