cvs: pear-core /tests/PEAR_Downloader/analyzeDependencies test_analyzeDependencies_fail_1.0.phpt

From: Date: Mon, 23 May 2005 04:30:32 +0000
Subject: cvs: pear-core /tests/PEAR_Downloader/analyzeDependencies test_analyzeDependencies_fail_1.0.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-32040@lists.php.net to get a copy of this message
cellog Mon May 23 00:30:32 2005 EDT Modified files: /pear-core/tests/PEAR_Downloader/analyzeDependencies test_analyzeDependencies_fail_1.0.phpt Log: fix test http://cvs.php.net/diff.php/pear-core/tests/PEAR_Downloader/analyzeDependencies/test_analyzeDependencies_fail_1.0.phpt?r1=1.4&r2=1.5&ty=u Index: pear-core/tests/PEAR_Downloader/analyzeDependencies/test_analyzeDependencies_fail_1.0.phpt diff -u pear-core/tests/PEAR_Downloader/analyzeDependencies/test_analyzeDependencies_fail_1.0.phpt:1.4 pear-core/tests/PEAR_Downloader/analyzeDependencies/test_analyzeDependencies_fail_1.0.phpt:1.5 --- pear-core/tests/PEAR_Downloader/analyzeDependencies/test_analyzeDependencies_fail_1.0.phpt:1.4 Mon Jan 10 23:08:30 2005 +++ pear-core/tests/PEAR_Downloader/analyzeDependencies/test_analyzeDependencies_fail_1.0.phpt Mon May 23 00:30:31 2005 @@ -193,15 +193,13 @@ $phpunit->assertNoErrors('setup'); $_test_dep->setExtensions(array('bar' => '1.0')); -$err = $dp->_downloader->analyzeDependencies($params); -$phpunit->assertErrors(array( - array('package' => 'PEAR_Error', 'message' => - 'Cannot install, dependencies failed') -), 'end'); +$dldir = $dp->_downloader->getDownloadDir(); +$dp->_downloader->analyzeDependencies($params); +$phpunit->assertEquals(array(), $params, 'all things removed'); $phpunit->assertEquals(array ( array ( 0 => 3, - 1 => '+ tmp dir created at ' . $dp->_downloader->getDownloadDir(), + 1 => '+ tmp dir created at ' . $dldir, ), array ( 0 => 3,

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