Changeset 22796 for branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfTermMonthTest.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_sfTermMonthTest.php
r22567 r22796 32 32 * @version $Id$ 33 33 */ 34 class SC_Utils_sfTermMonthTest extends Common_TestCase 35 { 34 class SC_Utils_sfTermMonthTest 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 testSfTermMonth_締め日が月末より早い場合_設定した締め日の通りになる() 50 { 46 public function testSfTermMonth_締め日が月末より早い場合_設定した締め日の通りになる() { 51 47 $this->expected = array('2012/9/16', '2012/10/15 23:59:59'); 52 48 $this->actual = SC_Utils::sfTermMonth(2012, 10, 15); … … 55 51 } 56 52 57 public function testSfTermMonth_該当月の末日が締め日より早い場合_末日に合わせられる() 58 { 53 public function testSfTermMonth_該当月の末日が締め日より早い場合_末日に合わせられる() { 59 54 $this->expected = array('2012/9/1', '2012/9/30 23:59:59'); 60 55 $this->actual = SC_Utils::sfTermMonth(2012, 9, 31); … … 63 58 } 64 59 65 public function testSfTermMonth_前月の末日が締め日より早い場合_末日に合わせられる() 66 { 60 public function testSfTermMonth_前月の末日が締め日より早い場合_末日に合わせられる() { 67 61 $this->expected = array('2012/10/1', '2012/10/31 23:59:59'); 68 62 $this->actual = SC_Utils::sfTermMonth(2012, 10, 31); … … 71 65 } 72 66 73 public function testSfTermMonth_年をまたぐ場合_前月が前年十二月になる() 74 { 67 public function testSfTermMonth_年をまたぐ場合_前月が前年十二月になる() { 75 68 $this->expected = array('2012/12/16', '2013/1/15 23:59:59'); 76 69 $this->actual = SC_Utils::sfTermMonth(2013, 1, 15);
Note: See TracChangeset
for help on using the changeset viewer.