Ignore:
Timestamp:
2010/06/22 18:40:10 (11 years ago)
Author:
nanasess
bzr:base-revision:
ohkouchi@loop-az.jp-20100622085323-j5ygw8nt52f395cw
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-20100622094006-6fixjcfgfnisjj86
bzr:revno:
1943
bzr:revprop:branch-nick:
branches/version-2_4
bzr:root:
branches/version-2_4
bzr:text-parents:

test/TestSuite.php ohkouchi@loop-az.jp-20100622084403-entzq52cpgi048b3
test/class/db/SC_DB_DBFactory_Test.php ohkouchi@loop-az.jp-20100622084403-entzq52cpgi048b3
test/class/db/SC_DB_MasterData_Test.php ohkouchi@loop-az.jp-20100622084403-entzq52cpgi048b3
test/class/helper/SC_Helper_DB_Test.php ohkouchi@loop-az.jp-20100622084403-entzq52cpgi048b3
test/class/page/LC_Page_Test.php ohkouchi@loop-az.jp-20100622084403-entzq52cpgi048b3
bzr:timestamp:
2010-06-22 18:40:06.348000050 +0900
bzr:user-agent:
bzr2.1.1+bzr-svn1.0.2
svn:original-date:
2010-06-22T09:40:06.348000Z
Message:

merged r18688

  • コミュニティ版のテストケースを移植
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4/test/TestSuite.php

    r18734 r18736  
    1 #!/usr/local/bin/php 
    21<?php 
    32/* 
     
    2322 */ 
    2423 
    25 ini_set("include_path", ".:/usr/local/share/pear"); 
    2624// {{{ requires 
    2725require_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"); 
     26require_once("class/page/Page_AllTests.php"); 
     27require_once("class/db/DB_AllTests.php"); 
     28require_once("class/helper/Helper_AllTests.php"); 
     29require_once("PHPUnit/Framework.php"); 
    3330 
    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 */ 
    3937 
    40 foreach ($suites as $suite) { 
    41     $result = PHPUnit::run($suite); 
    42     print $result->toString(); 
     38class 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    } 
    4346} 
    4447?> 
Note: See TracChangeset for help on using the changeset viewer.