Package jp.vmi.selenium.selenese.parser
Class SideTestProjectReader
- java.lang.Object
-
- jp.vmi.selenium.selenese.parser.SideTestProjectReader
-
- All Implemented Interfaces:
TestProjectReader
public class SideTestProjectReader extends Object implements TestProjectReader
Test project of SideFile 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 SideTestProjectReadernewInstance(String filename, InputStream is)Create new instance of SideTestProjectReader.voidsetupTestCaseMap(SourceType sourceType, ICommandFactory commandFactory)Setup test-case map.-
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
-
-
-
-
Method Detail
-
newInstance
public static SideTestProjectReader newInstance(String filename, InputStream is) throws InvalidSeleneseException
Create new instance of SideTestProjectReader.- Parameters:
filename- side 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 *.side file.- 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.
-
setupTestCaseMap
public void setupTestCaseMap(SourceType sourceType, ICommandFactory commandFactory)
Description copied from interface:TestProjectReaderSetup test-case map.- Specified by:
setupTestCaseMapin interfaceTestProjectReader- Parameters:
sourceType- source type.commandFactory- command factory.
-
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.
-
-