platform/api/symfony/Component/Asset/Tests/PathPackageTest.yaml
2024-09-02 10:44:11 -07:00

61 lines
1.5 KiB
YAML

name: PathPackageTest
class_comment: null
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: ContextInterface
type: class
source: Symfony\Component\Asset\Context\ContextInterface
- name: PathPackage
type: class
source: Symfony\Component\Asset\PathPackage
- name: StaticVersionStrategy
type: class
source: Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy
- name: VersionStrategyInterface
type: class
source: Symfony\Component\Asset\VersionStrategy\VersionStrategyInterface
properties: []
methods:
- name: testGetUrl
visibility: public
parameters:
- name: basePath
- name: format
- name: path
- name: expected
comment: '# * @dataProvider getConfigs'
- name: getConfigs
visibility: public
parameters: []
comment: null
- name: testGetUrlWithContext
visibility: public
parameters:
- name: basePathRequest
- name: basePath
- name: format
- name: path
- name: expected
comment: '# * @dataProvider getContextConfigs'
- name: getContextConfigs
visibility: public
parameters: []
comment: null
- name: testVersionStrategyGivesAbsoluteURL
visibility: public
parameters: []
comment: null
- name: getContext
visibility: private
parameters:
- name: basePath
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\Asset\Context\ContextInterface
- Symfony\Component\Asset\PathPackage
- Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy
- Symfony\Component\Asset\VersionStrategy\VersionStrategyInterface
interfaces: []