Package jp.vmi.selenium.selenese.parser
Interface TestProjectReader
- All Known Implementing Classes:
SeleneseTestProjectReader,SideTestProjectReader
public interface TestProjectReader
Test project reader.
-
Method Summary
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 Details
-
getTestSuiteIterator
Get test-suite iterator.- Returns:
- test-suite iterator.
- Throws:
InvalidSeleneseException- invalid selenese exception.
-
setupTestCaseMap
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
Get parsed test-case.- Parameters:
id- test-case id.- Returns:
- test-case or null.
-
addTestCase
Add test-case.- Parameters:
testCase- test-case.
-