|
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.recorder.core.property.AbstractConfiguration
com.ibm.rational.test.lt.testgen.core.configuration.TestGenerationConfiguration
public class TestGenerationConfiguration
Field Summary | |
---|---|
static String |
AUTO_DATA_CORRELATION_NAMES_PROPERTY
This boolean property defines whether data correlation names should be automatically computed. |
static String |
AUTO_DATA_CORRELATION_PROPERTY
This boolean property defines whether data correlation should automatically be performed on each generated test. |
static String |
CONVERSION_RESULT_PROPERTY
This String property defines the workspace absolute path of the a recording session file that contains the result of the conversion of the input recording session, after its contents has been passed through all packet converters configured in the Test Generation Configuration. |
static String |
DATA_CORRELATION_RULES_FILE_LIST_PROPERTY
This list of String property defines the list of dcrules files that have to be sequentially executed at the end of the test generation. |
static String |
DATA_TRANSFORMER_IDS
This string property defines the id of the data transformer that should invoked after all test generators have completed. |
static String |
DO_IMPLIED_DC_RULES
This string property indicates whether the transfomer-implied data correlation rules have to be applied after all others data correlations in case the transfomer has been successfully applied on any test element. |
static String |
HIDE_UNCONSUMED_PACKETS_WARNING_PROPERTY
A boolean specifying that the warning concerning unconsumed packets will be hidden or not Default value: false . |
static String |
LOG_DEBUG_MESSAGES
A boolean specifying that debug messages issued by test generator components should be logged to eclipse error log as information messages. |
static String |
NO_FILE_OUTPUT_PROPERTY
This boolean property asks the test generation framework not to produce any file. |
static String |
OUTPUT_SCHEDULE_PROPERTY
This String property defines the workspace absolute path of the output schedule to be produced by the test generation. |
static String |
OUTPUT_TEST_PROPERTY
This String property defines the workspace absolute path of the output test to be produced by the test generation. |
static String |
OUTPUTS_TEST_PROPERTY
This String List property defines the workspace absolute paths of the output tests to be produced by the test generation. |
static String |
RECORDING_SESSION_FILE_PROPERTY
This String property defines the workspace absolute path of the input recording session to be consumed by the test generation. |
static String |
RULES_DATA_CORRELATION_PROPERTY
This boolean property indicates whether some rules files are to be executed at the end of the test generation. |
static String |
RULES_GENERATES_LOGS_PROPERTY
This boolean property indicates whether rules applied on test suite should generate logs or not or use fixed log level constraint (@see DCRulesWizardPage for explanation about value) |
static String |
RULES_INPUTS
This map property contains inputs to be passed to data correlation rules. |
Fields inherited from class com.ibm.rational.test.lt.recorder.core.property.AbstractConfiguration |
---|
properties |
Constructor Summary | |
---|---|
TestGenerationConfiguration()
|
Method Summary | |
---|---|
protected void |
addChildConfiguration(AbstractConfiguration config,
String operandName)
|
protected void |
afterXmlDeserialization()
|
protected void |
beforeXmlSerialization()
|
TestGenerationConfiguration |
clone()
|
ArrayList<AnnotationOverrideConfiguration> |
getAnnotationOverrides()
|
protected String |
getElementName()
|
protected String |
getNamespace()
|
ArrayList<PacketConverterConfiguration> |
getPacketConverterConfigurations()
|
protected String |
getPreferedPrefix()
|
protected String |
getProtocol()
|
TestGeneratorConfiguration |
getTestGeneratorConfiguration(String testGeneratorType)
|
ArrayList<TestGeneratorConfiguration> |
getTestGeneratorConfigurations()
|
ArrayList<TestGeneratorPriorityConfiguration> |
getTestGeneratorPriorities()
|
protected void |
writeChildConfigurations(javax.xml.stream.XMLStreamWriter writer)
|
Methods inherited from class com.ibm.rational.test.lt.recorder.core.property.AbstractConfiguration |
---|
assignUniqueIds, cloneProperties, get, getBoolean, getData, getEnum, getInteger, getList, getMap, getObfuscatedList, getObfuscatedString, getPreferedIdPrefixForChild, getString, getString, isOperand, loadAttributes, remove, saveDataToAttachment, serialize, setBoolean, setData, setData, setEnum, setInteger, setList, setMap, setObfuscatedList, setObfuscatedString, setString, toString, write, write, write, writeAttributes, writeChildConfiguration, writeChildConfigurations |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String RECORDING_SESSION_FILE_PROPERTY
public static final String OUTPUT_TEST_PROPERTY
TestGenerationConfiguration.OUTPUTS_TEST_PROPERTY
is required,
unless TestGenerationConfiguration.NO_FILE_OUTPUT_PROPERTY
is set to true.
If both are specified, the original unsplit test will be generated under the
file specified by this property. In addition, all outputs must reside under
the same project (but not necessarily under the same folder).
public static final String OUTPUTS_TEST_PROPERTY
TestGenerationConfiguration.OUTPUT_TEST_PROPERTY
is required, unless TestGenerationConfiguration.NO_FILE_OUTPUT_PROPERTY
is
set to true
. Note that the count of items
should match the count of test pieces that will be generated. This count
is equal to the number of Split test annotations plus one (taking into
account any annotation override that may have been defined in this configuration).
The list may contain empty string or null
items, indicating that the corresponding
piece of recording should be ignored. All values, if not null or empty, must refer
to files that are located under the same project. This constraint also applies the
TestGenerationConfiguration.OUTPUT_TEST_PROPERTY
property if it also specified.
public static final String OUTPUT_SCHEDULE_PROPERTY
public static final String NO_FILE_OUTPUT_PROPERTY
TestGenerator.generateTest(org.eclipse.core.runtime.IProgressMonitor)
.
Default value: false
. If set to true, none of TestGenerationConfiguration.OUTPUT_TEST_PROPERTY
and TestGenerationConfiguration.OUTPUTS_TEST_PROPERTY
should be specified.
public static final String CONVERSION_RESULT_PROPERTY
public static String AUTO_DATA_CORRELATION_PROPERTY
true
. This
value is automatically set according to the TestGenUI preferences if the testgen
configuration is produced by one of the TestGenUI wizards/dialogs.
public static String DATA_TRANSFORMER_IDS
public static String DO_IMPLIED_DC_RULES
public static String AUTO_DATA_CORRELATION_NAMES_PROPERTY
TestGenerationConfiguration.AUTO_DATA_CORRELATION_PROPERTY
is
set to true
. Default value: true
. This
value is automatically set according to the TestGenUI preferences if the testgen
configuration is produced by one of the TestGenUI wizards/dialogs.
public static String RULES_DATA_CORRELATION_PROPERTY
true
.
public static String RULES_GENERATES_LOGS_PROPERTY
public static String RULES_INPUTS
public static String DATA_CORRELATION_RULES_FILE_LIST_PROPERTY
TestGenerationConfiguration.RULES_DATA_CORRELATION_PROPERTY
is set to true
. Default value: empty
.
public static final String LOG_DEBUG_MESSAGES
false
.
public static final String HIDE_UNCONSUMED_PACKETS_WARNING_PROPERTY
false
.
Constructor Detail |
---|
public TestGenerationConfiguration()
Method Detail |
---|
public ArrayList<PacketConverterConfiguration> getPacketConverterConfigurations()
public ArrayList<TestGeneratorConfiguration> getTestGeneratorConfigurations()
public ArrayList<TestGeneratorPriorityConfiguration> getTestGeneratorPriorities()
public ArrayList<AnnotationOverrideConfiguration> getAnnotationOverrides()
public TestGeneratorConfiguration getTestGeneratorConfiguration(String testGeneratorType)
public TestGenerationConfiguration clone()
clone
in class AbstractConfiguration
protected String getElementName()
getElementName
in class AbstractConfiguration
protected String getNamespace()
getNamespace
in class AbstractConfiguration
protected String getProtocol()
getProtocol
in class AbstractConfiguration
protected String getPreferedPrefix()
getPreferedPrefix
in class AbstractConfiguration
protected void writeChildConfigurations(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
writeChildConfigurations
in class AbstractConfiguration
javax.xml.stream.XMLStreamException
protected void addChildConfiguration(AbstractConfiguration config, String operandName) throws InvalidConfigurationException
addChildConfiguration
in class AbstractConfiguration
InvalidConfigurationException
protected void beforeXmlSerialization()
beforeXmlSerialization
in class AbstractConfiguration
protected void afterXmlDeserialization()
afterXmlDeserialization
in class AbstractConfiguration
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |