- 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_sfTrimURLTest.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class SC_Utils_sfTrimURLTest extends Common_TestCase { 34 class SC_Utils_sfTrimURLTest 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 testSfTrimURL_URLがスラッシュで終わる場合_スラッシュが取り除かれる() { 49 public function testSfTrimURL_URLがスラッシュで終わる場合_スラッシュが取り除かれる() 50 { 47 51 $input = 'http://www.example.co.jp/'; 48 52 $this->expected = 'http://www.example.co.jp'; … … 51 55 } 52 56 53 public function testSfTrimURL_URL末尾にスラッシュがない場合_文字列に変化がない() { 57 public function testSfTrimURL_URL末尾にスラッシュがない場合_文字列に変化がない() 58 { 54 59 $input = 'http://www.example.co.jp'; 55 60 $this->expected = $input;
Note: See TracChangeset
for help on using the changeset viewer.