protected ArgumentBuilder buildArgs( WsdlProject modelItem ) throws IOException
{
XFormDialog dialog = getDialog();
if( dialog == null )
{
ArgumentBuilder builder = new ArgumentBuilder( new StringToStringMap() );
builder.startScript( SECURITYTESTRUNNER, BAT, SH );
return builder;
}
StringToStringMap values = dialog.getValues();
ArgumentBuilder builder = new ArgumentBuilder( values );
builder.startScript( SECURITYTESTRUNNER, BAT, SH );
builder.addString( ENDPOINT, "-e", "" );
builder.addString( HOSTPORT, "-h", "" );
if( !values.get( TESTSUITE ).equals( ALL_VALUE ) )
builder.addString( TESTSUITE, "-s", "" );
if( !values.get( TESTCASE ).equals( ALL_VALUE ) )
builder.addString( TESTCASE, "-c", "" );
if( !values.get( SECURITYTEST ).equals( ALL_VALUE ) )
builder.addString( SECURITYTEST, "-n", "" );
builder.addString( USERNAME, "-u", "" );
builder.addStringShadow( PASSWORD, "-p", "" );
builder.addString( DOMAIN, "-d", "" );