com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui
Class TestRunnerAction

java.lang.Object
  extended by com.eviware.soapui.support.action.support.AbstractSoapUIAction<T>
      extended by com.eviware.soapui.impl.wsdl.actions.iface.tools.support.AbstractToolsAction<WsdlProject>
          extended by com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction
All Implemented Interfaces:
SoapUIAction<WsdlProject>, PropertyChangeNotifier
Direct Known Subclasses:
SecurityTestRunnerAction

public class TestRunnerAction
extends AbstractToolsAction<WsdlProject>

Invokes soapUI TestRunner tool

Author:
Ole.Matzura

Nested Class Summary
 
Nested classes/interfaces inherited from class com.eviware.soapui.impl.wsdl.actions.iface.tools.support.AbstractToolsAction
AbstractToolsAction.CloseAction, AbstractToolsAction.GenerateAction, AbstractToolsAction.ShowIntegratedToolsSettingsAction
 
Field Summary
protected static java.lang.String ADDSETTINGS
           
protected  com.eviware.x.form.XForm advForm
           
protected static java.lang.String ALL_VALUE
           
protected static java.lang.String COVERAGE
           
protected static java.lang.String DOMAIN
           
protected static java.lang.String ENABLEUI
           
protected static java.lang.String ENDPOINT
           
protected static java.lang.String EXPORTALL
           
protected static java.lang.String EXPORTJUNITRESULTS
           
protected static java.lang.String GENERATEREPORTSEACHTESTCASE
           
protected static java.lang.String GLOBALPROPERTIES
           
protected static java.lang.String HOSTPORT
           
protected static java.lang.String IGNOREERRORS
           
protected  com.eviware.x.form.XForm mainForm
           
protected static java.lang.String OPEN_REPORT
           
protected static java.lang.String PASSWORD
           
protected static java.lang.String PRINTREPORT
           
protected static java.lang.String PROJECTPASSWORD
           
protected static java.lang.String PROJECTPROPERTIES
           
protected  com.eviware.x.form.XForm propertyForm
           
protected  boolean proVersion
           
protected  com.eviware.x.form.XForm reportForm
           
protected static java.lang.String REPORTFORMAT
           
protected static java.lang.String ROOTFOLDER
           
protected static java.lang.String SAVEAFTER
           
protected static java.lang.String SAVEPROJECT
           
static java.lang.String SOAPUI_ACTION_ID
           
protected static java.lang.String SOAPUISETTINGSPASSWORD
           
protected static java.lang.String SYSTEMPROPERTIES
           
protected static java.lang.String TESTCASE
           
protected static java.lang.String TESTRUNNERPATH
           
protected static java.lang.String TESTSUITE
           
protected  java.util.List<TestSuite> testSuites
           
protected static java.lang.String USERNAME
           
protected static java.lang.String WSSTYPE
           
 
Fields inherited from class com.eviware.soapui.impl.wsdl.actions.iface.tools.support.AbstractToolsAction
CACHED_WSDL, JAVA_ARGS, TOOL_ARGS, valuesSettingID, WSDL
 
Fields inherited from interface com.eviware.soapui.support.action.SoapUIAction
ENABLED_PROPERTY
 
Constructor Summary
TestRunnerAction()
           
TestRunnerAction(java.lang.String name, java.lang.String description)
           
 
Method Summary
protected  void addProperties(java.util.List<java.lang.String> propertyArguments, java.lang.String propertiyDomain, java.lang.String arg)
           
protected  void addPropertyArguments(ArgumentBuilder builder)
           
protected  ArgumentBuilder buildArgs(WsdlProject modelItem)
           
protected  com.eviware.x.form.XFormDialog buildDialog(WsdlProject modelItem)
           
protected  javax.swing.Action createRunOption(WsdlProject modelItem)
           
protected  com.eviware.x.impl.swing.JTextAreaFormField createTextArea()
           
protected  void generate(StringToStringMap values, ToolHost toolHost, WsdlProject modelItem)
           
protected  StringToStringMap initValues(WsdlProject modelItem, java.lang.Object param)
           
protected  boolean isProVersion(WsdlProject modelItem)
          check whether this is Pro or Core version
 
Methods inherited from class com.eviware.soapui.impl.wsdl.actions.iface.tools.support.AbstractToolsAction
addJavaArgs, addToolArgs, addWSDLFields, buildArgsForm, buildClasspath, buildDefaultActions, closeDialog, getDefinition, getDialog, getModelItem, getToolsSettingsAction, getValuesSettingID, getWsdlUrl, initWSDL, onClose, perform, performHeadless, run, setFixedWSDL, setToolsSettingsAction, setValuesSettingID
 
Methods inherited from class com.eviware.soapui.support.action.support.AbstractSoapUIAction
addPropertyChangeListener, addPropertyChangeListener, applies, getDescription, getId, getName, isDefault, isEnabled, removePropertyChangeListener, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_VALUE

protected static final java.lang.String ALL_VALUE
See Also:
Constant Field Values

ENDPOINT

protected static final java.lang.String ENDPOINT
See Also:
Constant Field Values

HOSTPORT

protected static final java.lang.String HOSTPORT
See Also:
Constant Field Values

TESTSUITE

protected static final java.lang.String TESTSUITE
See Also:
Constant Field Values

TESTCASE

protected static final java.lang.String TESTCASE
See Also:
Constant Field Values

USERNAME

protected static final java.lang.String USERNAME
See Also:
Constant Field Values

PASSWORD

protected static final java.lang.String PASSWORD
See Also:
Constant Field Values

WSSTYPE

protected static final java.lang.String WSSTYPE
See Also:
Constant Field Values

DOMAIN

protected static final java.lang.String DOMAIN
See Also:
Constant Field Values

PRINTREPORT

protected static final java.lang.String PRINTREPORT
See Also:
Constant Field Values

ROOTFOLDER

protected static final java.lang.String ROOTFOLDER
See Also:
Constant Field Values

EXPORTJUNITRESULTS

protected static final java.lang.String EXPORTJUNITRESULTS
See Also:
Constant Field Values

EXPORTALL

protected static final java.lang.String EXPORTALL
See Also:
Constant Field Values

ENABLEUI

protected static final java.lang.String ENABLEUI
See Also:
Constant Field Values

TESTRUNNERPATH

protected static final java.lang.String TESTRUNNERPATH
See Also:
Constant Field Values

SAVEPROJECT

protected static final java.lang.String SAVEPROJECT
See Also:
Constant Field Values

ADDSETTINGS

protected static final java.lang.String ADDSETTINGS
See Also:
Constant Field Values

OPEN_REPORT

protected static final java.lang.String OPEN_REPORT
See Also:
Constant Field Values

COVERAGE

protected static final java.lang.String COVERAGE
See Also:
Constant Field Values

PROJECTPASSWORD

protected static final java.lang.String PROJECTPASSWORD
See Also:
Constant Field Values

SOAPUISETTINGSPASSWORD

protected static final java.lang.String SOAPUISETTINGSPASSWORD
See Also:
Constant Field Values

IGNOREERRORS

protected static final java.lang.String IGNOREERRORS
See Also:
Constant Field Values

GENERATEREPORTSEACHTESTCASE

protected static final java.lang.String GENERATEREPORTSEACHTESTCASE
See Also:
Constant Field Values

REPORTFORMAT

protected static final java.lang.String REPORTFORMAT
See Also:
Constant Field Values

SAVEAFTER

protected static final java.lang.String SAVEAFTER
See Also:
Constant Field Values

GLOBALPROPERTIES

protected static final java.lang.String GLOBALPROPERTIES
See Also:
Constant Field Values

SYSTEMPROPERTIES

protected static final java.lang.String SYSTEMPROPERTIES
See Also:
Constant Field Values

PROJECTPROPERTIES

protected static final java.lang.String PROJECTPROPERTIES
See Also:
Constant Field Values

mainForm

protected com.eviware.x.form.XForm mainForm

SOAPUI_ACTION_ID

public static final java.lang.String SOAPUI_ACTION_ID
See Also:
Constant Field Values

advForm

protected com.eviware.x.form.XForm advForm

propertyForm

protected com.eviware.x.form.XForm propertyForm

reportForm

protected com.eviware.x.form.XForm reportForm

testSuites

protected java.util.List<TestSuite> testSuites

proVersion

protected boolean proVersion
Constructor Detail

TestRunnerAction

public TestRunnerAction()

TestRunnerAction

public TestRunnerAction(java.lang.String name,
                        java.lang.String description)
Method Detail

buildDialog

protected com.eviware.x.form.XFormDialog buildDialog(WsdlProject modelItem)
Overrides:
buildDialog in class AbstractToolsAction<WsdlProject>

createTextArea

protected com.eviware.x.impl.swing.JTextAreaFormField createTextArea()

isProVersion

protected boolean isProVersion(WsdlProject modelItem)
check whether this is Pro or Core version

Parameters:
modelItem -
Returns:
boolean

createRunOption

protected javax.swing.Action createRunOption(WsdlProject modelItem)
Overrides:
createRunOption in class AbstractToolsAction<WsdlProject>

initValues

protected StringToStringMap initValues(WsdlProject modelItem,
                                       java.lang.Object param)
Overrides:
initValues in class AbstractToolsAction<WsdlProject>

generate

protected void generate(StringToStringMap values,
                        ToolHost toolHost,
                        WsdlProject modelItem)
                 throws java.lang.Exception
Specified by:
generate in class AbstractToolsAction<WsdlProject>
Throws:
java.lang.Exception

buildArgs

protected ArgumentBuilder buildArgs(WsdlProject modelItem)
                             throws java.io.IOException
Throws:
java.io.IOException

addPropertyArguments

protected void addPropertyArguments(ArgumentBuilder builder)

addProperties

protected void addProperties(java.util.List<java.lang.String> propertyArguments,
                             java.lang.String propertiyDomain,
                             java.lang.String arg)


Copyright © 2005-2011 eviware.com. All Rights Reserved.