Ignore:
Timestamp:
2007/09/13 12:53:39 (17 years ago)
Author:
nanasess
Message:

テーブル一覧を配列で返す関数を追加

File:
1 edited

Legend:

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

    r15532 r15692  
    1111 
    1212/** 
    13  * SC_DB_DBFactory のテストケース. 
     13 * SC_DB_DBFactory TestCase 
    1414 * 
    1515 * @package DB 
    1616 * @author LOCKON CO.,LTD. 
    17  * @version $Id$ 
     17 * @version $Id:SC_DB_DBFactory_Test.php 15532 2007-08-31 14:39:46Z nanasess $ 
    1818 */ 
    1919class SC_DB_DBFactory_Test extends PHPUnit_TestCase { 
     
    2222    // {{{ functions 
    2323 
     24    /* TODO 
    2425    function testSfGetDBVersion() { 
    2526        $dbFactory = SC_DB_DBFactory::getInstance(); 
     
    3637        } 
    3738    } 
     39    */ 
     40 
     41    function testFindTableNames() { 
     42        $dbFactory = SC_DB_DBFactory::getInstance(); 
     43        $objQuery = new SC_Query(DEFAULT_DSN, true, true); 
     44        $actual = $dbFactory->findTableNames("mtb_pre"); 
     45        $this->assertEquals("mtb_pref", $actual[0]); 
     46    } 
    3847} 
     48 
     49/* 
     50 * Local variables: 
     51 * coding: utf-8 
     52 * End: 
     53 */ 
    3954?> 
Note: See TracChangeset for help on using the changeset viewer.