protected function HttpCacheTestCase::setUp

1 method overrides HttpCacheTestCase::setUp()
HttpCacheTest::setUp in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTestCase.php, line 32

Class

HttpCacheTestCase

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

protected function setUp() {
  if (!class_exists('Symfony\\Component\\HttpFoundation\\Request')) {
    $this
      ->markTestSkipped('The "HttpFoundation" component is not available');
  }
  $this->kernel = null;
  $this->cache = null;
  $this->esi = null;
  $this->caches = array();
  $this->cacheConfig = array();
  $this->request = null;
  $this->response = null;
  $this->responses = array();
  $this->catch = false;
  $this
    ->clearDirectory(sys_get_temp_dir() . '/http_cache');
}