cvs: pear-core /tests/PEAR_Installer_Role test_getValidRoles.phpt

From: Date: Sun, 21 Aug 2005 22:13:56 +0000
Subject: cvs: pear-core /tests/PEAR_Installer_Role test_getValidRoles.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-3690@lists.php.net to get a copy of this message
cellog Sun Aug 21 18:13:56 2005 EDT Modified files: /pear-core/tests/PEAR_Installer_Role test_getValidRoles.phpt Log: update to current cvs http://cvs.php.net/diff.php/pear-core/tests/PEAR_Installer_Role/test_getValidRoles.phpt?r1=1.3&r2=1.4&ty=u Index: pear-core/tests/PEAR_Installer_Role/test_getValidRoles.phpt diff -u pear-core/tests/PEAR_Installer_Role/test_getValidRoles.phpt:1.3 pear-core/tests/PEAR_Installer_Role/test_getValidRoles.phpt:1.4 --- pear-core/tests/PEAR_Installer_Role/test_getValidRoles.phpt:1.3 Sun Jan 2 01:27:48 2005 +++ pear-core/tests/PEAR_Installer_Role/test_getValidRoles.phpt Sun Aug 21 18:13:54 2005 @@ -17,18 +17,20 @@ 4 => 'test', ), PEAR_Installer_Role::getValidRoles('php'), 'php'); $phpunit->assertEquals(array ( - 0 => 'data', - 1 => 'doc', - 2 => 'script', - 3 => 'src', - 4 => 'test', + 'data', + 'doc', + 'php', + 'script', + 'src', + 'test', ), PEAR_Installer_Role::getValidRoles('extsrc'), 'extsrc'); $phpunit->assertEquals(array ( - 0 => 'data', - 1 => 'doc', - 2 => 'ext', - 3 => 'script', - 4 => 'test', + 'data', + 'doc', + 'ext', + 'php', + 'script', + 'test', ), PEAR_Installer_Role::getValidRoles('extbin'), 'extbin'); $phpunit->assertEquals(array(), PEAR_Installer_Role::getValidRoles('bundle'), 'bundle'); @@ -55,9 +57,10 @@ 5 => 'nohonorsbaseinstall', 6 => 'nophp', 7 => 'notphp', - 8 => 'script', - 9 => 'src', - 10 => 'test', + 8 => 'php', + 9 => 'script', + 10 => 'src', + 11 => 'test', ), PEAR_Installer_Role::getValidRoles('extsrc'), 'extsrc'); $phpunit->assertEquals(array ( 0 => 'data', @@ -69,8 +72,9 @@ 6 => 'nohonorsbaseinstall', 7 => 'nophp', 8 => 'notphp', - 9 => 'script', - 10 => 'test', + 9 => 'php', + 10 => 'script', + 11 => 'test', ), PEAR_Installer_Role::getValidRoles('extbin'), 'extbin'); echo 'tests done'; ?>

« previous php.pear.core (#3690) next »