Open Journal Systems  3.3.0
Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest Class Reference
Inheritance diagram for Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest:

Public Member Functions

 provideAllPreserveCase ()
 
 provideMakeDisposition ()
 
 provideMakeDispositionFail ()
 
 testAllPreserveCase ($headers, $expected)
 
 testCacheControlClone ()
 
 testCacheControlHeader ()
 
 testClearCookieSecureNotHttpOnly ()
 
 testCookiesWithSameNames ()
 
 testGetCookiesWithInvalidArgument ()
 
 testMakeDisposition ($disposition, $filename, $filenameFallback, $expected)
 
 testMakeDispositionFail ($disposition, $filename)
 
 testMakeDispositionInvalidDisposition ()
 
 testRemoveCookie ()
 
 testRemoveCookieWithNullRemove ()
 
 testReplace ()
 
 testReplaceWithRemove ()
 
 testSetCookieHeader ()
 
 testToStringDoesntMessUpHeaders ()
 
 testToStringIncludesCookieHeaders ()
 

Detailed Description

@group time-sensitive

Definition at line 21 of file ResponseHeaderBagTest.php.

Member Function Documentation

◆ provideAllPreserveCase()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::provideAllPreserveCase ( )

Definition at line 33 of file ResponseHeaderBagTest.php.

◆ provideMakeDisposition()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::provideMakeDisposition ( )

Definition at line 300 of file ResponseHeaderBagTest.php.

◆ provideMakeDispositionFail()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::provideMakeDispositionFail ( )

Definition at line 323 of file ResponseHeaderBagTest.php.

◆ testAllPreserveCase()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testAllPreserveCase (   $headers,
  $expected 
)

@dataProvider provideAllPreserveCase

Definition at line 26 of file ResponseHeaderBagTest.php.

◆ testCacheControlClone()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testCacheControlClone ( )

Definition at line 115 of file ResponseHeaderBagTest.php.

◆ testCacheControlHeader()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testCacheControlHeader ( )

Definition at line 67 of file ResponseHeaderBagTest.php.

◆ testClearCookieSecureNotHttpOnly()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testClearCookieSecureNotHttpOnly ( )

Definition at line 135 of file ResponseHeaderBagTest.php.

◆ testCookiesWithSameNames()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testCookiesWithSameNames ( )

◆ testGetCookiesWithInvalidArgument()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testGetCookiesWithInvalidArgument ( )

@expectedException \InvalidArgumentException

Definition at line 259 of file ResponseHeaderBagTest.php.

◆ testMakeDisposition()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testMakeDisposition (   $disposition,
  $filename,
  $filenameFallback,
  $expected 
)

@dataProvider provideMakeDisposition

Definition at line 279 of file ResponseHeaderBagTest.php.

◆ testMakeDispositionFail()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testMakeDispositionFail (   $disposition,
  $filename 
)

@dataProvider provideMakeDispositionFail @expectedException \InvalidArgumentException

Definition at line 316 of file ResponseHeaderBagTest.php.

◆ testMakeDispositionInvalidDisposition()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testMakeDispositionInvalidDisposition ( )

@expectedException \InvalidArgumentException

Definition at line 269 of file ResponseHeaderBagTest.php.

◆ testRemoveCookie()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testRemoveCookie ( )

◆ testRemoveCookieWithNullRemove()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testRemoveCookieWithNullRemove ( )

◆ testReplace()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testReplace ( )

Definition at line 144 of file ResponseHeaderBagTest.php.

◆ testReplaceWithRemove()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testReplaceWithRemove ( )

Definition at line 155 of file ResponseHeaderBagTest.php.

◆ testSetCookieHeader()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testSetCookieHeader ( )

Definition at line 240 of file ResponseHeaderBagTest.php.

◆ testToStringDoesntMessUpHeaders()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testToStringDoesntMessUpHeaders ( )

Definition at line 286 of file ResponseHeaderBagTest.php.

◆ testToStringIncludesCookieHeaders()

Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::testToStringIncludesCookieHeaders ( )

Definition at line 123 of file ResponseHeaderBagTest.php.


The documentation for this class was generated from the following file: