|
@@ -27,49 +27,43 @@ import java.util.List; |
|
|
public interface LaunchDefinition { |
|
|
public interface LaunchDefinition { |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Returns the {@link TestDefinition tests} that have to be launched |
|
|
|
|
|
|
|
|
* @return Returns the {@link TestDefinition tests} that have to be launched |
|
|
* |
|
|
* |
|
|
* @return |
|
|
|
|
|
*/ |
|
|
*/ |
|
|
List<TestDefinition> getTests(); |
|
|
List<TestDefinition> getTests(); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Returns the default {@link ListenerDefinition listeners} that will be used |
|
|
|
|
|
|
|
|
* @return Returns the default {@link ListenerDefinition listeners} that will be used |
|
|
* for the tests, if the {@link #getTests() tests} themselves don't specify any |
|
|
* for the tests, if the {@link #getTests() tests} themselves don't specify any |
|
|
* |
|
|
* |
|
|
* @return |
|
|
|
|
|
*/ |
|
|
*/ |
|
|
List<ListenerDefinition> getListeners(); |
|
|
List<ListenerDefinition> getListeners(); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Returns true if a summary needs to be printed out after the execution of the |
|
|
|
|
|
|
|
|
* @return Returns true if a summary needs to be printed out after the execution of the |
|
|
* tests. False otherwise. |
|
|
* tests. False otherwise. |
|
|
* |
|
|
* |
|
|
* @return |
|
|
|
|
|
*/ |
|
|
*/ |
|
|
boolean isPrintSummary(); |
|
|
boolean isPrintSummary(); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Returns true if any remaining tests launch need to be stopped if any test execution |
|
|
|
|
|
|
|
|
* @return Returns true if any remaining tests launch need to be stopped if any test execution |
|
|
* failed. False otherwise. |
|
|
* failed. False otherwise. |
|
|
* |
|
|
* |
|
|
* @return |
|
|
|
|
|
*/ |
|
|
*/ |
|
|
boolean isHaltOnFailure(); |
|
|
boolean isHaltOnFailure(); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Returns the {@link ClassLoader} that has to be used for launching and execution of the |
|
|
|
|
|
|
|
|
* @return Returns the {@link ClassLoader} that has to be used for launching and execution of the |
|
|
* tests |
|
|
* tests |
|
|
* |
|
|
* |
|
|
* @return |
|
|
|
|
|
*/ |
|
|
*/ |
|
|
ClassLoader getClassLoader(); |
|
|
ClassLoader getClassLoader(); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Returns the {@link TestExecutionContext} that will be passed to {@link TestResultFormatter#setContext(TestExecutionContext) |
|
|
|
|
|
|
|
|
* @return Returns the {@link TestExecutionContext} that will be passed to {@link TestResultFormatter#setContext(TestExecutionContext) |
|
|
* result formatters} which are applicable during the execution of the tests. |
|
|
* result formatters} which are applicable during the execution of the tests. |
|
|
* |
|
|
* |
|
|
* @return |
|
|
|
|
|
*/ |
|
|
*/ |
|
|
TestExecutionContext getTestExecutionContext(); |
|
|
TestExecutionContext getTestExecutionContext(); |
|
|
} |
|
|
} |