[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/tests_runner/tests/ -> test_self.php (source)

   1  <?php
   2  /*

   3   * Limb PHP Framework

   4   *

   5   * @link http://limb-project.com

   6   * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)

   7   * @license    LGPL http://www.gnu.org/copyleft/lesser.html

   8   */
   9  
  10  if(isset($argv[1]))
  11    define('SIMPLE_TEST', $argv[1]);
  12  
  13  require_once(dirname(__FILE__) . '/cases/.init.php');
  14  
  15  $group = new TestSuite();
  16  foreach(glob(dirname(__FILE__) . '/cases/*Test.class.php') as $file)

  17    $group->addTestFile($file);

  18  

  19  if(!$res = $group->run(new TextReporter()))

  20    exit(1);

  21  

  22  ?>


Generated: Tue Dec 2 03:54:09 2008 Cross-referenced by PHPXref 0.7