Changeset 22796 for branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfArrCombineTest.php
- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfArrCombineTest.php
r22567 r22796 32 32 * @version $Id$ 33 33 */ 34 class SC_Utils_sfArrCombineTest extends Common_TestCase 35 { 34 class SC_Utils_sfArrCombineTest extends Common_TestCase { 36 35 37 36 38 protected function setUp() 39 { 37 protected function setUp() { 40 38 // parent::setUp(); 41 39 } 42 40 43 protected function tearDown() 44 { 41 protected function tearDown() { 45 42 // parent::tearDown(); 46 43 } 47 44 48 45 ///////////////////////////////////////// 49 public function testSfArrCombine_入力の配列が空の場合_結果も空になる() 50 { 46 public function testSfArrCombine_入力の配列が空の場合_結果も空になる() { 51 47 $keys = array(); 52 48 $values = array(); … … 59 55 60 56 // TODO 要確認 キーの方が短い場合はエラーで良いのでは? 61 public function testSfArrCombine_入力のキー配列の方が短い場合_余った値の配列の要素は無視される() 62 { 57 public function testSfArrCombine_入力のキー配列の方が短い場合_余った値の配列の要素は無視される() { 63 58 $keys = array('apple', 'banana'); 64 59 $values = array('りんご', 'バナナ', 'オレンジ', '梨'); … … 74 69 } 75 70 76 public function testSfArrCombine_入力のキー配列の方が長い場合_余ったキーの配列の要素は空になる() 77 { 71 public function testSfArrCombine_入力のキー配列の方が長い場合_余ったキーの配列の要素は空になる() { 78 72 $keys = array('apple', 'banana', 'orange', 'pear'); 79 73 $values = array('りんご', 'バナナ');
Note: See TracChangeset
for help on using the changeset viewer.