Ignore:
Timestamp:
2013/02/18 19:09:54 (14 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/SC_Date/SC_Date_getMonthTest.php

    r22206 r22567  
    2525require_once($HOME . "/tests/class/Common_TestCase.php"); 
    2626 
    27 class SC_Date_getMonthTest extends Common_TestCase { 
     27class SC_Date_getMonthTest extends Common_TestCase 
     28{ 
    2829 
    29     protected function setUp() { 
     30    protected function setUp() 
     31    { 
    3032        parent::setUp(); 
    3133        $this->objDate = new SC_Date_Ex(); 
    3234    } 
    3335 
    34     protected function tearDown() { 
     36    protected function tearDown() 
     37    { 
    3538        parent::tearDown(); 
    3639    } 
     
    3841    ///////////////////////////////////////// 
    3942 
    40     public function testGetMonth_要素の数が12の配列を返す() { 
     43    public function testGetMonth_要素の数が12の配列を返す() 
     44    { 
    4145        $this->expected = 12; 
    4246        $this->actual = count($this->objDate->getMonth()); 
     
    4549    } 
    4650 
    47     public function testGetMonth_要素の最低値が1の配列を返す() { 
     51    public function testGetMonth_要素の最低値が1の配列を返す() 
     52    { 
    4853        $this->expected = 1; 
    4954        $this->actual = min($this->objDate->getMonth()); 
     
    5257    } 
    5358 
    54     public function testGetMonth_要素の最大値が12の配列を返す() { 
     59    public function testGetMonth_要素の最大値が12の配列を返す() 
     60    { 
    5561        $this->expected = 12; 
    5662        $this->actual = max($this->objDate->getMonth()); 
     
    5965    } 
    6066 
    61     public function testGetMonth_TRUEを与えた場合要素の数が13の配列を返す() { 
     67    public function testGetMonth_TRUEを与えた場合要素の数が13の配列を返す() 
     68    { 
    6269        $this->expected = 13; 
    6370        $this->actual = count($this->objDate->getMonth(true)); 
     
    6673    } 
    6774 
    68     public function testGetMonth_TRUEを与えた場合ーー含まれるの配列を返す() { 
     75    public function testGetMonth_TRUEを与えた場合ーー含まれるの配列を返す() 
     76    { 
    6977        $result = in_array('--', $this->objDate->getMonth(true)); 
    7078 
Note: See TracChangeset for help on using the changeset viewer.