api/symfony/Component/HttpKernel/Tests/DataCollector/RequestDataCollectorTest.yaml
2024-09-26 02:03:21 -07:00

185 lines
5.4 KiB
YAML

name: RequestDataCollectorTest
class_comment: null
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: EventDispatcher
type: class
source: Symfony\Component\EventDispatcher\EventDispatcher
- name: Cookie
type: class
source: Symfony\Component\HttpFoundation\Cookie
- name: ParameterBag
type: class
source: Symfony\Component\HttpFoundation\ParameterBag
- name: RedirectResponse
type: class
source: Symfony\Component\HttpFoundation\RedirectResponse
- name: Request
type: class
source: Symfony\Component\HttpFoundation\Request
- name: RequestStack
type: class
source: Symfony\Component\HttpFoundation\RequestStack
- name: Response
type: class
source: Symfony\Component\HttpFoundation\Response
- name: Session
type: class
source: Symfony\Component\HttpFoundation\Session\Session
- name: SessionBagInterface
type: class
source: Symfony\Component\HttpFoundation\Session\SessionBagInterface
- name: SessionInterface
type: class
source: Symfony\Component\HttpFoundation\Session\SessionInterface
- name: MetadataBag
type: class
source: Symfony\Component\HttpFoundation\Session\Storage\MetadataBag
- name: MockArraySessionStorage
type: class
source: Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage
- name: ArgumentResolverInterface
type: class
source: Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface
- name: ControllerResolverInterface
type: class
source: Symfony\Component\HttpKernel\Controller\ControllerResolverInterface
- name: RequestDataCollector
type: class
source: Symfony\Component\HttpKernel\DataCollector\RequestDataCollector
- name: ControllerEvent
type: class
source: Symfony\Component\HttpKernel\Event\ControllerEvent
- name: ResponseEvent
type: class
source: Symfony\Component\HttpKernel\Event\ResponseEvent
- name: HttpKernel
type: class
source: Symfony\Component\HttpKernel\HttpKernel
- name: HttpKernelInterface
type: class
source: Symfony\Component\HttpKernel\HttpKernelInterface
- name: DummyController
type: class
source: Symfony\Component\HttpKernel\Tests\Fixtures\DataCollector\DummyController
properties: []
methods:
- name: testCollect
visibility: public
parameters: []
comment: null
- name: testCollectWithoutRouteParams
visibility: public
parameters: []
comment: null
- name: testControllerInspection
visibility: public
parameters:
- name: name
- name: callable
- name: expected
comment: '# * @dataProvider provideControllerCallables'
- name: provideControllerCallables
visibility: public
parameters: []
comment: null
- name: testItIgnoresInvalidCallables
visibility: public
parameters: []
comment: null
- name: testItAddsRedirectedAttributesWhenRequestContainsSpecificCookie
visibility: public
parameters: []
comment: null
- name: testItSetsARedirectCookieIfTheResponseIsARedirection
visibility: public
parameters: []
comment: null
- name: testItCollectsTheRedirectionAndClearTheCookie
visibility: public
parameters: []
comment: null
- name: testItCollectsTheSessionTraceProperly
visibility: public
parameters: []
comment: null
- name: testStatelessCheck
visibility: public
parameters: []
comment: null
- name: testItHidesPassword
visibility: public
parameters: []
comment: null
- name: createRequest
visibility: protected
parameters:
- name: routeParams
default: '[''name'''
comment: null
- name: createRequestWithSession
visibility: private
parameters: []
comment: null
- name: createResponse
visibility: protected
parameters: []
comment: null
- name: injectController
visibility: protected
parameters:
- name: collector
- name: controller
- name: request
comment: '# * Inject the given controller callable into the data collector.'
- name: getCookieByName
visibility: private
parameters:
- name: response
- name: name
comment: null
- name: testIsJson
visibility: public
parameters:
- name: contentType
- name: expected
comment: '# * @dataProvider provideJsonContentTypes'
- name: provideJsonContentTypes
visibility: public
parameters: []
comment: null
- name: testGetPrettyJsonValidity
visibility: public
parameters:
- name: content
- name: expected
comment: '# * @dataProvider providePrettyJson'
- name: providePrettyJson
visibility: public
parameters: []
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\EventDispatcher\EventDispatcher
- Symfony\Component\HttpFoundation\Cookie
- Symfony\Component\HttpFoundation\ParameterBag
- Symfony\Component\HttpFoundation\RedirectResponse
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\HttpFoundation\RequestStack
- Symfony\Component\HttpFoundation\Response
- Symfony\Component\HttpFoundation\Session\Session
- Symfony\Component\HttpFoundation\Session\SessionBagInterface
- Symfony\Component\HttpFoundation\Session\SessionInterface
- Symfony\Component\HttpFoundation\Session\Storage\MetadataBag
- Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage
- Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface
- Symfony\Component\HttpKernel\Controller\ControllerResolverInterface
- Symfony\Component\HttpKernel\DataCollector\RequestDataCollector
- Symfony\Component\HttpKernel\Event\ControllerEvent
- Symfony\Component\HttpKernel\Event\ResponseEvent
- Symfony\Component\HttpKernel\HttpKernel
- Symfony\Component\HttpKernel\HttpKernelInterface
- Symfony\Component\HttpKernel\Tests\Fixtures\DataCollector\DummyController
interfaces: []