[ Index ]
 

Code source de PHP PEAR 1.4.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/tests/Config/test/ -> bug4623.phpt (source)

   1  --TEST--
   2  regression test for bug #3590
   3  --FILE--
   4  <?php
   5  require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
   6  $datasrc = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'bug4623.conf';
   7  
   8  $root =& $config->parseConfig($datasrc, "Apache");
   9  if (PEAR::isError($root)) {
  10      die('Error while reading configuration: ' . $root->getMessage() . "\r\n");
  11  }
  12  
  13  $exp = $root->toString('Apache');
  14  
  15  if ($phpt->assertNoErrors('problem!')) {
  16     $phpt->assertEquals($root->toString('Apache'), $exp, 'uh oh');
  17  }
  18  
  19  echo 'tests done'; 
  20  ?>
  21  --EXPECT--
  22  tests done


Généré le : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7