1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.model.testsuite;
14
15 import com.eviware.soapui.model.ModelItem;
16 import com.eviware.soapui.model.project.Project;
17
18 /***
19 * A TestSuite holding a number of TestCases
20 *
21 * @author Ole.Matzura
22 */
23
24 public interface TestSuite extends ModelItem
25 {
26 public final static String RUNTYPE_PROPERTY = ModelItem.class.getName() + "@runtype";
27
28 public Project getProject();
29
30 public int getTestCaseCount();
31
32 public TestCase getTestCaseAt( int index );
33
34 public TestCase getTestCaseByName( String testCaseName );
35
36 public void addTestSuiteListener( TestSuiteListener listener );
37
38 public void removeTestSuiteListener( TestSuiteListener listener );
39
40 public enum TestSuiteRunType { PARALLEL, SEQUENTIAL };
41
42 public TestSuiteRunType getRunType();
43 }