Ignore:
Timestamp:
2007/08/02 19:11:21 (15 years ago)
Author:
nanasess
Message:

定数定義出力に対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/test/class/db/SC_DB_MasterData_Test.php

    r15139 r15163  
    77 
    88// {{{ requires 
     9if (!defined("CLASS_PATH")) { 
     10    //define("CLASS_PATH", "../../data/class/"); 
     11} 
    912require_once(CLASS_PATH . "db_extends/SC_DB_MasterData_Ex.php"); 
    1013require_once("PHPUnit/TestCase.php"); 
     
    6568        $masterData->clearCache("mtb_pref"); 
    6669    } 
     70 
     71    /** 
     72     * SC_DB_MasterData::createCache() のテストケース. 
     73     */ 
     74    function testCreateCache() { 
     75        $masterData = new SC_DB_MasterData_Ex(); 
     76        $masterData->createCache("mtb_constants", $masterData->getMasterData("mtb_constants"), true); 
     77 
     78        $this->assertEquals(true, defined("ECCUBE_VERSION")); 
     79    } 
    6780} 
    6881?> 
Note: See TracChangeset for help on using the changeset viewer.