Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
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.
KernelTestBase::__construct function core/modules/simpletest/src/KernelTestBase.php Constructor for Test.
KernelTestBase::__get function core/tests/Drupal/KernelTests/KernelTestBase.php BC: Automatically resolve former KernelTestBase class properties.
KernelTestBase::__sleep function core/tests/Drupal/KernelTests/KernelTestBase.php Prevents serializing any properties.
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/simpletest/src/Tests/KernelTestBaseTest.php Tests KernelTestBase functionality.
KernelTestBaseTest class core/tests/Drupal/Tests/Core/Test/KernelTestBaseTest.php @group Test
@group legacy
KernelTestBaseTest.php file core/tests/Drupal/Tests/Core/Test/KernelTestBaseTest.php
KernelTestBaseTest.php file core/modules/simpletest/src/Tests/KernelTestBaseTest.php
KernelTestBaseTest.php file core/tests/Drupal/KernelTests/KernelTestBaseTest.php
KernelTestBaseTest::$modules property core/modules/simpletest/src/Tests/KernelTestBaseTest.php Modules to enable.
KernelTestBaseTest::run function core/modules/simpletest/src/Tests/KernelTestBaseTest.php Run all tests in this class.
KernelTestBaseTest::setUp function core/modules/simpletest/src/Tests/KernelTestBaseTest.php Performs setup tasks before each individual test method is run.
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::testDeprecatedIsTestInIsolation function core/tests/Drupal/Tests/Core/Test/KernelTestBaseTest.php @expectedDeprecation Drupal\KernelTests\KernelTestBase::isTestInIsolation() is deprecated in Drupal 8.4.x, for removal before the Drupal 9.0.0 release. KernelTestBase tests are always run in isolated processes.
KernelTestBaseTest::testDrupalGetProfile function core/modules/simpletest/src/Tests/KernelTestBaseTest.php Tests that \Drupal::installProfile() returns NULL.
KernelTestBaseTest::testEnableModulesFixedList function core/modules/simpletest/src/Tests/KernelTestBaseTest.php Tests that the module list is retained after enabling/installing/disabling.
KernelTestBaseTest::testEnableModulesInstall function core/modules/simpletest/src/Tests/KernelTestBaseTest.php Tests expected installation behavior of enableModules().
KernelTestBaseTest::testEnableModulesInstallContainer function core/modules/simpletest/src/Tests/KernelTestBaseTest.php Tests installing modules with DependencyInjection services.

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