- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/test/class/util/SC_Utils_Test.php
r22567 r22796 33 33 * @version $Id:LC_Page_Test.php 15116 2007-07-23 11:32:53Z nanasess $ 34 34 */ 35 class SC_Utils_Test extends PHPUnit_Framework_TestCase 36 { 35 class SC_Utils_Test extends PHPUnit_Framework_TestCase { 37 36 38 37 // }}} … … 44 43 * 変換無し 45 44 */ 46 function testGetRealURL_変換無し() 47 { 45 function testGetRealURL_変換無し() { 48 46 $url = "http://www.example.jp/admin/index.php"; 49 47 … … 54 52 } 55 53 56 function testGetRealURL_変換有() 57 { 54 function testGetRealURL_変換有() { 58 55 $url = "http://www.example.jp/admin/../index.php"; 59 56 … … 64 61 } 65 62 66 function testGetRealURL_空のディレクトリ() 67 { 63 function testGetRealURL_空のディレクトリ() { 68 64 $url = "http://www.example.jp/admin/..///index.php"; 69 65 … … 74 70 } 75 71 76 function testGetRealURL_Dotのディレクトリ() 77 { 72 function testGetRealURL_Dotのディレクトリ() { 78 73 $url = "http://www.example.jp/admin/././../index.php"; 79 74 … … 84 79 } 85 80 86 function testIsBlank() 87 { 81 function testIsBlank() { 88 82 $val = ""; 89 83 $this->assertTrue(SC_Utils::isBlank($val)); … … 128 122 } 129 123 130 function testIsAbsoluteRealPath() 131 { 124 function testIsAbsoluteRealPath() { 132 125 // for *NIX 133 126 if (strpos(PHP_OS, 'WIN') === false) { … … 155 148 } 156 149 157 function testRecursiveMkdir() 158 { 150 function testRecursiveMkdir() { 159 151 $tmp_dir = sys_get_temp_dir(); 160 152 $dir = '/foo/bar';
Note: See TracChangeset
for help on using the changeset viewer.