Package jp.vmi.selenium.selenese.parser
Class SeleneseTestProjectReader
- java.lang.Object
-
- jp.vmi.selenium.selenese.parser.SeleneseTestProjectReader
-
- All Implemented Interfaces:
TestProjectReader
public class SeleneseTestProjectReader extends Object implements TestProjectReader
Test project of Selenese format.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Get test-project id.TestCaseMapgetTestCaseMap()Get test-case map.TestSuiteIteratorgetTestSuiteIterator()Get test-suite iterator.static SeleneseTestProjectReadernewInstance(String filename, InputStream is)Create new instance of SeleneseTestProjectReader.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jp.vmi.selenium.selenese.parser.TestProjectReader
addTestCase, getTestCaseById, setupTestCaseMap
-
-
-
-
Method Detail
-
newInstance
public static SeleneseTestProjectReader newInstance(String filename, InputStream is) throws InvalidSeleneseException
Create new instance of SeleneseTestProjectReader.- Parameters:
filename- filename of Selense. (label)is- input stream of script file. (test-case or test-suite)- Returns:
- test-project.
- Throws:
InvalidSeleneseException- invalid selenese exception.
-
getTestSuiteIterator
public TestSuiteIterator getTestSuiteIterator() throws InvalidSeleneseException
Description copied from interface:TestProjectReaderGet test-suite iterator.- Specified by:
getTestSuiteIteratorin interfaceTestProjectReader- Returns:
- test-suite iterator.
- Throws:
InvalidSeleneseException- invalid selenese exception.
-
getId
public String getId()
Description copied from interface:TestProjectReaderGet test-project id.- Specified by:
getIdin interfaceTestProjectReader- Returns:
- test-project id.
-
getTestCaseMap
public TestCaseMap getTestCaseMap()
Description copied from interface:TestProjectReaderGet test-case map.- Specified by:
getTestCaseMapin interfaceTestProjectReader- Returns:
- test-case map.
-
-