86 lines
2.3 KiB
YAML
86 lines
2.3 KiB
YAML
name: UrlPackageTest
|
|
class_comment: null
|
|
dependencies:
|
|
- name: TestCase
|
|
type: class
|
|
source: PHPUnit\Framework\TestCase
|
|
- name: ContextInterface
|
|
type: class
|
|
source: Symfony\Component\Asset\Context\ContextInterface
|
|
- name: InvalidArgumentException
|
|
type: class
|
|
source: Symfony\Component\Asset\Exception\InvalidArgumentException
|
|
- name: LogicException
|
|
type: class
|
|
source: Symfony\Component\Asset\Exception\LogicException
|
|
- name: UrlPackage
|
|
type: class
|
|
source: Symfony\Component\Asset\UrlPackage
|
|
- name: EmptyVersionStrategy
|
|
type: class
|
|
source: Symfony\Component\Asset\VersionStrategy\EmptyVersionStrategy
|
|
- 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: baseUrls
|
|
- name: format
|
|
- name: path
|
|
- name: expected
|
|
comment: '# * @dataProvider getConfigs'
|
|
- name: getConfigs
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testGetUrlWithContext
|
|
visibility: public
|
|
parameters:
|
|
- name: secure
|
|
- name: baseUrls
|
|
- name: format
|
|
- name: path
|
|
- name: expected
|
|
comment: '# * @dataProvider getContextConfigs'
|
|
- name: getContextConfigs
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testVersionStrategyGivesAbsoluteURL
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testNoBaseUrls
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testWrongBaseUrl
|
|
visibility: public
|
|
parameters:
|
|
- name: baseUrls
|
|
comment: '# * @dataProvider getWrongBaseUrlConfig'
|
|
- name: getWrongBaseUrlConfig
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: getContext
|
|
visibility: private
|
|
parameters:
|
|
- name: secure
|
|
comment: null
|
|
traits:
|
|
- PHPUnit\Framework\TestCase
|
|
- Symfony\Component\Asset\Context\ContextInterface
|
|
- Symfony\Component\Asset\Exception\InvalidArgumentException
|
|
- Symfony\Component\Asset\Exception\LogicException
|
|
- Symfony\Component\Asset\UrlPackage
|
|
- Symfony\Component\Asset\VersionStrategy\EmptyVersionStrategy
|
|
- Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy
|
|
- Symfony\Component\Asset\VersionStrategy\VersionStrategyInterface
|
|
interfaces: []
|