Changeset 22796 for branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfRmDupSlashTest.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_sfRmDupSlashTest.php
r22567 r22796 32 32 * @version $Id$ 33 33 */ 34 class SC_Utils_sfRmDupSlashTest extends Common_TestCase 35 { 34 class SC_Utils_sfRmDupSlashTest 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 testSfRmDupSlash_非SSLの場合_スキーマ部分以外の重複スラッシュが1つになる() 50 { 46 public function testSfRmDupSlash_非SSLの場合_スキーマ部分以外の重複スラッシュが1つになる() { 51 47 $input = 'http://www.example.co.jp///aaa//bb/co.php'; 52 48 $this->expected = 'http://www.example.co.jp/aaa/bb/co.php'; … … 56 52 } 57 53 58 public function testSfRmDupSlash_SSLの場合_スキーマ部分以外の重複スラッシュが1つになる() 59 { 54 public function testSfRmDupSlash_SSLの場合_スキーマ部分以外の重複スラッシュが1つになる() { 60 55 $input = 'https://www.example.co.jp///aaa//bb/co.php'; 61 56 $this->expected = 'https://www.example.co.jp/aaa/bb/co.php'; … … 65 60 } 66 61 67 public function testSfRmDupSlash_上記以外の場合_すべての重複スラッシュが1つになる() 68 { 62 public function testSfRmDupSlash_上記以外の場合_すべての重複スラッシュが1つになる() { 69 63 $input = 'hoge//www.example.co.jp///aaa//bb/co.php'; 70 64 $this->expected = 'hoge/www.example.co.jp/aaa/bb/co.php';
Note: See TracChangeset
for help on using the changeset viewer.