Changeset 8078
- Timestamp:
- 07/08/10 20:41:19 (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UnitTestContrib/test/unit/FoswikiSeleniumTestCase.pm
r8076 r8078 99 99 my @set = $this->SUPER::list_tests($suite); 100 100 101 unless ( $Foswiki::cfg{UnitTestContrib}{SeleniumRc}{Browsers} ) { 102 print STDERR "There are no browsers configured in " 103 . "\$Foswiki::cfg{UnitTestContrib}{SeleniumRc}{Browsers}, " 104 . "skipping Selenium-based tests\n"; 105 return; 106 } 107 101 108 if ( $this->{useSeleniumError} ) { 102 109 print STDERR 103 "Cannot run Selenium-based tests: $this->{useSeleniumError} ";110 "Cannot run Selenium-based tests: $this->{useSeleniumError}\n"; 104 111 return; 105 112 } … … 110 117 my ( $this, $suite ) = @_; 111 118 119 unless ( $Foswiki::cfg{UnitTestContrib}{SeleniumRc}{Browsers} ) { 120 121 # Message is already reported from list_tests - no need to do it twice 122 return; 123 } 124 112 125 if ( $this->{useSeleniumError} ) { 113 print STDERR 114 "Cannot run Selenium-based tests: $this->{useSeleniumError}";126 127 # Message is already reported from list_tests - no need to do it twice 115 128 return; 116 129 }
Note: See TracChangeset
for help on using the changeset viewer.
