cvs: pear-core /tests/PEAR_Command test_registerCommands_standard.phpt

From: Date: Fri, 28 Oct 2005 18:20:06 +0000
Subject: cvs: pear-core /tests/PEAR_Command test_registerCommands_standard.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-35937@lists.php.net to get a copy of this message
cellog Fri Oct 28 14:20:06 2005 EDT Modified files: /pear-core/tests/PEAR_Command test_registerCommands_standard.phpt Log: update test to cvs http://cvs.php.net/diff.php/pear-core/tests/PEAR_Command/test_registerCommands_standard.phpt?r1=1.18&r2=1.19&ty=u Index: pear-core/tests/PEAR_Command/test_registerCommands_standard.phpt diff -u pear-core/tests/PEAR_Command/test_registerCommands_standard.phpt:1.18 pear-core/tests/PEAR_Command/test_registerCommands_standard.phpt:1.19 --- pear-core/tests/PEAR_Command/test_registerCommands_standard.phpt:1.18 Sun Sep 25 13:37:58 2005 +++ pear-core/tests/PEAR_Command/test_registerCommands_standard.phpt Fri Oct 28 14:20:05 2005 @@ -185,20 +185,21 @@ $phpunit->assertEquals('', $s, 'short info'); $phpunit->assertEquals(array(), $l, 'long info'); PEAR_Command::getGetoptArgs('install', $s, $l); -$phpunit->assertEquals('fnrsBZR:aoOp', $s, 'short install'); +$phpunit->assertEquals('flnrsBZR:aoOp', $s, 'short install'); $phpunit->assertEquals(array ( 0 => 'force', - 1 => 'nodeps', - 2 => 'register-only', - 3 => 'soft', - 4 => 'nobuild', - 5 => 'nocompress', - 6 => 'installroot=', - 7 => 'ignore-errors', - 8 => 'alldeps', - 9 => 'onlyreqdeps', - 10 => 'offline', - 11 => 'pretend', + 1 => 'loose', + 2 => 'nodeps', + 3 => 'register-only', + 4 => 'soft', + 5 => 'nobuild', + 6 => 'nocompress', + 7 => 'installroot=', + 8 => 'ignore-errors', + 9 => 'alldeps', + 10 => 'onlyreqdeps', + 11 => 'offline', + 12 => 'pretend', ), $l, 'long install'); PEAR_Command::getGetoptArgs('list', $s, $l); $phpunit->assertEquals('c:a', $s, 'short list'); @@ -270,19 +271,20 @@ $phpunit->assertEquals('', $s, 'short update-channels'); $phpunit->assertEquals(array (), $l, 'long update-channels'); PEAR_Command::getGetoptArgs('upgrade', $s, $l); -$phpunit->assertEquals('fnrBZR:aoOp', $s, 'short upgrade'); +$phpunit->assertEquals('f1nrBZR:aoOp', $s, 'short upgrade'); $phpunit->assertEquals(array ( 0 => 'force', - 1 => 'nodeps', - 2 => 'register-only', - 3 => 'nobuild', - 4 => 'nocompress', - 5 => 'installroot=', - 6 => 'ignore-errors', - 7 => 'alldeps', - 8 => 'onlyreqdeps', - 9 => 'offline', - 10 => 'pretend', + 1 => 'loose', + 2 => 'nodeps', + 3 => 'register-only', + 4 => 'nobuild', + 5 => 'nocompress', + 6 => 'installroot=', + 7 => 'ignore-errors', + 8 => 'alldeps', + 9 => 'onlyreqdeps', + 10 => 'offline', + 11 => 'pretend', ), $l, 'long upgrade'); PEAR_Command::getGetoptArgs('upgrade-all', $s, $l); $phpunit->assertEquals('nrBZR:', $s, 'short upgrade-all'); @@ -293,6 +295,7 @@ 3 => 'nocompress', 4 => 'installroot=', 5 => 'ignore-errors', + 6 => 'loose', ), $l, 'long upgrade-all'); $phpunit->assertEquals('Build an Extension From C Source' , PEAR_Command::getDescription('build'), 'build');

« previous php.pear.cvs (#35937) next »