source: branches/version-2_5-dev/test/TestSuite.php @ 18763

Revision 18763, 1.6 KB checked in by nanasess, 14 years ago (diff)
  • MDB2に対応(#564)
    • r18755 のパッチをマージ
    • PEAR::DB を削除
    • 暫定的にインストーラを修正
    • PHPUnit/Framework.php を直接 require するための require.php を追加
    • カレントディレクトリでのテストケース実行をサポート
    • 実装に合わせて README.txt を修正
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id Revision Date
  • Property svn:mime-type set to text/x-httpd-php; charset=UTF-8
Line 
1<?php
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23
24// {{{ requires
25require_once(realpath(dirname(__FILE__)) . "/require.php");
26require_once(realpath(dirname(__FILE__)) . "/class/page/Page_AllTests.php");
27require_once(realpath(dirname(__FILE__)) . "/class/db/DB_AllTests.php");
28require_once(realpath(dirname(__FILE__)) . "/class/helper/Helper_AllTests.php");
29
30/**
31 * EC-CUBE のテストスイート
32 *
33 * @author Kentaro Ohkouchi
34 * @version $Id:LC_Page_Test.php 15116 2007-07-23 11:32:53Z nanasess $
35 */
36
37class TestSuite {
38    public static function suite() {
39        $suite = new PHPUnit_Framework_TestSuite('ECCUBE');
40        $suite->addTest(Page_AllTests::suite());
41        $suite->addTest(DB_AllTests::suite());
42        $suite->addTest(Helper_AllTests::suite());
43        return $suite;
44    }
45}
46?>
Note: See TracBrowser for help on using the repository browser.