cvs: pear-core(PEAR_1_4) /tests/PEAR_Command_Config/config-create test.phpt

From: Date: Sat, 15 Jul 2006 01:04:01 +0000
Subject: cvs: pear-core(PEAR_1_4) /tests/PEAR_Command_Config/config-create test.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-4863@lists.php.net to get a copy of this message
pajoye Sat Jul 15 01:04:01 2006 UTC Modified files: (Branch: PEAR_1_4) /pear-core/tests/PEAR_Command_Config/config-create test.phpt Log: - fix test, downloaddir http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_Command_Config/config-create/test.phpt?r1=1.9&r2=1.9.2.1&diff_format=u Index: pear-core/tests/PEAR_Command_Config/config-create/test.phpt diff -u pear-core/tests/PEAR_Command_Config/config-create/test.phpt:1.9 pear-core/tests/PEAR_Command_Config/config-create/test.phpt:1.9.2.1 --- pear-core/tests/PEAR_Command_Config/config-create/test.phpt:1.9 Fri Feb 3 05:03:02 2006 +++ pear-core/tests/PEAR_Command_Config/config-create/test.phpt Sat Jul 15 01:04:01 2006 @@ -18,181 +18,193 @@ . 'remote.ini')); $phpunit->assertNoErrors('log errors'); $phpunit->assertEquals(array ( - 0 => + 0 => array ( - 'info' => + 'info' => array ( 'caption' => 'Configuration (channel pear.php.net):', - 'data' => + 'data' => array ( - 'Internet Access' => + 'Internet Access' => array ( - 0 => + 0 => array ( 0 => 'Auto-discover new Channels', 1 => 'auto_discover', 2 => NULL, ), - 1 => + 1 => array ( 0 => 'Default Channel', 1 => 'default_channel', 2 => 'pear.php.net', ), - 2 => + 2 => array ( 0 => 'HTTP Proxy Server Address', 1 => 'http_proxy', 2 => NULL, ), - 3 => + 3 => array ( 0 => 'PEAR server [DEPRECATED]', 1 => 'master_server', 2 => NULL, ), - 4 => + 4 => array ( 0 => 'Default Channel Mirror', 1 => 'preferred_mirror', 2 => NULL, ), - 5 => + 5 => array ( 0 => 'Remote Configuration File', 1 => 'remote_config', 2 => NULL, ), ), - 'File Locations' => + 'File Locations' => array ( - 0 => + 0 => array ( 0 => 'PEAR executables directory', 1 => 'bin_dir', 2 => '' . $temp_path2 . '/nomake/pear', ), - 1 => + 1 => array ( 0 => 'PEAR documentation directory', 1 => 'doc_dir', 2 => '' . $temp_path2 . '/nomake/pear/docs', ), - 2 => + 2 => array ( 0 => 'PHP extension directory', 1 => 'ext_dir', 2 => '' . $temp_path2 . '/nomake/pear/ext', ), - 3 => + 3 => array ( 0 => 'PEAR directory', 1 => 'php_dir', 2 => '' . $temp_path2 . '/nomake/pear/php', ), ), - 'File Locations (Advanced)' => + 'File Locations (Advanced)' => array ( - 0 => + 0 => array ( 0 => 'PEAR Installer cache directory', 1 => 'cache_dir', 2 => '' . $temp_path2 . '/nomake/pear/cache', ), - 1 => + 1 => array ( 0 => 'PEAR data directory', 1 => 'data_dir', 2 => '' . $temp_path2 . '/nomake/pear/data', ), - 2 => + 2 => + array ( + 0 => 'PEAR Installer download directory', + 1 => 'download_dir', + 2 => NULL, + ), + 3 => array ( 0 => 'PHP CLI/CGI binary', 1 => 'php_bin', 2 => NULL, ), - 3 => + 4 => + array ( + 0 => 'PEAR Installer temp directory', + 1 => 'temp_dir', + 2 => NULL, + ), + 5 => array ( 0 => 'PEAR test directory', 1 => 'test_dir', 2 => '' . $temp_path2 . '/nomake/pear/tests', ), ), - 'Advanced' => + 'Advanced' => array ( - 0 => + 0 => array ( 0 => 'Cache TimeToLive', 1 => 'cache_ttl', 2 => NULL, ), - 1 => + 1 => array ( 0 => 'Preferred Package State', 1 => 'preferred_state', 2 => NULL, ), - 2 => + 2 => array ( 0 => 'Unix file mask', 1 => 'umask', 2 => NULL, ), - 3 => + 3 => array ( 0 => 'Debug Log Level', 1 => 'verbose', 2 => NULL, ), ), - 'Maintainers' => + 'Maintainers' => array ( - 0 => + 0 => array ( 0 => 'PEAR password (for maintainers)', 1 => 'password', 2 => NULL, ), - 1 => + 1 => array ( 0 => 'Signature Handling Program', 1 => 'sig_bin', 2 => NULL, ), - 2 => + 2 => array ( 0 => 'Signature Key Directory', 1 => 'sig_keydir', 2 => NULL, ), - 3 => + 3 => array ( 0 => 'Signature Key Id', 1 => 'sig_keyid', 2 => NULL, ), - 4 => + 4 => array ( 0 => 'Package Signature Type', 1 => 'sig_type', 2 => NULL, ), - 5 => + 5 => array ( 0 => 'PEAR username (for maintainers)', 1 => 'username', 2 => NULL, ), ), - 'Config Files' => + 'Config Files' => array ( - 0 => + 0 => array ( 0 => 'User Configuration File', 1 => 'Filename', 2 => $temp_path . DIRECTORY_SEPARATOR . 'remote.ini', ), - 1 => + 1 => array ( 0 => 'System Configuration File', 1 => 'Filename', @@ -203,7 +215,7 @@ ), 'cmd' => 'config-show', ), - 1 => + 1 => array ( 'info' => 'Successfully created default configuration file "' . $temp_path . DIRECTORY_SEPARATOR . 'remote.ini"',

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