Changeset 18737


Ignore:
Timestamp:
2010/06/23 11:21:50 (11 years ago)
Author:
nanasess
bzr:base-revision:
ohkouchi@loop-az.jp-20100621044938-jqzvlmo45iow1zrr
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-20100623022146-0zy5htqn96ust7uf
bzr:revno:
1977
bzr:revprop:branch-nick:
branches/version-2_4-dev
bzr:root:
branches/version-2_4-dev
bzr:text-parents:

test/TestSuite.php ohkouchi@loop-az.jp-20100614081324-0g78bhcmvqs3d6ts
test/class/helper/SC_Helper_DB_Test.php ohkouchi@loop-az.jp-20100614081324-0g78bhcmvqs3d6ts
bzr:timestamp:
2010-06-23 11:21:46.744999886 +0900
bzr:user-agent:
bzr2.1.2+bzr-svn1.0.2
svn:original-date:
2010-06-23T02:21:46.745000Z
Message:
  • SC_Utils_Test 追加
  • MySQLで動作しないテストを修正
Location:
branches/version-2_4-dev/test
Files:
3 added
2 edited

Legend:

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

    r18699 r18737  
    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-dev/test/class/helper/SC_Helper_DB_Test.php

    r18699 r18737  
    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.