Changeset 18668 for branches/version-2_4-dev/test/TestSuite.php
- Timestamp:
- 2010/06/02 17:33:40 (13 years ago)
- bzr:base-revision:
- ohkouchi@loop-az.jp-20100602055350-ncgtadxmff25rwlj
- bzr:committer:
- Kentaro Ohkouchi <ohkouchi@loop-az.jp>
- bzr:file-ids:
test/README.txt readme.txt-20100602082419-nsx4qv1cfndowwzx-1
test/TestSuite.php 15114@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Ftest%2FTestSuite.php
test/class/SC_DbConn_Test.php sc_dbconn_test.php-20100602082419-nsx4qv1cfndowwzx-2
test/class/db/DB_AllTests.php db_alltests.php-20100602082441-xww9qc01x54i611r-1
test/class/db/SC_DB_DBFactory_Test.php 15242@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Ftest%2Fclass%2Fdb%2FSC_DB_DBFactory_Test.php
test/class/db/SC_DB_MasterData_Test.php 15134@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Ftest%2Fclass%2Fdb%2FSC_DB_MasterData_Test.php
test/class/helper/Helper_AllTests.php helper_alltests.php-20100602082441-xww9qc01x54i611r-2
test/class/helper/SC_Helper_DB_Test.php 15242@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Ftest%2Fclass%2Fhelper%2FSC_Helper_DB_Test.php
test/class/logger logger-20100602082424-nz4465gncvn0f2ew-1
test/class/logger/GC_Log_Log4php_Test.php gc_log_log4php_test.-20100602082441-xww9qc01x54i611r-3
test/class/logger/GC_Logger_Test.php gc_logger_test.php-20100602082441-xww9qc01x54i611r-4
test/class/logger/conf conf-20100602082431-t9dv6n5sv9g4o3ap-1
test/class/logger/conf/log4php.properties log4php.properties-20100602082441-xww9qc01x54i611r-5
test/class/page/LC_Page_Test.php 15114@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Ftest%2Fclass%2Fpage%2FLC_Page_Test.php
test/class/page/Page_AllTests.php page_alltests.php-20100602082441-xww9qc01x54i611r-6- bzr:mapping-version:
- v4
- bzr:repository-uuid:
- 1e3b908f-19a9-db11-a64c-001125224ba8
- bzr:revision-id:
- ohkouchi@loop-az.jp-20100602083336-n42mnd01dc5dndnm
- bzr:revno:
- 1946
- bzr:revprop:branch-nick:
- branches/version-2_4-dev
- bzr:root:
- branches/version-2_4-dev
- bzr:text-parents:
test/TestSuite.php svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/feature-module-update:16582
test/class/db/SC_DB_DBFactory_Test.php svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/feature-module-update:16582
test/class/db/SC_DB_MasterData_Test.php svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/feature-module-update:16582
test/class/helper/SC_Helper_DB_Test.php svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/feature-module-update:16582
test/class/page/LC_Page_Test.php svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/feature-module-update:16582- bzr:timestamp:
- 2010-06-02 17:33:36.500999928 +0900
- bzr:user-agent:
- bzr2.1.1+bzr-svn1.0.2
- svn:original-date:
- 2010-06-02T08:33:36.501000Z
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_4-dev/test/TestSuite.php
r16582 r18668 1 #!/usr/local/bin/php2 1 <?php 3 2 /* 4 3 * This file is part of EC-CUBE 5 4 * 6 * Copyright(c) 2000-200 7LOCKON CO.,LTD. All Rights Reserved.5 * Copyright(c) 2000-2009 LOCKON CO.,LTD. All Rights Reserved. 7 6 * 8 7 * http://www.lockon.co.jp/ … … 23 22 */ 24 23 25 ini_set("include_path", ".:/usr/local/share/pear");26 24 // {{{ requires 27 25 require_once("../html/require.php"); 28 require_once("class/page/LC_Page_Test.php"); 29 require_once("class/db/SC_DB_DBFactory_Test.php"); 30 require_once("class/db/SC_DB_MasterData_Test.php"); 31 require_once("class/helper/SC_Helper_DB_Test.php"); 32 require_once("PHPUnit.php"); 26 require_once("class/page/Page_AllTests.php"); 27 require_once("class/db/DB_AllTests.php"); 28 require_once("class/helper/Helper_AllTests.php"); 29 require_once("PHPUnit/Framework.php"); 33 30 34 $suites = array(); 35 $suites[0] = new PHPUnit_TestSuite("LC_Page_Test"); 36 $suites[1] = new PHPUnit_TestSuite("SC_DB_DBFactory_Test"); 37 $suites[2] = new PHPUnit_TestSuite("SC_DB_MasterData_Test"); 38 $suites[3] = new PHPUnit_TestSuite("SC_Helper_DB_Test"); 31 /** 32 * EC-CUBE のテストスイート 33 * 34 * @author Kentaro Ohkouchi 35 * @version $Id:LC_Page_Test.php 15116 2007-07-23 11:32:53Z nanasess $ 36 */ 39 37 40 foreach ($suites as $suite) { 41 $result = PHPUnit::run($suite); 42 print $result->toString(); 38 class TestSuite { 39 public static function suite() { 40 $suite = new PHPUnit_Framework_TestSuite('ECCUBE'); 41 $suite->addTest(Page_AllTests::suite()); 42 $suite->addTest(DB_AllTests::suite()); 43 $suite->addTest(Helper_AllTests::suite()); 44 return $suite; 45 } 43 46 } 44 47 ?>
Note: See TracChangeset
for help on using the changeset viewer.