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