-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hook up the new Core Runner (HTMLLauncher) to the main method.
Do this using oodles of reflection so that the use of the Core Runner doesn't require the user to have the leg-rc package installed.
- Loading branch information
Showing
3 changed files
with
121 additions
and
50 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
java/server/src/org/openqa/grid/internal/utils/configuration/CoreRunnerConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.openqa.grid.internal.utils.configuration; | ||
|
||
import com.beust.jcommander.Parameter; | ||
import com.beust.jcommander.converters.StringConverter; | ||
|
||
import java.util.List; | ||
|
||
public class CoreRunnerConfiguration extends StandaloneConfiguration { | ||
@Parameter( | ||
names = "-htmlSuite", | ||
arity = 4, // browser string, base URL, test suite URL, results file | ||
description = "Run your tests as a core runner. Parameters are browser string, " + | ||
"base test url, test suite url, path to results file.", | ||
listConverter = StringConverter.class | ||
) | ||
public List<String> htmlSuite; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters