Ignore:
Timestamp:
2013/02/18 19:09:54 (11 years ago)
Author:
shutta
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.12.4)
Zend Framework PHP 標準コーディング規約のコーディングスタイルへ準拠。
classおよびfunctionの開始波括弧「{」のスタイルを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_repeatStrWithSeparatorTest.php

    r22206 r22567  
    3232 * @version $Id$ 
    3333 */ 
    34 class SC_Utils_repeatStrWithSeparatorTest extends Common_TestCase { 
     34class SC_Utils_repeatStrWithSeparatorTest extends Common_TestCase 
     35{ 
    3536 
    36   protected function setUp() { 
     37  protected function setUp() 
     38  { 
    3739    parent::setUp(); 
    3840  } 
    3941 
    40   protected function tearDown() { 
     42  protected function tearDown() 
     43  { 
    4144    parent::tearDown(); 
    4245  } 
    4346 
    4447  ///////////////////////////////////////// 
    45   public function testRepeatStrWithSeparator_反復回数が0回の場合_結果が0バイト文字列になる() { 
     48  public function testRepeatStrWithSeparator_反復回数が0回の場合_結果が0バイト文字列になる() 
     49  { 
    4650    $this->expected = ''; 
    4751    $this->actual = SC_Utils::repeatStrWithSeparator('ECサイト', 0, '#'); 
     
    5054  } 
    5155 
    52   public function testRepeatStrWithSeparator_反復回数が1回の場合_区切り文字が入らない() { 
     56  public function testRepeatStrWithSeparator_反復回数が1回の場合_区切り文字が入らない() 
     57  { 
    5358    $this->expected = 'ECサイト'; 
    5459    $this->actual = SC_Utils::repeatStrWithSeparator('ECサイト', 1, '#'); 
     
    5762  } 
    5863 
    59   public function testRepeatStrWithSeparator_反復回数が2回以上の場合_区切り文字が入って出力される() { 
     64  public function testRepeatStrWithSeparator_反復回数が2回以上の場合_区切り文字が入って出力される() 
     65  { 
    6066    $this->expected = 'ECサイト#ECサイト#ECサイト#ECサイト#ECサイト'; 
    6167    $this->actual = SC_Utils::repeatStrWithSeparator('ECサイト', 5, '#'); 
     
    6470  } 
    6571 
    66   public function testRepeatStrWithSeparator_区切り文字が未指定の場合_カンマ区切りとなる() { 
     72  public function testRepeatStrWithSeparator_区切り文字が未指定の場合_カンマ区切りとなる() 
     73  { 
    6774    $this->expected = 'ECサイト,ECサイト,ECサイト'; 
    6875    $this->actual = SC_Utils::repeatStrWithSeparator('ECサイト', 3); 
Note: See TracChangeset for help on using the changeset viewer.