Interface TestProjectReader

All Known Implementing Classes:
SeleneseTestProjectReader, SideTestProjectReader

public interface TestProjectReader
Test project reader.
  • Method Details

    • 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.