mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add types to Package
tests (#10245)
This commit is contained in:
parent
a155c076db
commit
bcbd8fdb61
16 changed files with 159 additions and 21 deletions
|
@ -35,8 +35,10 @@ class CompletePackageTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* Tests memory package naming semantics
|
||||
* @dataProvider providerVersioningSchemes
|
||||
*
|
||||
* @param string $name
|
||||
* @param string $version
|
||||
*/
|
||||
public function testPackageHasExpectedNamingSemantics($name, $version)
|
||||
{
|
||||
|
@ -47,8 +49,10 @@ class CompletePackageTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* Tests memory package versioning semantics
|
||||
* @dataProvider providerVersioningSchemes
|
||||
*
|
||||
* @param string $name
|
||||
* @param string $version
|
||||
*/
|
||||
public function testPackageHasExpectedVersioningSemantics($name, $version)
|
||||
{
|
||||
|
@ -60,8 +64,10 @@ class CompletePackageTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* Tests memory package marshalling/serialization semantics
|
||||
* @dataProvider providerVersioningSchemes
|
||||
*
|
||||
* @param string $name
|
||||
* @param string $version
|
||||
*/
|
||||
public function testPackageHasExpectedMarshallingSemantics($name, $version)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue