86 lines
2.4 KiB
YAML
86 lines
2.4 KiB
YAML
![]() |
name: JsDelivrEsmResolverTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: ImportMapEntry
|
||
|
type: class
|
||
|
source: Symfony\Component\AssetMapper\ImportMap\ImportMapEntry
|
||
|
- name: ImportMapType
|
||
|
type: class
|
||
|
source: Symfony\Component\AssetMapper\ImportMap\ImportMapType
|
||
|
- name: PackageRequireOptions
|
||
|
type: class
|
||
|
source: Symfony\Component\AssetMapper\ImportMap\PackageRequireOptions
|
||
|
- name: JsDelivrEsmResolver
|
||
|
type: class
|
||
|
source: Symfony\Component\AssetMapper\ImportMap\Resolver\JsDelivrEsmResolver
|
||
|
- name: MockHttpClient
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpClient\MockHttpClient
|
||
|
- name: MockResponse
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpClient\Response\MockResponse
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: testResolvePackages
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: packages
|
||
|
- name: expectedRequests
|
||
|
- name: expectedResolvedPackages
|
||
|
comment: '# * @dataProvider provideResolvePackagesTests'
|
||
|
- name: provideResolvePackagesTests
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testDownloadPackages
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: importMapEntries
|
||
|
- name: expectedRequests
|
||
|
- name: expectedReturn
|
||
|
comment: '# * @dataProvider provideDownloadPackagesTests'
|
||
|
- name: provideDownloadPackagesTests
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testDownloadCssFileWithUrlReferences
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testDownloadCssRecursivelyDownloadsUrlCss
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testImportRegex
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: subject
|
||
|
- name: expectedPackages
|
||
|
comment: '# * @dataProvider provideImportRegex'
|
||
|
- name: provideImportRegex
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: createRemoteEntry
|
||
|
visibility: private
|
||
|
parameters:
|
||
|
- name: importName
|
||
|
- name: version
|
||
|
- name: type
|
||
|
default: ImportMapType::JS
|
||
|
- name: packageSpecifier
|
||
|
default: 'null'
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Component\AssetMapper\ImportMap\ImportMapEntry
|
||
|
- Symfony\Component\AssetMapper\ImportMap\ImportMapType
|
||
|
- Symfony\Component\AssetMapper\ImportMap\PackageRequireOptions
|
||
|
- Symfony\Component\AssetMapper\ImportMap\Resolver\JsDelivrEsmResolver
|
||
|
- Symfony\Component\HttpClient\MockHttpClient
|
||
|
- Symfony\Component\HttpClient\Response\MockResponse
|
||
|
interfaces: []
|