1
0
Fork 0

added annotations to test methods

pull/23/head
Wil Moore III 2011-09-27 21:36:55 -06:00
parent b4df1d1a6b
commit fd5b1e0f1c
1 changed files with 12 additions and 2 deletions

View File

@ -37,8 +37,11 @@ class MemoryPackageTest extends \PHPUnit_Framework_TestCase
* Tests memory package naming semantics
*
* @dataProvider ProviderVersioningSchemes
*
* @param string $name
* @param string $version
*/
public function testMemoryPackageHasExpectedNamingSemantics($name, $version, $marshalled)
public function testMemoryPackageHasExpectedNamingSemantics($name, $version)
{
$package = new MemoryPackage($name, $version);
$this->assertEquals(strtolower($name), $package->getName());
@ -48,8 +51,11 @@ class MemoryPackageTest extends \PHPUnit_Framework_TestCase
* Tests memory package versioning semantics
*
* @dataProvider ProviderVersioningSchemes
*
* @param string $name
* @param string $version
*/
public function testMemoryPackageHasExpectedVersioningSemantics($name, $version, $marshalled)
public function testMemoryPackageHasExpectedVersioningSemantics($name, $version)
{
$package = new MemoryPackage($name, $version);
$this->assertEquals($version, $package->getVersion());
@ -59,6 +65,10 @@ class MemoryPackageTest extends \PHPUnit_Framework_TestCase
* Tests memory package marshalling/serialization semantics
*
* @dataProvider ProviderVersioningSchemes
*
* @param string $name
* @param string $version
* @param string $marshalled
*/
public function testMemoryPackageHasExpectedMarshallingSemantics($name, $version, $marshalled)
{