Code Search for Developers
 
 
  

testsuite.php from ECP (EliteCore Project) at Krugle


Show testsuite.php syntax highlighted

<?php

require_once('PEAR.php');

class TC {
    function runTest($name){
        $test = strToLower($name);
        include_once("test_$test.php");
        echo "# Starting unit test for $name:\n";
    	$tc = &new PhpUnit_TestSuite('File_Passwd'.($name!='File_Passwd' ? '_'.$name : '').'Test');
        $rs = PHPUnit::run($tc);
        echo $rs->toString() . "\n";
        flush();
    }
}
echo "\n";
TC::runTest('File_Passwd');
TC::runTest('Common');
TC::runTest('Smb');
TC::runTest('Cvs');
TC::runTest('Unix');
TC::runTest('Authbasic');
TC::runTest('Authdigest');
TC::runTest('Custom');
?>



See more files for this project here

ECP (EliteCore Project)

EliteCore Project is a PHP5.1/Javascript/AJAX/XHTML/CSS framework for creating WEB 2.0 applications and services.The basic open-source instalation can be also used as an interactive personal page or BLOG.This project uses the latest features available.

Project homepage: http://sourceforge.net/projects/elitecore
Programming language(s): JavaScript,PHP,XML
License: cpl

  README.txt
  common.txt
  passwd.authbasic.txt
  passwd.authdigest.txt
  passwd.custom.txt
  passwd.cvs.txt
  passwd.smb.txt
  passwd.unix.txt
  test_authbasic.php
  test_authdigest.php
  test_common.php
  test_custom.php
  test_cvs.php
  test_file_passwd.php
  test_smb.php
  test_unix.php
  testsuite.php