public class TestExecutor
extends java.lang.Object
This class is a man in the middle to execute test cases based on the OS
This class constructors are private and can be accessed using instance
AbstractTestRunner,
WindowsTestRunner,
LinuxTestRunner| Modifier and Type | Field and Description |
|---|---|
static TestExecutor |
instance
Singleton instance [eager]
|
| Modifier and Type | Method and Description |
|---|---|
<T extends AbstractMutant> |
execute(java.util.List<T> mutants,
java.lang.String originalFile,
java.lang.String testCasesPath,
java.util.Set<MessageListener> messageListeners) |
<T extends AbstractMutant> |
execute(Population<T> population,
java.lang.String originalFile,
java.lang.String testCasesPath,
java.util.Set<MessageListener> messageListeners) |
public static final TestExecutor instance
public <T extends AbstractMutant> void execute(Population<T> population, java.lang.String originalFile, java.lang.String testCasesPath, java.util.Set<MessageListener> messageListeners)
T - The type of Population.population - to be executedoriginalFile - file underExecutiontestCasesPath - path to test casesmessageListeners - for loggingpublic <T extends AbstractMutant> void execute(java.util.List<T> mutants, java.lang.String originalFile, java.lang.String testCasesPath, java.util.Set<MessageListener> messageListeners)
T - The type of mutants.mutants - to be executedoriginalFile - file underExecutiontestCasesPath - path to test casesmessageListeners - for logging