function FunctionalTestSetupTrait::rebuildAll

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php \Drupal\Core\Test\FunctionalTestSetupTrait::rebuildAll()
  2. 10 core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php \Drupal\Core\Test\FunctionalTestSetupTrait::rebuildAll()
  3. 9 core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php \Drupal\Core\Test\FunctionalTestSetupTrait::rebuildAll()
  4. 8.9.x core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php \Drupal\Core\Test\FunctionalTestSetupTrait::rebuildAll()

Resets and rebuilds the environment after setup.

45 calls to FunctionalTestSetupTrait::rebuildAll()
AssetOptimizationTest::doTestAggregation in core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php
Helper to test aggregate file URLs.
BigPipePreviewTest::testLazyLoaderPreview in core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipePreviewTest.php
Test preview functionality within placeholders.
BrowserTestBaseTest::testDrupalGet in core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
Tests drupalGet().
ClaroTest::testConfigSchema in core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php
Tests Claro's configuration schema.
Fast404Test::testFast404 in core/tests/Drupal/FunctionalTests/EventSubscriber/Fast404Test.php
Tests the fast 404 functionality.

... See full list

File

core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php, line 531

Class

FunctionalTestSetupTrait
Defines a trait for shared functional test setup functionality.

Namespace

Drupal\Core\Test

Code

protected function rebuildAll() {
  // Reset/rebuild all data structures after enabling the modules, primarily
  // to synchronize all data structures and caches between the test runner and
  // the child site.
  // @todo Test-specific setUp() methods may set up further fixtures; find a
  //   way to execute this after setUp() is done, or to eliminate it entirely.
  $this->resetAll();
}

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