|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.rational.test.lt.testgen.ui.TestGenUI
public class TestGenUI
Provides a central access point to the UI features of the test generation framework. This class also provides static routines for common operations, label and images.
Constructor Summary | |
---|---|
TestGenUI()
|
Method Summary | |
---|---|
static void |
applyPreferences(TestGenerationConfiguration tgc)
Sets test generation options that are not explicitly specified in the configuration from the preferences. |
static Image |
getTestGeneratorImage(String testGeneratorType)
Returns an image for a given test generator id. |
static String |
getTestGeneratorLabel(String testGeneratorType)
Returns a user-friendly label for a given test generator id. |
static LTTest |
runTestGeneration(TestGenerationConfiguration configuration,
IRecordingSession recordingSession,
Shell shell)
Performs a test generation operation and displays its progress in a modal dialog. |
static LTTest |
runTestGeneration(TestGenerationConfiguration configuration,
Shell shell)
Deprecated. |
static void |
startTestGeneration(TestGenerationConfiguration configuration,
IRecordingSession recordingSession,
Shell shell)
Starts a test generation operation and displays its progress in a modal dialog. |
static void |
startTestGeneration(TestGenerationConfiguration configuration,
Shell shell)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestGenUI()
Method Detail |
---|
public static void startTestGeneration(TestGenerationConfiguration configuration, Shell shell)
configuration
- The description of the test generation operation.shell
- The parent shell of the dialog to be created.TestGenUI.startTestGeneration(TestGenerationConfiguration, IRecordingSession, Shell)
public static void startTestGeneration(TestGenerationConfiguration configuration, IRecordingSession recordingSession, Shell shell)
configuration
- The description of the test generation operation.recordingSession
- The recording session used as test generation input. This parameter
may be null
if the recording session is not password protected and if the
recording session path is specified in the configuration
.shell
- The parent shell of the dialog to be created.public static LTTest runTestGeneration(TestGenerationConfiguration configuration, Shell shell)
configuration
- The description of the test generation operation.shell
- The parent shell of the dialog to be created.
null
if test generation failed or was canceled.TestGenUI.runTestGeneration(TestGenerationConfiguration, IRecordingSession, Shell)
public static LTTest runTestGeneration(TestGenerationConfiguration configuration, IRecordingSession recordingSession, Shell shell)
configuration
- The description of the test generation operation.recordingSession
- The recording session used as test generation input. This parameter
may be null
if the recording session is not password protected and if the
recording session path is specified in the configuration
.shell
- The parent shell of the dialog to be created.
null
if test generation failed or was canceled.public static void applyPreferences(TestGenerationConfiguration tgc)
public static String getTestGeneratorLabel(String testGeneratorType)
testGeneratorType
- A test generator type ID.
public static Image getTestGeneratorImage(String testGeneratorType)
testGeneratorType
- A test generator type ID.
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |