Changeset 22567 for branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfGetTimestampTest.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_sfGetTimestampTest.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class SC_Utils_sfGetTimestampTest extends Common_TestCase { 34 class SC_Utils_sfGetTimestampTest extends Common_TestCase 35 { 35 36 36 37 37 protected function setUp() { 38 protected function setUp() 39 { 38 40 parent::setUp(); 39 41 } 40 42 41 protected function tearDown() { 43 protected function tearDown() 44 { 42 45 parent::tearDown(); 43 46 } 44 47 45 48 ///////////////////////////////////////// 46 public function testSfGetTimestamp_年が設定されていない場合_0バイト文字列が返る() { 49 public function testSfGetTimestamp_年が設定されていない場合_0バイト文字列が返る() 50 { 47 51 $year = ''; 48 52 $month = '10'; … … 54 58 } 55 59 56 public function testSfGetTimestamp_月が設定されていない場合_0バイト文字列が返る() { 60 public function testSfGetTimestamp_月が設定されていない場合_0バイト文字列が返る() 61 { 57 62 $year = '2012'; 58 63 $month = ''; … … 64 69 } 65 70 66 public function testSfGetTimestamp_日が設定されていない場合_0バイト文字列が返る() { 71 public function testSfGetTimestamp_日が設定されていない場合_0バイト文字列が返る() 72 { 67 73 $year = '1999'; 68 74 $month = '09'; … … 74 80 } 75 81 76 public function testSfGetTimestamp_年月日すべて設定されている場合_連結された文字列が返る() { 82 public function testSfGetTimestamp_年月日すべて設定されている場合_連結された文字列が返る() 83 { 77 84 $year = '1999'; 78 85 $month = '09'; … … 85 92 } 86 93 87 public function testSfGetTimestamp_最終時刻フラグがONの場合_時刻が深夜のものになる() { 94 public function testSfGetTimestamp_最終時刻フラグがONの場合_時刻が深夜のものになる() 95 { 88 96 $year = '1999'; 89 97 $month = '09';
Note: See TracChangeset
for help on using the changeset viewer.