- Timestamp:
- 07/17/08 15:38:38 (6 months ago)
- Files:
-
- 1 modified
-
trunk/src/Stagehand/TestRunner.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Stagehand/TestRunner.php
r167 r170 202 202 ) { 203 203 if (!is_dir($directory)) { 204 throw new Stagehand_TestRunner_Exception(" ERROR:A specified path [ $directory ] is not found or not a directory.");204 throw new Stagehand_TestRunner_Exception("A specified path [ $directory ] is not found or not a directory."); 205 205 } 206 206 207 207 $directory = realpath($directory); 208 208 if ($directory === false) { 209 throw new Stagehand_TestRunner_Exception(" ERROR:Cannnot get the absolute path of a specified directory [ $directory ]. Make sure all elements of the absolute path have valid permissions.");209 throw new Stagehand_TestRunner_Exception("Cannnot get the absolute path of a specified directory [ $directory ]. Make sure all elements of the absolute path have valid permissions."); 210 210 } 211 211 … … 282 282 PEAR::staticPopErrorHandling(); 283 283 if (PEAR::isError($argv)) { 284 throw new Stagehand_TestRunner_Exception( 'ERROR: ' .preg_replace('/^Console_Getopt: /', '', $argv->getMessage()));284 throw new Stagehand_TestRunner_Exception(preg_replace('/^Console_Getopt: /', '', $argv->getMessage())); 285 285 } 286 286 … … 293 293 PEAR::staticPopErrorHandling(); 294 294 if (PEAR::isError($allOptions)) { 295 throw new Stagehand_TestRunner_Exception( 'ERROR: ' .preg_replace('/^Console_Getopt: /', '', $allOptions->getMessage()));295 throw new Stagehand_TestRunner_Exception(preg_replace('/^Console_Getopt: /', '', $allOptions->getMessage())); 296 296 } 297 297
