Package com.eviware.soapui.support.xml

Examples of com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder


    this.config = config;
  }

  public void saveConfig()
  {
    XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder();
    save( builder );
    config.getConfiguration().set( builder.finish() );
  }
View Full Code Here


public class XmlObjectConfigurationTestCase extends TestCase
{
  public void testConfiguration() throws Exception
  {
    XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder();
    builder.add( "testFloat", ( float )0.123 );
    builder.add( "testInt", 123 );
    builder.add( "testString", "1234" );

    XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader( builder.finish() );
    assertEquals( ( float )0.123, reader.readFloat( "testFloat", 0 ) );
    assertEquals( 123, reader.readInt( "testInt", 0 ) );
    assertEquals( "1234", reader.readString( "testString", null ) );
  }
View Full Code Here

    setConfiguration( createConfiguration() );
  }

  protected XmlObject createConfiguration()
  {
    XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder();
    builder.add( "token", token );
    builder.add( "ignoreCase", ignoreCase );
    builder.add( "useRegEx", useRegEx );
    return builder.finish();
  }
View Full Code Here

    }
  }

  public XmlObject getConfig()
  {
    XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder();
    builder.add( "testDelay", testDelay );
    builder.add( "randomFactor", randomFactor );
    return builder.finish();
  }
View Full Code Here

    }
  }

  public XmlObject getConfig()
  {
    XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder();
    builder.add( "startThreadCount", startThreadCount );
    builder.add( "endThreadCount", endThreadCount );
    return builder.finish();
  }
View Full Code Here

        "Specify options", UISupport.OPTIONS_ICON );
  }

  protected XmlObject createConfiguration()
  {
    XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder();
    builder.add( "asertWsaAction", assertWsaAction );
    builder.add( "asertWsaTo", assertWsaTo );
    // builder.add("assertWsaReplyTo", assertWsaReplyTo);
    // builder.add("assertWsaMessageId", assertWsaMessageId);
    builder.add( "asertWsaRelatesTo", assertWsaRelatesTo );
    builder.add( "assertReplyToRefParams", assertReplyToRefParams );
    builder.add( "assertFaultToRefParams", assertFaultToRefParams );
    return builder.finish();
  }
View Full Code Here

        "Specify options", UISupport.OPTIONS_ICON );
  }

  protected XmlObject createConfiguration()
  {
    XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder();
    builder.add( "asertWsaAction", assertWsaAction );
    builder.add( "asertWsaTo", assertWsaTo );
    builder.add( "assertWsaReplyTo", assertWsaReplyTo );
    builder.add( "assertWsaMessageId", assertWsaMessageId );
    // builder.add("asertWsaRelatesTo", assertWsaRelatesTo);
    // builder.add("assertReplyToRefParams", assertReplyToRefParams);
    // builder.add("assertFaultToRefParams", assertFaultToRefParams);
    return builder.finish();
  }
View Full Code Here

    toolbar.addFixed( ignoreCommentsCheckBox );
  }

  public XmlObject createConfiguration()
  {
    XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder();
    builder.add( "path", path );
    builder.add( "content", expectedContent );
    builder.add( "allowWildcards", allowWildcards );
    builder.add( "ignoreNamspaceDifferences", ignoreNamespaceDifferences );
    builder.add( "ignoreComments", ignoreComments );
    return builder.finish();
  }
View Full Code Here

    return true;
  }

  protected XmlObject createConfiguration()
  {
    XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder();
    builder.add( "token", token );
    builder.add( "ignoreCase", ignoreCase );
    builder.add( "useRegEx", useRegEx );
    return builder.finish();
  }
View Full Code Here

  /**
   * @return XmlObject, our config chunk
   */
  protected XmlObject createConfiguration()
  {
    XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder();
    return builder.add( "SLA", SLA ).finish();
  }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.