Changeset 18737
- Timestamp:
- 2010/06/23 11:21:50 (13 years ago)
- 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
- 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 27 27 require_once("class/db/DB_AllTests.php"); 28 28 require_once("class/helper/Helper_AllTests.php"); 29 require_once("class/util/Util_AllTests.php"); 29 30 require_once("PHPUnit/Framework.php"); 30 31 … … 42 43 $suite->addTest(DB_AllTests::suite()); 43 44 $suite->addTest(Helper_AllTests::suite()); 45 $suite->addTest(Util_AllTests::suite()); 44 46 return $suite; 45 47 } -
branches/version-2_4-dev/test/class/helper/SC_Helper_DB_Test.php
r18699 r18737 52 52 } 53 53 54 /** 55 * sfIndexExists() のテストケース. 56 * 57 * XXX MySQL では動作しない 58 */ 54 59 function testSfIndexExists() { 55 60 $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 } 59 66 } 60 67 }
Note: See TracChangeset
for help on using the changeset viewer.