platform/api/symfony/Component/HttpKernel/Tests/HttpCache/ResponseCacheStrategyTest.yaml

87 lines
2.4 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: ResponseCacheStrategyTest
class_comment: null
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: Response
type: class
source: Symfony\Component\HttpFoundation\Response
- name: ResponseCacheStrategy
type: class
source: Symfony\Component\HttpKernel\HttpCache\ResponseCacheStrategy
properties: []
methods:
- name: testMinimumSharedMaxAgeWins
visibility: public
parameters: []
comment: null
- name: testSharedMaxAgeNotSetIfNotSetInAnyEmbeddedRequest
visibility: public
parameters: []
comment: null
- name: testSharedMaxAgeNotSetIfNotSetInMainRequest
visibility: public
parameters: []
comment: null
- name: testMainResponseNotCacheableWhenEmbeddedResponseRequiresValidation
visibility: public
parameters: []
comment: null
- name: testValidationOnMainResponseIsNotPossibleWhenItContainsEmbeddedResponses
visibility: public
parameters: []
comment: null
- name: testMainResponseWithValidationIsUnchangedWhenThereIsNoEmbeddedResponse
visibility: public
parameters: []
comment: null
- name: testMainResponseWithExpirationIsUnchangedWhenThereIsNoEmbeddedResponse
visibility: public
parameters: []
comment: null
- name: testLastModifiedIsMergedWithEmbeddedResponse
visibility: public
parameters: []
comment: null
- name: testMainResponseIsNotCacheableWhenEmbeddedResponseIsNotCacheable
visibility: public
parameters: []
comment: null
- name: testEmbeddingPrivateResponseMakesMainResponsePrivate
visibility: public
parameters: []
comment: null
- name: testEmbeddingPublicResponseDoesNotMakeMainResponsePublic
visibility: public
parameters: []
comment: null
- name: testResponseIsExiprableWhenEmbeddedResponseCombinesExpiryAndValidation
visibility: public
parameters: []
comment: null
- name: testResponseIsExpirableButNotValidateableWhenMainResponseCombinesExpirationAndValidation
visibility: public
parameters: []
comment: null
- name: testCacheControlMerging
visibility: public
parameters:
- name: expects
- name: master
- name: surrogates
comment: '# * @group time-sensitive
# *
# * @dataProvider cacheControlMergingProvider'
- name: cacheControlMergingProvider
visibility: public
parameters: []
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\HttpFoundation\Response
- Symfony\Component\HttpKernel\HttpCache\ResponseCacheStrategy
interfaces: []