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
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, waitMethods inherited from interface jp.vmi.selenium.selenese.parser.TestProjectReader
addTestCase, getTestCaseById, setupTestCaseMap
-
Method Details
-
newInstance
public static SeleneseTestProjectReader newInstance(String filename, InputStream is) throws InvalidSeleneseExceptionCreate 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
Description copied from interface:TestProjectReaderGet test-suite iterator.- Specified by:
getTestSuiteIteratorin interfaceTestProjectReader- Returns:
- test-suite iterator.
- Throws:
InvalidSeleneseException- invalid selenese exception.
-
getId
Description copied from interface:TestProjectReaderGet test-project id.- Specified by:
getIdin interfaceTestProjectReader- Returns:
- test-project id.
-
getTestCaseMap
Description copied from interface:TestProjectReaderGet test-case map.- Specified by:
getTestCaseMapin interfaceTestProjectReader- Returns:
- test-case map.
-