"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "phprojekt/tests/UnitTests/Phprojekt/PhprojektTest.php" between
PHProjekt-6.2.0.tar.gz and PHProjekt-6.2.1.tar.gz

About: PHProjekt is an application suite that supports communication and management of teams and companies. It includes a group calendar, project management, a request tracker and 12 other modules.

PhprojektTest.php  (PHProjekt-6.2.0):PhprojektTest.php  (PHProjekt-6.2.1)
skipping to change at line 27 skipping to change at line 27
* Tests for database manager * Tests for database manager
* *
* @group phprojekt * @group phprojekt
* @group main * @group main
* @group phprojekt-main * @group phprojekt-main
*/ */
class Phprojekt_PhprojektTest extends PHPUnit_Framework_TestCase class Phprojekt_PhprojektTest extends PHPUnit_Framework_TestCase
{ {
public function testGetVersion() public function testGetVersion()
{ {
$this->assertEquals("6.2.0", Phprojekt::getVersion()); $this->assertEquals("6.2.1", Phprojekt::getVersion());
} }
public function testCompareVersion() public function testCompareVersion()
{ {
$this->assertLessThan(0, Phprojekt::compareVersion("6.1.0", Phprojekt::g etVersion())); $this->assertLessThan(0, Phprojekt::compareVersion("6.1.0", Phprojekt::g etVersion()));
$this->assertGreaterThan(0, Phprojekt::compareVersion("6.0.1", "6.0.0")) ; $this->assertGreaterThan(0, Phprojekt::compareVersion("6.0.1", "6.0.0")) ;
$this->assertLessThan(0, Phprojekt::compareVersion("6.0.1", "6.1.0")); $this->assertLessThan(0, Phprojekt::compareVersion("6.0.1", "6.1.0"));
$this->assertGreaterThan(0, Phprojekt::compareVersion("6.0.1-RC2", "6.0. 1-RC1")); $this->assertGreaterThan(0, Phprojekt::compareVersion("6.0.1-RC2", "6.0. 1-RC1"));
$this->assertGreaterThan(0, Phprojekt::compareVersion("6.0.1-RC1", "6.0. 1-RC")); $this->assertGreaterThan(0, Phprojekt::compareVersion("6.0.1-RC1", "6.0. 1-RC"));
$this->assertLessThan(0, Phprojekt::compareVersion("6.0.0-RC", "6.0.0")) ; $this->assertLessThan(0, Phprojekt::compareVersion("6.0.0-RC", "6.0.0")) ;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)