Changeset 15692 for branches/feature-module-update/test
- Timestamp:
- 2007/09/13 12:53:39 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/test/class/db/SC_DB_DBFactory_Test.php
r15532 r15692 11 11 12 12 /** 13 * SC_DB_DBFactory のテストケース.13 * SC_DB_DBFactory TestCase 14 14 * 15 15 * @package DB 16 16 * @author LOCKON CO.,LTD. 17 * @version $Id $17 * @version $Id:SC_DB_DBFactory_Test.php 15532 2007-08-31 14:39:46Z nanasess $ 18 18 */ 19 19 class SC_DB_DBFactory_Test extends PHPUnit_TestCase { … … 22 22 // {{{ functions 23 23 24 /* TODO 24 25 function testSfGetDBVersion() { 25 26 $dbFactory = SC_DB_DBFactory::getInstance(); … … 36 37 } 37 38 } 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 } 38 47 } 48 49 /* 50 * Local variables: 51 * coding: utf-8 52 * End: 53 */ 39 54 ?>
Note: See TracChangeset
for help on using the changeset viewer.