Package jp.vmi.selenium.selenese
Class Parser
- java.lang.Object
-
- jp.vmi.selenium.selenese.Parser
-
public abstract class Parser extends Object
Abstract class of selenese parser.
-
-
Constructor Summary
Constructors Constructor Description Parser()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static Seleneseparse(String filename, InputStream is, ICommandFactory commandFactory)Parse input stream.static Seleneseparse(String filename, ICommandFactory commandFactory)Parse file.protected abstract Seleneseparse(ICommandFactory commandFactory)
-
-
-
Method Detail
-
parse
public static Selenese parse(String filename, InputStream is, ICommandFactory commandFactory)
Parse input stream.- Parameters:
filename- selenese script file. (Don't use to open a file. It is used as a label and is used to generate filenames based on it)is- input stream of script file. (test-case or test-suite)commandFactory- command factory.- Returns:
- TestCase or TestSuite.
-
parse
public static Selenese parse(String filename, ICommandFactory commandFactory)
Parse file.- Parameters:
filename- selenese script file. (test-case or test-suite)commandFactory- command factory.- Returns:
- TestCase or TestSuite.
-
parse
protected abstract Selenese parse(ICommandFactory commandFactory)
-
-