Changeset 18738


Ignore:
Timestamp:
2010/06/23 11:23:06 (10 years ago)
Author:
nanasess
bzr:base-revision:
ohkouchi@loop-az.jp-20100622094006-6fixjcfgfnisjj86
bzr:committer:
Kentaro Ohkouchi <ohkouchi@loop-az.jp>
bzr:file-ids:

test/TestSuite.php 15114@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Ftest%2FTestSuite.php
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/util util-20100623021730-1swn7g1ddas17iv9-1
test/class/util/SC_Utils_Test.php sc_utils_test.php-20100623021739-wctdxx0iqnedp1nj-1
test/class/util/Util_AllTests.php util_alltests.php-20100623021739-wctdxx0iqnedp1nj-2
bzr:mapping-version:
v4
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
ohkouchi@loop-az.jp-20100623022301-ty3d3yv1j2e0x1rr
bzr:revno:
1944
bzr:revprop:branch-nick:
branches/version-2_4
bzr:root:
branches/version-2_4
bzr:timestamp:
2010-06-23 11:23:01.140000105 +0900
bzr:user-agent:
bzr2.1.2+bzr-svn1.0.2
svn:original-date:
2010-06-23T02:23:01.140000Z
Message:
  • SC_Utils_Test 追加
  • MySQLで動作しないテストを修正
Location:
branches/version-2_4/test
Files:
3 added
2 edited

Legend:

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

    r18736 r18738  
    2727require_once("class/db/DB_AllTests.php"); 
    2828require_once("class/helper/Helper_AllTests.php"); 
     29require_once("class/util/Util_AllTests.php"); 
    2930require_once("PHPUnit/Framework.php"); 
    3031 
     
    4243        $suite->addTest(DB_AllTests::suite()); 
    4344        $suite->addTest(Helper_AllTests::suite()); 
     45        $suite->addTest(Util_AllTests::suite()); 
    4446        return $suite; 
    4547    } 
  • branches/version-2_4/test/class/helper/SC_Helper_DB_Test.php

    r18736 r18738  
    5252    } 
    5353 
     54    /** 
     55     * sfIndexExists() のテストケース. 
     56     * 
     57     * XXX MySQL では動作しない 
     58     */ 
    5459    function testSfIndexExists() { 
    5560        $objDb = new SC_Helper_DB_Ex(); 
    56         $this->assertEquals(true, $objDb->sfIndexExists("dtb_products", 
    57                                                         "product_id", 
    58                                                         "dtb_products_product_id_key")); 
     61        if (DB_TYPE == "pgsql") { 
     62            $this->assertEquals(true, $objDb->sfIndexExists("dtb_products", 
     63                                                            "product_id", 
     64                                                            "dtb_products_product_id_key")); 
     65        } 
    5966    } 
    6067} 
Note: See TracChangeset for help on using the changeset viewer.