From ecdb241295976ee69db0e07cddba44dd1d0bd684 Mon Sep 17 00:00:00 2001 From: prolic Date: Thu, 31 Oct 2013 19:05:36 +0100 Subject: [PATCH 1/4] use namespaces in versiontest --- tests/ZendTest/Version/VersionTest.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/ZendTest/Version/VersionTest.php b/tests/ZendTest/Version/VersionTest.php index 1bf62c0ae9e..671512447c4 100644 --- a/tests/ZendTest/Version/VersionTest.php +++ b/tests/ZendTest/Version/VersionTest.php @@ -7,17 +7,19 @@ * @license http://framework.zend.com/license/new-bsd New BSD License */ +namespace ZendTest\Version; + use Zend\Http; use Zend\Version\Version; /** - * @group Zend_Version + * @group Zend\Version */ -class Zend_VersionTest extends \PHPUnit_Framework_TestCase +class VersionTest extends \PHPUnit_Framework_TestCase { /** * Tests that version_compare() and its "proxy" - * Zend_Version::compareVersion() work as expected. + * Zend\Version::compareVersion() work as expected. */ public function testVersionCompare() { @@ -40,7 +42,7 @@ public function testVersionCompare() $this->assertSame( Version::compareVersion($ver), $expect, - "For version '$ver' and Zend_Version::VERSION = '" + "For version '$ver' and Zend\Version::VERSION = '" . Version::VERSION . "': result=" . (Version::compareVersion($ver)) . ', but expected ' . $expect); } From c870647cf473790fe1e3bdd6d3345a53b229fdbc Mon Sep 17 00:00:00 2001 From: prolic Date: Thu, 31 Oct 2013 19:08:39 +0100 Subject: [PATCH 2/4] version => version\verison --- tests/ZendTest/Version/VersionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ZendTest/Version/VersionTest.php b/tests/ZendTest/Version/VersionTest.php index 671512447c4..51b66980679 100644 --- a/tests/ZendTest/Version/VersionTest.php +++ b/tests/ZendTest/Version/VersionTest.php @@ -19,7 +19,7 @@ class VersionTest extends \PHPUnit_Framework_TestCase { /** * Tests that version_compare() and its "proxy" - * Zend\Version::compareVersion() work as expected. + * Zend\Version\Version::compareVersion() work as expected. */ public function testVersionCompare() { From ef68023b459db935f76c0ad16dce49efee9027e3 Mon Sep 17 00:00:00 2001 From: prolic Date: Thu, 31 Oct 2013 23:39:11 +0100 Subject: [PATCH 3/4] Zend\Version => Zend\Version\Version --- tests/ZendTest/Version/VersionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ZendTest/Version/VersionTest.php b/tests/ZendTest/Version/VersionTest.php index 51b66980679..0092136d4e5 100644 --- a/tests/ZendTest/Version/VersionTest.php +++ b/tests/ZendTest/Version/VersionTest.php @@ -42,7 +42,7 @@ public function testVersionCompare() $this->assertSame( Version::compareVersion($ver), $expect, - "For version '$ver' and Zend\Version::VERSION = '" + "For version '$ver' and Zend\Version\Version::VERSION = '" . Version::VERSION . "': result=" . (Version::compareVersion($ver)) . ', but expected ' . $expect); } From bb4dc5a0150586248ea276d33340d1c7ed47f9bd Mon Sep 17 00:00:00 2001 From: prolic Date: Fri, 1 Nov 2013 16:34:36 +0100 Subject: [PATCH 4/4] @group Zend_Version instead of Zend\Version --- tests/ZendTest/Version/VersionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ZendTest/Version/VersionTest.php b/tests/ZendTest/Version/VersionTest.php index 0092136d4e5..52a89a81c26 100644 --- a/tests/ZendTest/Version/VersionTest.php +++ b/tests/ZendTest/Version/VersionTest.php @@ -13,7 +13,7 @@ use Zend\Version\Version; /** - * @group Zend\Version + * @group Zend_Version */ class VersionTest extends \PHPUnit_Framework_TestCase {