public interface ITestGeneratorContext
ITestGenerator to
operate.| Modifier and Type | Method and Description |
|---|---|
TestGeneratorConfiguration |
getConfiguration()
Returns the test generator configuration that defines options for this test generator,
if any.
|
IContainer |
getOutputContainer()
Returns the innermost common container (folder or project) of the generated tests.
|
RecorderConfiguration |
getRecorderConfiguration(short recorderId)
Returns the recorder configuration of the recorder with the specified id.
|
RecordingSessionConfiguration |
getRecordingSessionConfiguration()
Returns the recording session configuration that was used to perform
the recording session.
|
ITestStack |
getStack()
Returns the test stack.
|
ITimeReference |
getTimeReference()
Returns the time reference that allows to convert recording timestamps, expressed
in an implementation-dependent but very accurate unit, to times expressed in
milliseconds.
|
void |
logMessage(com.ibm.rational.test.lt.recorder.core.util.LogMessageSeverity severity,
String message)
Logs a message about the conversion.
|
RecorderAnnotation |
resolveAnnotation(IRecorderAnnotationPacket packet)
Returns the recorder annotation associated to the given annotation packet.
|
ITestStack getStack()
IContainer getOutputContainer()
null
if test generation is run with the TestGenerationConfiguration.NO_FILE_OUTPUT_PROPERTY
option set to true.null if test generation is run with the
TestGenerationConfiguration.NO_FILE_OUTPUT_PROPERTY option set to true.TestGeneratorConfiguration getConfiguration()
null if none was provided in
the test generation configuration.RecordingSessionConfiguration getRecordingSessionConfiguration()
RecorderConfiguration getRecorderConfiguration(short recorderId)
recorderId - A recorder id.null if no recorder has the specified id.IRecorderPacket.getRecorderId()void logMessage(com.ibm.rational.test.lt.recorder.core.util.LogMessageSeverity severity,
String message)
severity - The message severitymessage - A messageITimeReference getTimeReference()
RecorderAnnotation resolveAnnotation(IRecorderAnnotationPacket packet)
null. In this case, the annotation packet should be ignored.packet - An annotation packet.© Copyright IBM Corp. 2013. All rights reserved.