17 calls to RendererTestBase::setUpRequest() in Drupal 9
- RendererBubblingTest::testBubblingWithoutPreRender in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - Tests bubbling of assets when NOT using #pre_render callbacks.
- RendererBubblingTest::testBubblingWithPrerender in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - Tests bubbling of bubbleable metadata added by #pre_render callbacks.
- RendererBubblingTest::testConditionalCacheContextBubblingSelfHealing in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - Tests the self-healing of the redirect with conditional cache contexts.
- RendererBubblingTest::testContextBubblingCustomCacheBin in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - Tests cache context bubbling with a custom cache bin.
- RendererBubblingTest::testContextBubblingEdgeCases in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - Tests cache context bubbling in edge cases, because it affects the CID.
- RendererBubblingTest::testOverWriteCacheKeys in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - Tests that an element's cache keys cannot be changed during its rendering.
- RendererPlaceholdersTest::testCacheableParent in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - @covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers \Drupal\Core\Render\RenderCache::set @covers \Drupal\Core\Render\RenderCache::createCacheID
- RendererPlaceholdersTest::testCacheableParentWithPostRequest in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - @covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers ::replacePlaceholders
- RendererPlaceholdersTest::testPlaceholderingDisabledForPostRequests in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - @covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers \Drupal\Core\Render\PlaceholderingRenderCache::get @covers \Drupal\Core\Render\PlaceholderingRenderCache::set @covers ::replacePlaceholders
- RendererPlaceholdersTest::testRenderChildrenPlaceholdersDifferentArguments in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - Create an element with a child and subchild. Each element has the same #lazy_builder callback, but with different contexts. They don't modify markup, only attach additional drupalSettings.
- RendererPlaceholdersTest::testUncacheableParent in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - @covers ::render @covers ::doRender
- RendererRecursionTest::testRenderRecursionWithNestedRender in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererRecursionTest.php - ::render() may be called from anywhere.
- RendererRecursionTest::testRenderRecursionWithNestedRenderPlain in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererRecursionTest.php - ::renderPlain() may be called from anywhere.
- RendererRecursionTest::testRenderRecursionWithNestedRenderRoot in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererRecursionTest.php - ::renderRoot() may not be called inside of another ::renderRoot() call.
- RendererTest::testRenderCache in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - @covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers \Drupal\Core\Render\RenderCache::set @covers \Drupal\Core\Render\RenderCache::createCacheID
- RendererTest::testRenderCacheMaxAge in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - @covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers \Drupal\Core\Render\RenderCache::set @covers \Drupal\Core\Render\RenderCache::createCacheID
- RendererTest::testRenderCacheProperties in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - Tests that #cache_properties are properly handled.