Author: konstantin.mishin
Date: 2008-12-04 13:37:08 -0500 (Thu, 04 Dec 2008)
New Revision: 11565
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/SeleniumTestBase.java
Log:
RF-5197
only for test
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/SeleniumTestBase.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/SeleniumTestBase.java 2008-12-04
18:03:41 UTC (rev 11564)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/SeleniumTestBase.java 2008-12-04
18:37:08 UTC (rev 11565)
@@ -141,31 +141,6 @@
@BeforeClass
@Parameters({"browser", "filterPrefix"})
public void startSelenium(String browser, String filterPrefix) {
- String[] paths = {"/usr/lib/firefox-1.0.4/firefox",
- "/usr/lib/firefox-1.5.0.10/firefox",
- "/usr/lib/firefox-1.5.0.12/firefox",
- "/usr/lib64/firefox-1.5.0.12/firefox",
- "/usr/lib/firefox-3.0b5/firefox",
- "/usr/lib64/firefox-3.0b5/firefox",
- "/usr/lib/firefox-3.0.1/firefox",
- "/usr/lib64/firefox-3.0.1/firefox",
- "/usr/lib/firefox/firefox",
- "/opt/MozillaFirefox/lib/firefox"
- };
- if ("*firefox".equals(browser)) {
- for (int i = 0; i < paths.length &&
"*firefox".equals(browser); i++) {
- String path = paths[i] + "-bin";
- File file = new File(path);
- if (file.isFile()) {
- browser += " " + path;
- } /*else {
- file = new File(path + "-bin");
- if (file.isFile()) {
- browser += " " + path + "-bin";
- }
- }*/
- }
- }
synchronized (MUTEX) {
this.filterPrefix = filterPrefix;
selenium = createSeleniumClient(protocol + "://" + host +
":" + port + "/", browser);
Show replies by date