public class TestGenerator extends Object
test generation configuration
.Constructor and Description |
---|
TestGenerator(TestGenerationConfiguration configuration,
IRecordingSession recordingSession,
ITestGeneratorLog log)
Instantiates a new test generator.
|
Modifier and Type | Method and Description |
---|---|
LTTest |
generateTest(IProgressMonitor monitor)
Performs test generation and returns the main output test (i.e. the test without any split).
|
TestGenerationConfiguration |
getConfiguration()
Returns the test generation configuration performed by this test generator.
|
List<IFile> |
getOutputFiles()
Returns the files generated by the test generation process.
|
public TestGenerator(TestGenerationConfiguration configuration, IRecordingSession recordingSession, ITestGeneratorLog log) throws CoreException
configuration
- The specification of the test generation.log
- A log where any message will be reported during the test generation.CoreException
public LTTest generateTest(IProgressMonitor monitor) throws CoreException
TestGenerator.getOutputFiles()
.monitor
- A progress monitor.null
if the operation was cancelled.CoreException
- If a problem occurs, because of I/O issue, because the recording session
is invalid, or because a contributor (test generator or converter) reported a fatal error.public List<IFile> getOutputFiles()
TestGenerationConfiguration.NO_FILE_OUTPUT_PROPERTY
).public final TestGenerationConfiguration getConfiguration()
© Copyright IBM Corp. 2013. All rights reserved.