Changeset 22567 for branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfGetCommaListTest.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_sfGetCommaListTest.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class SC_Utils_sfGetCommaListTest extends Common_TestCase { 34 class SC_Utils_sfGetCommaListTest extends Common_TestCase 35 { 35 36 36 protected function setUp() { 37 protected function setUp() 38 { 37 39 parent::setUp(); 38 40 } 39 41 40 protected function tearDown() { 42 protected function tearDown() 43 { 41 44 parent::tearDown(); 42 45 } 43 46 44 47 ///////////////////////////////////////// 45 public function testSfGetCommaList_配列が空の場合_FALSEが返る() { 48 public function testSfGetCommaList_配列が空の場合_FALSEが返る() 49 { 46 50 $this->expected = FALSE; 47 51 $this->actual = SC_Utils::sfGetCommaList(array()); … … 50 54 } 51 55 52 public function testSfGetCommaList_スペースフラグが立っている場合_スペース付きで連結される() { 56 public function testSfGetCommaList_スペースフラグが立っている場合_スペース付きで連結される() 57 { 53 58 $this->expected = 'りんご, ミカン, バナナ'; 54 59 $this->actual = SC_Utils::sfGetCommaList( … … 60 65 } 61 66 62 public function testSfGetCommaList_スペースフラグが倒れている場合_スペース付きで連結される() { 67 public function testSfGetCommaList_スペースフラグが倒れている場合_スペース付きで連結される() 68 { 63 69 $this->expected = 'りんご,ミカン,バナナ'; 64 70 $this->actual = SC_Utils::sfGetCommaList( … … 71 77 72 78 // TODO 要確認:arrpopの役割 73 public function testSfGetCommaList_除外リストが指定されている場合_スペース付きで連結される() { 79 public function testSfGetCommaList_除外リストが指定されている場合_スペース付きで連結される() 80 { 74 81 $this->expected = 'りんご, バナナ'; 75 82 $this->actual = SC_Utils::sfGetCommaList(
Note: See TracChangeset
for help on using the changeset viewer.