api/symfony/Component/AssetMapper/Tests/ImportMap/ImportMapVersionCheckerTest.yaml
2024-09-26 02:03:21 -07:00

77 lines
2.4 KiB
YAML

name: ImportMapVersionCheckerTest
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: ImportMapVersionChecker
type: class
source: Symfony\Component\AssetMapper\ImportMap\ImportMapVersionChecker
- name: PackageVersionProblem
type: class
source: Symfony\Component\AssetMapper\ImportMap\PackageVersionProblem
- name: RemotePackageDownloader
type: class
source: Symfony\Component\AssetMapper\ImportMap\RemotePackageDownloader
- name: MockHttpClient
type: class
source: Symfony\Component\HttpClient\MockHttpClient
- name: MockResponse
type: class
source: Symfony\Component\HttpClient\Response\MockResponse
properties: []
methods:
- name: testCheckVersions
visibility: public
parameters:
- name: importMapEntries
- name: dependencies
- name: expectedRequests
- name: expectedProblems
comment: '# * @dataProvider getCheckVersionsTests'
- name: getCheckVersionsTests
visibility: public
parameters: []
comment: null
- name: testNpmSpecificConstraints
visibility: public
parameters:
- name: npmConstraint
- name: expectedComposerConstraint
comment: '# * @dataProvider getNpmSpecificVersionConstraints'
- name: getNpmSpecificVersionConstraints
visibility: public
parameters: []
comment: null
- name: createRemoteEntry
visibility: private
parameters:
- name: importName
- name: version
- name: packageModuleSpecifier
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\ImportMapVersionChecker
- Symfony\Component\AssetMapper\ImportMap\PackageVersionProblem
- Symfony\Component\AssetMapper\ImportMap\RemotePackageDownloader
- Symfony\Component\HttpClient\MockHttpClient
- Symfony\Component\HttpClient\Response\MockResponse
interfaces: []