From fd5b1e0f1c382f7281fb6ddc9020163d6dc88854 Mon Sep 17 00:00:00 2001 From: Wil Moore III Date: Tue, 27 Sep 2011 21:36:55 -0600 Subject: [PATCH] added annotations to test methods --- tests/Composer/Test/Package/MemoryPackageTest.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/Composer/Test/Package/MemoryPackageTest.php b/tests/Composer/Test/Package/MemoryPackageTest.php index 7afb6f555..5d63b6e9d 100644 --- a/tests/Composer/Test/Package/MemoryPackageTest.php +++ b/tests/Composer/Test/Package/MemoryPackageTest.php @@ -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) {