- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/tests/class/SC_Date/SC_Date_AccessorTest.php
r22567 r22796 25 25 require_once($HOME . "/tests/class/Common_TestCase.php"); 26 26 27 class SC_Date_AccessorTest extends Common_TestCase 28 { 27 class SC_Date_AccessorTest extends Common_TestCase { 29 28 30 protected function setUp() 31 { 29 protected function setUp() { 32 30 parent::setUp(); 33 31 $this->objDate = new SC_Date_Ex('2010','2014'); 34 32 } 35 33 36 protected function tearDown() 37 { 34 protected function tearDown() { 38 35 parent::tearDown(); 39 36 } … … 41 38 ///////////////////////////////////////// 42 39 43 public function testGetStartYear_startYearの値を取得する() 44 { 40 public function testGetStartYear_startYearの値を取得する() { 45 41 $this->expected = '2010'; 46 42 $this->actual = $this->objDate->getStartYear(); … … 49 45 } 50 46 51 public function testGetEndYear_endYearの値を取得する() 52 { 47 public function testGetEndYear_endYearの値を取得する() { 53 48 $this->expected = '2014'; 54 49 $this->actual = $this->objDate->getEndYear(); … … 57 52 } 58 53 59 public function testsetMonth_monthの値を設定する() 60 { 54 public function testsetMonth_monthの値を設定する() { 61 55 $this->expected = '9'; 62 56 $this->objDate->setMonth('9'); … … 66 60 } 67 61 68 public function testsetDay_dayの値を設定する() 69 { 62 public function testsetDay_dayの値を設定する() { 70 63 $this->expected = '28'; 71 64 $this->objDate->setDay('28');
Note: See TracChangeset
for help on using the changeset viewer.