Changeset 22567 for branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfArrayIntersectKeysTest.php
- Timestamp:
- 2013/02/18 19:09:54 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfArrayIntersectKeysTest.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class SC_Utils_sfArrayIntersectKeysTest extends Common_TestCase { 34 class SC_Utils_sfArrayIntersectKeysTest extends Common_TestCase 35 { 35 36 36 37 37 protected function setUp() { 38 protected function setUp() 39 { 38 40 parent::setUp(); 39 41 } 40 42 41 protected function tearDown() { 43 protected function tearDown() 44 { 42 45 parent::tearDown(); 43 46 } 44 47 45 48 ///////////////////////////////////////// 46 public function testSfArrayIntersectKeys_指定キーに含まれるものがない場合_空の配列が返る() { 49 public function testSfArrayIntersectKeys_指定キーに含まれるものがない場合_空の配列が返る() 50 { 47 51 $input_array = array('apple' => 'りんご', 'banana' => 'バナナ', 'orange' => 'オレンジ'); 48 52 $key_array = array('kiwi', 'tomato'); … … 54 58 } 55 59 56 public function testSfArrayIntersctKeys_指定キーに含まれるものがある場合_含まれるものだけが返る() { 60 public function testSfArrayIntersctKeys_指定キーに含まれるものがある場合_含まれるものだけが返る() 61 { 57 62 $input_array = array('apple' => 'りんご', 'banana' => 'バナナ', 'orange' => 'オレンジ'); 58 63 $key_array = array('orange', 'apple');
Note: See TracChangeset
for help on using the changeset viewer.