You are here

public function HttpCacheTestCase::assertTraceNotContains in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTestCase.php \Symfony\Component\HttpKernel\Tests\HttpCache\HttpCacheTestCase::assertTraceNotContains()
20 calls to HttpCacheTestCase::assertTraceNotContains()
HttpCacheTest::testAssignsDefaultTtlWhenResponseHasNoFreshnessInformation in vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTest.php
HttpCacheTest::testAssignsDefaultTtlWhenResponseHasNoFreshnessInformationAndAfterTtlWasExpired in vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTest.php
HttpCacheTest::testAssignsDefaultTtlWhenResponseHasNoFreshnessInformationAndAfterTtlWasExpiredWithStatus304 in vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTest.php
HttpCacheTest::testDoesNotAssignDefaultTtlWhenResponseHasMustRevalidateDirective in vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTest.php
HttpCacheTest::testDoesNotCacheRequestsWithACookieHeader in vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTest.php

... See full list

File

vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTestCase.php, line 88

Class

HttpCacheTestCase

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

public function assertTraceNotContains($trace) {
  $traces = $this->cache
    ->getTraces();
  $traces = current($traces);
  $this
    ->assertNotRegExp('/' . $trace . '/', implode(', ', $traces));
}