Revision 15746,
816 bytes
checked in by nanasess, 16 years ago
(diff) |
pear のパスを ini_set するよう修正
|
-
Property svn:keywords set to
Id Revision Date
-
Property svn:mime-type set to
text/x-httpd-php; charset=UTF-8
|
Line | |
---|
1 | #!/usr/local/bin/php |
---|
2 | <?php |
---|
3 | /* |
---|
4 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
5 | * |
---|
6 | * http://www.lockon.co.jp/ |
---|
7 | */ |
---|
8 | |
---|
9 | ini_set("include_path", ".:/usr/local/share/pear"); |
---|
10 | // {{{ requires |
---|
11 | require_once("../html/require.php"); |
---|
12 | require_once("class/page/LC_Page_Test.php"); |
---|
13 | require_once("class/db/SC_DB_DBFactory_Test.php"); |
---|
14 | require_once("class/db/SC_DB_MasterData_Test.php"); |
---|
15 | require_once("class/helper/SC_Helper_DB_Test.php"); |
---|
16 | require_once("PHPUnit.php"); |
---|
17 | |
---|
18 | $suites = array(); |
---|
19 | $suites[0] = new PHPUnit_TestSuite("LC_Page_Test"); |
---|
20 | $suites[1] = new PHPUnit_TestSuite("SC_DB_DBFactory_Test"); |
---|
21 | $suites[2] = new PHPUnit_TestSuite("SC_DB_MasterData_Test"); |
---|
22 | $suites[3] = new PHPUnit_TestSuite("SC_Helper_DB_Test"); |
---|
23 | |
---|
24 | foreach ($suites as $suite) { |
---|
25 | $result = PHPUnit::run($suite); |
---|
26 | print $result->toString(); |
---|
27 | } |
---|
28 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.