Changeset 22194 for branches/version-2_12-dev
- Timestamp:
- 2013/01/03 19:18:38 (11 years ago)
- Location:
- branches/version-2_12-dev/tests/class/util/SC_Utils
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_clearCompliedTemplateTest.php
r22193 r22194 54 54 Test_Utils::array_append($this->actual, MOBILE_COMPILE_REALDIR); 55 55 56 $this->verify( );56 $this->verify('コンパイル済みファイルの格納先の中身'); 57 57 } 58 58 -
branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_copyDirectoryTest.php
r22193 r22194 71 71 Test_Utils::array_append($this->actual, Test_Utils::mapCols(SC_Helper_FileManager::sfGetFileList(self::$TMP_DIR . "/dst/dir20"), "file_name")); 72 72 73 $this->verify( );73 $this->verify('コピーされたファイル一覧'); 74 74 } 75 75 … … 89 89 $this->actual = array(); 90 90 91 $this->verify( );91 $this->verify('コピーされたファイル一覧'); 92 92 } 93 93 … … 116 116 Test_Utils::array_append($this->actual, Test_Utils::mapCols(SC_Helper_FileManager::sfGetFileList(self::$TMP_DIR . "/dst/dir20"), "file_name")); 117 117 118 $this->verify( );118 $this->verify('コピー先のファイル一覧'); 119 119 120 120 } … … 151 151 $this->actual[] = $read_result; 152 152 153 $this->verify( );153 $this->verify('コピー先のファイル一覧'); 154 154 155 155 } -
branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_isInternalDomainTest.php
r22193 r22194 45 45 ///////////////////////////////////////// 46 46 public function testsfIsInternalDomain_ドメインが一致する場合_trueが返る() { 47 $url = 'http://test.local/html/index.php'; 47 48 $this->expected = TRUE; 48 $this->actual = SC_Utils::sfIsInternalDomain( 'http://test.local/html/index.php');49 $this->actual = SC_Utils::sfIsInternalDomain($url); 49 50 50 $this->verify( );51 $this->verify($url); 51 52 } 52 53 53 54 public function testsfIsInternalDomain_アンカーを含むURLの場合_trueが返る() { 55 $url = 'http://test.local/html/index.php#hoge'; 54 56 $this->expected = TRUE; 55 $this->actual = SC_Utils::sfIsInternalDomain( 'http://test.local/html/index.php#hoge');57 $this->actual = SC_Utils::sfIsInternalDomain($url); 56 58 57 $this->verify( );59 $this->verify($url); 58 60 } 59 61 60 62 public function testsfIsInternalDomain_ドメインが一致しない場合_falseが返る() { 63 $url = 'http://test.local.jp/html/index.php'; 61 64 $this->expected = TRUE; 62 $this->actual = SC_Utils::sfIsInternalDomain( 'http://test.local.jp/html/index.php');65 $this->actual = SC_Utils::sfIsInternalDomain($url); 63 66 64 $this->verify( );67 $this->verify($url); 65 68 } 66 69 -
branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_recursiveMkDirTest.php
r22193 r22194 56 56 $this->actual = substr(sprintf('%o', fileperms($path)), -4); 57 57 58 $this->verify( );58 $this->verify('作成したディレクトリのパーミッション'); 59 59 } 60 60 … … 66 66 $this->actual = substr(sprintf('%o', fileperms($path)), -4); 67 67 68 $this->verify( );68 $this->verify('作成したディレクトリのパーミッション'); 69 69 } 70 70
Note: See TracChangeset
for help on using the changeset viewer.