Changeset 22796 for branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_getHash2ArrayTest.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_getHash2ArrayTest.php
r22567 r22796 32 32 * @version $Id$ 33 33 */ 34 class SC_Utils_getHash2ArrayTest extends Common_TestCase 35 { 34 class SC_Utils_getHash2ArrayTest 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 testGetHash2Array_必須キー指定がない場合_値のみの配列が返る() 50 { 46 public function testGetHash2Array_必須キー指定がない場合_値のみの配列が返る() { 51 47 $input_array = array('apple' => 'りんご', 'banana' => 'バナナ', 'orange' => 'オレンジ'); 52 48 $this->expected = array('りんご', 'バナナ', 'オレンジ'); … … 56 52 } 57 53 58 public function testGetHash2Array_必須キー指定がある場合_指定キーの値のみの配列が返る() 59 { 54 public function testGetHash2Array_必須キー指定がある場合_指定キーの値のみの配列が返る() { 60 55 $input_array = array('apple' => 'りんご', 'banana' => 'バナナ', 'orange' => 'オレンジ'); 61 56 $requires = array('banana', 'apple');
Note: See TracChangeset
for help on using the changeset viewer.