89 lines
2.5 KiB
YAML
89 lines
2.5 KiB
YAML
|
name: ImportMapUpdateCheckerTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: ImportMapConfigReader
|
||
|
type: class
|
||
|
source: Symfony\Component\AssetMapper\ImportMap\ImportMapConfigReader
|
||
|
- name: ImportMapEntries
|
||
|
type: class
|
||
|
source: Symfony\Component\AssetMapper\ImportMap\ImportMapEntries
|
||
|
- name: ImportMapEntry
|
||
|
type: class
|
||
|
source: Symfony\Component\AssetMapper\ImportMap\ImportMapEntry
|
||
|
- name: ImportMapType
|
||
|
type: class
|
||
|
source: Symfony\Component\AssetMapper\ImportMap\ImportMapType
|
||
|
- name: ImportMapUpdateChecker
|
||
|
type: class
|
||
|
source: Symfony\Component\AssetMapper\ImportMap\ImportMapUpdateChecker
|
||
|
- name: PackageUpdateInfo
|
||
|
type: class
|
||
|
source: Symfony\Component\AssetMapper\ImportMap\PackageUpdateInfo
|
||
|
- name: MockHttpClient
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpClient\MockHttpClient
|
||
|
- name: JsonMockResponse
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpClient\Response\JsonMockResponse
|
||
|
- name: MockResponse
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpClient\Response\MockResponse
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: setUp
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetAvailableUpdates
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetAvailableUpdatesForSinglePackage
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: entries
|
||
|
- name: expectedUpdateInfo
|
||
|
- name: expectedException
|
||
|
comment: '# * @dataProvider provideImportMapEntry
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param ImportMapEntry[] $entries
|
||
|
|
||
|
# * @param PackageUpdateInfo[] $expectedUpdateInfo'
|
||
|
- name: provideImportMapEntry
|
||
|
visibility: private
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: responseFactory
|
||
|
visibility: private
|
||
|
parameters:
|
||
|
- name: method
|
||
|
- name: url
|
||
|
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\ImportMapConfigReader
|
||
|
- Symfony\Component\AssetMapper\ImportMap\ImportMapEntries
|
||
|
- Symfony\Component\AssetMapper\ImportMap\ImportMapEntry
|
||
|
- Symfony\Component\AssetMapper\ImportMap\ImportMapType
|
||
|
- Symfony\Component\AssetMapper\ImportMap\ImportMapUpdateChecker
|
||
|
- Symfony\Component\AssetMapper\ImportMap\PackageUpdateInfo
|
||
|
- Symfony\Component\HttpClient\MockHttpClient
|
||
|
- Symfony\Component\HttpClient\Response\JsonMockResponse
|
||
|
- Symfony\Component\HttpClient\Response\MockResponse
|
||
|
interfaces: []
|