Ignore:
Timestamp:
2010/06/02 17:33:40 (16 years ago)
Author:
nanasess
bzr:base-revision:
[email protected]
bzr:committer:
Kentaro Ohkouchi <[email protected]>
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:
[email protected]
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
Message:

コミュニティ版のテストケースを移植

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4-dev/test/class/db/SC_DB_MasterData_Test.php

    r16582 r18668  
    33 * This file is part of EC-CUBE 
    44 * 
    5  * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. 
     5 * Copyright(c) 2000-2009 LOCKON CO.,LTD. All Rights Reserved. 
    66 * 
    77 * http://www.lockon.co.jp/ 
     
    2323 
    2424// {{{ requires 
    25 require_once(CLASS_EX_PATH . "db_extends/SC_DB_MasterData_Ex.php"); 
    26 require_once("PHPUnit/TestCase.php"); 
     25require_once("../html/require.php"); 
     26require_once("../data/class_extends/db_extends/SC_DB_MasterData_Ex.php"); 
     27require_once("PHPUnit/Framework.php"); 
    2728 
    2829/** 
     
    3334 * @version $Id:SC_DB_MasterData_Test.php 15532 2007-08-31 14:39:46Z nanasess $ 
    3435 */ 
    35 class SC_DB_MasterData_Test extends PHPUnit_TestCase { 
     36class SC_DB_MasterData_Test extends PHPUnit_Framework_TestCase { 
    3637 
    3738    // }}} 
     
    8889    function testCreateCache() { 
    8990        $masterData = new SC_DB_MasterData_Ex(); 
    90         $datas = $masterData->getDBMasterData("mtb_constants"); 
    91         $commentColumn = array("id", "remarks", "rank"); 
    92         $masterData->clearCache("mtb_constants"); 
     91        $datas = $masterData->getDBMasterData("mtb_constants");  
     92        $commentColumn = array("id", "remarks", "rank");  
     93        $masterData->clearCache("mtb_constants");  
    9394        $masterData->createCache("mtb_constants", $datas, true, 
    94                                          array("id", "remarks", "rank")); 
     95                                 array("id", "remarks", "rank")); 
    9596        $this->assertEquals(true, defined("ECCUBE_VERSION")); 
    9697    } 
Note: See TracChangeset for help on using the changeset viewer.