Changeset 22796 for branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfNoImageMainTest.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_sfNoImageMainTest.php
r22567 r22796 32 32 * @version $Id$ 33 33 */ 34 class SC_Utils_sfNoImageMainTest extends Common_TestCase 35 { 34 class SC_Utils_sfNoImageMainTest 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 testSfNoImageMain_ファイル名が空の場合_デフォルトのファイル名が返る() 50 { 46 public function testSfNoImageMain_ファイル名が空の場合_デフォルトのファイル名が返る() { 51 47 $this->expected = 'noimage_main.png'; 52 48 $this->actual = SC_Utils::sfNoImageMain(''); … … 55 51 } 56 52 57 public function testSfNoImageMain_ディレクトリが指定されている場合_そのディレクトリ以下でデフォルトのファイル名が返る() 58 { 53 public function testSfNoImageMain_ディレクトリが指定されている場合_そのディレクトリ以下でデフォルトのファイル名が返る() { 59 54 $this->expected = 'aaa/bbb/noimage_main.png'; 60 55 $this->actual = SC_Utils::sfNoImageMain('aaa/bbb/'); … … 63 58 } 64 59 65 public function testSfNoImageMain_ファイル名が指定されている場合_指定されたファイル名が返る() 66 { 60 public function testSfNoImageMain_ファイル名が指定されている場合_指定されたファイル名が返る() { 67 61 $this->expected = 'aaa/bbb/ccc.png'; 68 62 $this->actual = SC_Utils::sfNoImageMain('aaa/bbb/ccc.png');
Note: See TracChangeset
for help on using the changeset viewer.