public class TestGenUI extends Object
Constructor and Description |
---|
TestGenUI() |
Modifier and Type | Method and Description |
---|---|
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 void |
openNewTestFromFromRecordingWizard(IWorkbenchWindow window)
Opens the "New Test From Recording" wizard.
|
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.
|
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.public static void openNewTestFromFromRecordingWizard(IWorkbenchWindow window)
window
- The parent workbench window of the wizard.© Copyright IBM Corp. 2013. All rights reserved.