Changeset 5786
- Timestamp:
- 11/01/07 05:15:03 (6 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfPHPUnitPlugin/config/settings.yml
r5418 r5786 1 1 all: 2 selenium :3 port: 44442 selenium_rc: 3 port: 5454 4 4 host: localhost 5 browser: *firefox plugins/sfPHPUnitPlugin/data/tasks/sfPakePHPUnit.php
r5439 r5786 100 100 $phpUnitPath = realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . '/lib/PHPUnit'); 101 101 set_include_path($phpUnitPath . PATH_SEPARATOR . get_include_path()); 102 103 _init_symfony(); 102 104 } 103 105 104 106 function _init_selenium() 105 107 { 106 _init_symfony(); 107 108 $host = sfConfig::get('sf_selenium_host'); 109 $port = sfConfig::get('sf_selenium_port'); 108 $host = sfConfig::get('sf_selenium_rc_host'); 109 $port = sfConfig::get('sf_selenium_rc_port'); 110 110 111 111 // probe for selenium running externally … … 170 170 function _start_selenium($jar_path) 171 171 { 172 $cmd = "java -jar $jar_path"; 172 $args = ' -port ' . sfConfig::get('sf_selenium_rc_port'); 173 $cmd = "java -jar $jar_path" . $args; 173 174 $cmd = escapeshellcmd($cmd); 174 175