Package com.eviware.soapui.support.types

Examples of com.eviware.soapui.support.types.StringList


    }

    public String[] getPropertyNames()
    {
      Set<String> keys = System.getenv().keySet();
      StringList result = new StringList();
      for( Object key : keys )
        result.add( key.toString() );
      return result.toStringArray();
    }
View Full Code Here


    }

    public String[] getPropertyNames()
    {
      Set<Object> keys = System.getProperties().keySet();
      StringList result = new StringList();
      for( Object key : keys )
        result.add( key.toString() );
      return result.toStringArray();
    }
View Full Code Here

  }

  public void addDetails( ModelItem modelItem, String details )
  {
    if( !detailInfo.containsKey( modelItem ) )
      detailInfo.put( modelItem, new StringList() );

    detailInfo.get( modelItem ).add( details );
  }
View Full Code Here

    registerScriptEngine( JsScriptEngineFactory.ID, new JsScriptEngineFactory() );
  }

  public static String[] getAvailableEngineIds()
  {
    return new StringList( factories.keySet() ).toStringArray();
  }
View Full Code Here

      form.appendPasswordField( "password", "Password", "The password to use for HTTP Authentication" );
      form.appendTextField( "domain", "Domain", "The domain to use for HTTP Authentication" );

      if( request instanceof WsdlRequest )
      {
        StringList outgoingNames = new StringList( request.getOperation().getInterface().getProject()
            .getWssContainer().getOutgoingWssNames() );
        outgoingNames.add( "" );
        StringList incomingNames = new StringList( request.getOperation().getInterface().getProject()
            .getWssContainer().getIncomingWssNames() );
        incomingNames.add( "" );

        form.addSpace( 5 );
        form.appendComboBox( "outgoingWss", "Outgoing WSS", outgoingNames.toStringArray(),
            "The outgoing WS-Security configuration to use" );
        form.appendComboBox( "incomingWss", "Incoming WSS", incomingNames.toStringArray(),
            "The incoming WS-Security configuration to use" );
      }

      form.addSpace( 5 );
View Full Code Here

    }

    public void actionPerformed( ActionEvent e )
    {
      String type = types.size() == 1 ? types.get( 0 ).toString() : UISupport.prompt(
          "Specify type of Representation to add", "Add Representation", new StringList( types ).toStringArray() );

      if( type != null )
      {
        restMethod.addNewRepresentation( RestRepresentation.Type.valueOf( type ) );
      }
View Full Code Here

    diff.overrideDifferenceListener( internalDifferenceListener );

    if( !diff.identical() )
      throw new Exception( diff.toString() );

    StringList nodesToRemove = internalDifferenceListener.getNodesToRemove();

    if( !nodesToRemove.isEmpty() )
    {
      for( String node : nodesToRemove )
      {
        if( node == null )
          continue;
View Full Code Here

  public WsdlTestSuite generateTestSuite( RestService service, boolean atCreation )
  {
    XFormDialog dialog = ADialogBuilder.buildDialog( GenerateForm.class );
    dialog.setValue( GenerateForm.STYLE, "One TestCase for each Resource" );

    StringList paths = new StringList();
    for( RestResource resource : service.getAllResources() )
      paths.add( resource.getName() + ": " + resource.getFullPath( false ) );

    dialog.setOptions( GenerateForm.RESOURCES, paths.toStringArray() );
    XFormOptionsField operationsFormField = ( XFormOptionsField )dialog.getFormField( GenerateForm.RESOURCES );
    operationsFormField.setSelectedOptions( paths.toStringArray() );

    WsdlProject project = service.getProject();
    String[] testSuites = ModelSupport.getNames( new String[] { "<create>" }, project.getTestSuiteList() );
    dialog.setOptions( GenerateForm.TESTSUITE, testSuites );
View Full Code Here

  public static String[] getExentsibilityAttributes( AttributeExtensible item, QName qname )
  {
    if( item == null )
      return new String[0];

    StringList result = new StringList();

    Map map = item.getExtensionAttributes();

    for( Iterator<?> i = map.keySet().iterator(); i.hasNext(); )
    {
      QName name = ( QName )i.next();
      if( name.equals( qname ) )
      {
        result.add( map.get( name ).toString() );
      }
    }

    return result.toStringArray();
  }
View Full Code Here

    return ModelSupport.findModelItemById( getTestCaseId(), getTestCase().getTestSuite().getProject() );
  }

  public StringList getReturnProperties()
  {
    return new StringList( stepConfig.getReturnProperties().getEntryList() );
  }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.support.types.StringList

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.