cvs: pear /Auth_PrefManager2/tests README runtests.php
| From: | Jon Wood | Date: | Tue, 29 Jun 2004 15:23:53 +0000 |
| Subject: | cvs: pear /Auth_PrefManager2/tests README runtests.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21255@lists.php.net to get a copy of this message | ||
jellybob Tue Jun 29 11:23:53 2004 EDT
Added files:
/pear/Auth_PrefManager2/tests README runtests.php
Log:
Added the test suite runner, and a README on how to make it work.
http://cvs.php.net/co.php/pear/Auth_PrefManager2/tests/runtests.php?r=1.1&p=1
Index: pear/Auth_PrefManager2/tests/runtests.php
+++ pear/Auth_PrefManager2/tests/runtests.php
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker: */
// +----------------------------------------------------------------------+
// | Copyright (c) 2004 Jon Wood |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.02 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available at through the world-wide-web at |
// | http://www.php.net/license/2_02.txt.
|
// | If you did not receive a copy of the PHP license and are unable to |
// | obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Authors: Jon Wood <jon@jellybob.co.uk> |
// | Paul M. Jones <pmjones@ciaweb.net> |
// +----------------------------------------------------------------------+
//
// $Id: runtests.php,v 1.1 2004/06/29 15:23:53 jellybob Exp $
/**
* Auth_PrefManager2 test suite runner.
* @author Jon Wood <jon@jellybob.co.uk>
*/
/**
* Base class for unit tests.
*/
require_once('simpletest/unit_tester.php');
/**
* Reporter output classes.
*/
require_once('simpletest/reporter.php');
$test = &new GroupTest('All tests');
$test->run(new TextReporter());
?>