Package jp.vmi.selenium.selenese
Class Main
- java.lang.Object
-
- jp.vmi.selenium.selenese.Main
-
public class Main extends Object
Provide command line interface.
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROG_TITLEProgram title
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexit(Result.Level exitLevel)IntegergetExitCode()Get exit code.static StringgetVersion()Get version of Selenese Runner.static voidmain(String[] args)Selenese Runner main.voidrun(String[] args)Start Selenese Runner.voidsetupRunner(Runner runner, IConfig config, String... filenames)Setup Runner by configuration.
-
-
-
Field Detail
-
PROG_TITLE
public static final String PROG_TITLE
Program title- See Also:
- Constant Field Values
-
-
Method Detail
-
getVersion
public static String getVersion()
Get version of Selenese Runner.This information is provided by maven generated property file.
- Returns:
- version string.
-
run
public void run(String[] args)
Start Selenese Runner.- Parameters:
args- command line arguments.
-
setupRunner
public void setupRunner(Runner runner, IConfig config, String... filenames)
Setup Runner by configuration.- Parameters:
runner- Runner object.config- configuration.filenames- filenames of test-suites/test-cases.
-
exit
protected void exit(Result.Level exitLevel)
-
getExitCode
public Integer getExitCode()
Get exit code.- Returns:
- exit code, or null if don't end.
-
main
public static void main(String[] args)
Selenese Runner main.- Parameters:
args- command line arguments.
-
-