api/symfony/Bundle/WebProfilerBundle/Tests/Controller/ProfilerControllerTest.yaml

226 lines
6.1 KiB
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: ProfilerControllerTest
class_comment: null
dependencies:
- name: MockObject
type: class
source: PHPUnit\Framework\MockObject\MockObject
- name: KernelBrowser
type: class
source: Symfony\Bundle\FrameworkBundle\KernelBrowser
- name: WebTestCase
type: class
source: Symfony\Bundle\FrameworkBundle\Test\WebTestCase
- name: ProfilerController
type: class
source: Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController
- name: ContentSecurityPolicyHandler
type: class
source: Symfony\Bundle\WebProfilerBundle\Csp\ContentSecurityPolicyHandler
- name: NonceGenerator
type: class
source: Symfony\Bundle\WebProfilerBundle\Csp\NonceGenerator
- name: WebProfilerBundleKernel
type: class
source: Symfony\Bundle\WebProfilerBundle\Tests\Functional\WebProfilerBundleKernel
- name: Request
type: class
source: Symfony\Component\HttpFoundation\Request
- name: Response
type: class
source: Symfony\Component\HttpFoundation\Response
- name: DumpDataCollector
type: class
source: Symfony\Component\HttpKernel\DataCollector\DumpDataCollector
- name: ExceptionDataCollector
type: class
source: Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector
- name: RequestDataCollector
type: class
source: Symfony\Component\HttpKernel\DataCollector\RequestDataCollector
- name: NotFoundHttpException
type: class
source: Symfony\Component\HttpKernel\Exception\NotFoundHttpException
- name: Profile
type: class
source: Symfony\Component\HttpKernel\Profiler\Profile
- name: Profiler
type: class
source: Symfony\Component\HttpKernel\Profiler\Profiler
- name: UrlGeneratorInterface
type: class
source: Symfony\Component\Routing\Generator\UrlGeneratorInterface
- name: Environment
type: class
source: Twig\Environment
- name: LoaderInterface
type: class
source: Twig\Loader\LoaderInterface
properties: []
methods:
- name: testHomeActionWithProfilerDisabled
visibility: public
parameters: []
comment: null
- name: testHomeActionRedirect
visibility: public
parameters: []
comment: null
- name: testPanelActionWithLatestTokenWhenNoTokensExist
visibility: public
parameters: []
comment: null
- name: testPanelActionWithLatestToken
visibility: public
parameters: []
comment: null
- name: testPanelActionWithoutValidToken
visibility: public
parameters: []
comment: null
- name: testPanelActionWithWrongPanel
visibility: public
parameters: []
comment: null
- name: testPanelActionWithValidPanelAndToken
visibility: public
parameters: []
comment: null
- name: testToolbarActionWithProfilerDisabled
visibility: public
parameters: []
comment: null
- name: testToolbarActionWithEmptyToken
visibility: public
parameters:
- name: token
comment: '# * @dataProvider getEmptyTokenCases'
- name: getEmptyTokenCases
visibility: public
parameters: []
comment: null
- name: testOpeningDisallowedPaths
visibility: public
parameters:
- name: path
- name: isAllowed
comment: '# * @dataProvider getOpenFileCases'
- name: getOpenFileCases
visibility: public
parameters: []
comment: null
- name: testReturns404onTokenNotFound
visibility: public
parameters:
- name: withCsp
comment: '# * @dataProvider provideCspVariants'
- name: testSearchBarActionWithProfilerDisabled
visibility: public
parameters: []
comment: null
- name: testSearchBarActionDefaultPage
visibility: public
parameters: []
comment: null
- name: testSearchResultsAction
visibility: public
parameters:
- name: withCsp
comment: '# * @dataProvider provideCspVariants'
- name: testSearchActionWithProfilerDisabled
visibility: public
parameters: []
comment: null
- name: testSearchActionWithToken
visibility: public
parameters: []
comment: null
- name: testSearchActionWithoutToken
visibility: public
parameters: []
comment: null
- name: testPhpinfoActionWithProfilerDisabled
visibility: public
parameters: []
comment: null
- name: testPhpinfoAction
visibility: public
parameters: []
comment: null
- name: testFontActionWithProfilerDisabled
visibility: public
parameters: []
comment: null
- name: testFontActionWithInvalidFontName
visibility: public
parameters: []
comment: null
- name: testDownloadFontAction
visibility: public
parameters: []
comment: null
- name: provideCspVariants
visibility: public
parameters: []
comment: null
- name: testDefaultPanel
visibility: public
parameters:
- name: expectedPanel
- name: profile
comment: '# * @dataProvider defaultPanelProvider'
- name: defaultPanelProvider
visibility: public
parameters: []
comment: null
- name: createController
visibility: private
parameters:
- name: profiler
- name: twig
- name: withCSP
- name: templates
default: '[]'
comment: null
- name: testDumpPanelExceptionPriority
visibility: public
parameters: []
comment: null
- name: testDumpPanelWhenDefinedAfterwards
visibility: public
parameters: []
comment: null
- name: testDumpPanel
visibility: public
parameters: []
comment: null
- name: createDumpDataCollector
visibility: private
parameters: []
comment: null
- name: assertDefaultPanel
visibility: private
parameters:
- name: expectedPanel
- name: profile
comment: null
traits:
- PHPUnit\Framework\MockObject\MockObject
- Symfony\Bundle\FrameworkBundle\KernelBrowser
- Symfony\Bundle\FrameworkBundle\Test\WebTestCase
- Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController
- Symfony\Bundle\WebProfilerBundle\Csp\ContentSecurityPolicyHandler
- Symfony\Bundle\WebProfilerBundle\Csp\NonceGenerator
- Symfony\Bundle\WebProfilerBundle\Tests\Functional\WebProfilerBundleKernel
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\HttpFoundation\Response
- Symfony\Component\HttpKernel\DataCollector\DumpDataCollector
- Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector
- Symfony\Component\HttpKernel\DataCollector\RequestDataCollector
- Symfony\Component\HttpKernel\Exception\NotFoundHttpException
- Symfony\Component\HttpKernel\Profiler\Profile
- Symfony\Component\HttpKernel\Profiler\Profiler
- Symfony\Component\Routing\Generator\UrlGeneratorInterface
- Twig\Environment
- Twig\Loader\LoaderInterface
interfaces: []