Package jp.vmi.selenium.selenese.parser
Interface TestProjectReader
-
- All Known Implementing Classes:
SeleneseTestProjectReader,SideTestProjectReader
public interface TestProjectReaderTest project reader.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidaddTestCase(TestCase testCase)Add test-case.StringgetId()Get test-project id.default TestCasegetTestCaseById(String id)Get parsed test-case.TestCaseMapgetTestCaseMap()Get test-case map.TestSuiteIteratorgetTestSuiteIterator()Get test-suite iterator.default voidsetupTestCaseMap(SourceType sourceType, ICommandFactory commandFactory)Setup test-case map.
-
-
-
Method Detail
-
getTestSuiteIterator
TestSuiteIterator getTestSuiteIterator() throws InvalidSeleneseException
Get test-suite iterator.- Returns:
- test-suite iterator.
- Throws:
InvalidSeleneseException- invalid selenese exception.
-
setupTestCaseMap
default void setupTestCaseMap(SourceType sourceType, ICommandFactory commandFactory)
Setup test-case map.- Parameters:
sourceType- source type.commandFactory- command factory.
-
getId
String getId()
Get test-project id.- Returns:
- test-project id.
-
getTestCaseMap
TestCaseMap getTestCaseMap()
Get test-case map.- Returns:
- test-case map.
-
getTestCaseById
default TestCase getTestCaseById(String id)
Get parsed test-case.- Parameters:
id- test-case id.- Returns:
- test-case or null.
-
addTestCase
default void addTestCase(TestCase testCase)
Add test-case.- Parameters:
testCase- test-case.
-
-