source: branches/version-2_5-dev/test/class/db/DB_AllTests.php @ 18763

Revision 18763, 1.5 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
  • 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
25
26require_once(realpath(dirname(__FILE__)) . '/../../require.php');
27require_once(realpath(dirname(__FILE__)) . '/SC_DB_DBFactory_Test.php');
28require_once(realpath(dirname(__FILE__)) . '/SC_DB_MasterData_Test.php');
29
30/**
31 * DB パッケージのテストケース.
32 *
33 * @package DB
34 * @author Kentaro Ohkouchi
35 * @version $Id:LC_Page_Test.php 15116 2007-07-23 11:32:53Z nanasess $
36 */
37class DB_AllTests extends PHPUnit_Framework_TestCase {
38
39    public static function suite() {
40        $suite = new PHPUnit_Framework_TestSuite('SC_DB');
41        $suite->addTestSuite('SC_DB_DBFactory_Test');
42        $suite->addTestSuite('SC_DB_MasterData_Test');
43        return $suite;
44    }
45}
46?>
Note: See TracBrowser for help on using the repository browser.