cvs: pear-core /tests/PEAR_Config test_set_defaultchannel_alias.phpt

From: Date: Wed, 06 Apr 2005 01:01:19 +0000
Subject: cvs: pear-core /tests/PEAR_Config test_set_defaultchannel_alias.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-30942@lists.php.net to get a copy of this message
cellog Tue Apr 5 21:01:19 2005 EDT Added files: /pear-core/tests/PEAR_Config test_set_defaultchannel_alias.phpt Log: new test for setting default_channel http://cvs.php.net/co.php/pear-core/tests/PEAR_Config/test_set_defaultchannel_alias.phpt?r=1.1&p=1 Index: pear-core/tests/PEAR_Config/test_set_defaultchannel_alias.phpt +++ pear-core/tests/PEAR_Config/test_set_defaultchannel_alias.phpt --TEST-- PEAR_Config->set(), default_channel, using alias --SKIPIF-- <?php if (!getenv('PHP_PEAR_RUNTESTS')) { echo 'skip'; } ?> --FILE-- <?php error_reporting(E_ALL); require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc'; $config = &new PEAR_Config($temp_path . DIRECTORY_SEPARATOR . 'pear.ini', $temp_path . DIRECTORY_SEPARATOR . 'nofile'); $config->set('default_channel', 'pecl'); $phpunit->assertEquals('pecl.php.net', $config->get('default_channel'), 'test'); echo 'tests done'; ?> --EXPECT-- tests done

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