Package com.eviware.soapui.model.support

Examples of com.eviware.soapui.model.support.XPathReferenceImpl


    if( StringUtils.hasContent( getPath() ) )
    {
      TestModelItem testStep = getAssertable().getTestStep();
      TestProperty property = testStep instanceof WsdlTestRequestStep ? testStep.getProperty( "Response" )
          : testStep.getProperty( "Request" );
      result.add( new XPathReferenceImpl( "XPath for " + getName() + " XPathContainsAssertion in "
          + testStep.getName(), property, this, "path" ) );
    }

    return result.toArray( new XPathReference[result.size()] );
  }
View Full Code Here


    {
      TestStep t = getTestStep();
      if( t instanceof WsdlTestRequestStep )
      {
        if( param != null )
          result.add( new XPathReferenceImpl( "SecurityScan Parameter " + param.getLabel() + " in \""
              + getTestStep().getName() + "\"", ( ( WsdlTestRequestStep )t ).getOperation(), true, param,
              "xpath" ) );
      }
    }
View Full Code Here

    if( StringUtils.hasContent( getPath() ) )
    {
      TestModelItem testStep = getAssertable().getTestStep();
      TestProperty property = testStep instanceof WsdlTestRequestStep ? testStep.getProperty( "Response" )
          : testStep.getProperty( "Request" );
      result.add( new XPathReferenceImpl( "XQuery for " + getName() + " XQueryContainsAssertion in "
          + testStep.getName(), property, this, "path" ) );
    }

    return result.toArray( new XPathReference[result.size()] );
  }
View Full Code Here

    List<XPathReference> result = new ArrayList<XPathReference>();

    for( PropertyTransfer transfer : transfers )
    {
      if( StringUtils.hasContent( transfer.getSourcePath() ) )
        result.add( new XPathReferenceImpl( "Source path for " + transfer.getName() + " PropertyTransfer in "
            + getName(), transfer.getSourceProperty(), transfer, "sourcePath" ) );

      if( StringUtils.hasContent( transfer.getTargetPath() ) )
        result.add( new XPathReferenceImpl( "Target path for " + transfer.getName() + " PropertyTransfer in "
            + getName(), transfer.getTargetProperty(), transfer, "targetPath" ) );
    }

    return result.toArray( new XPathReference[result.size()] );
  }
View Full Code Here

    List<XPathReference> result = new ArrayList<XPathReference>();

    for( GotoCondition condition : conditions )
    {
      if( StringUtils.hasContent( condition.getExpression() ) )
        result.add( new XPathReferenceImpl( "Condition for " + condition.getName() + " GotoCondition in "
            + getName(), condition.getSourceProperty(), condition, "expression" ) );
    }

    return result.toArray( new XPathReference[result.size()] );
  }
View Full Code Here

        if (StringUtils.hasContent(getPath())) {
            TestModelItem testStep = getAssertable().getTestStep();
            TestProperty property = testStep instanceof WsdlTestRequestStep ? testStep.getProperty("Response")
                    : testStep.getProperty("Request");
            result.add(new XPathReferenceImpl("XQuery for " + getName() + " XQueryContainsAssertion in "
                    + testStep.getName(), property, this, "path"));
        }

        return result.toArray(new XPathReference[result.size()]);
    }
View Full Code Here

        if (StringUtils.hasContent(getPath())) {
            TestModelItem testStep = getAssertable().getTestStep();
            TestProperty property = testStep instanceof WsdlTestRequestStep ? testStep.getProperty("Response")
                    : testStep.getProperty("Request");
            result.add(new XPathReferenceImpl("XPath for " + getName() + " XPathContainsAssertion in "
                    + testStep.getName(), property, this, "path"));
        }

        return result.toArray(new XPathReference[result.size()]);
    }
View Full Code Here

    public XPathReference[] getXPathReferences() {
        List<XPathReference> result = new ArrayList<XPathReference>();

        for (PropertyTransfer transfer : transfers) {
            if (StringUtils.hasContent(transfer.getSourcePath())) {
                result.add(new XPathReferenceImpl("Source path for " + transfer.getName() + " PropertyTransfer in "
                        + getName(), transfer.getSourceProperty(), transfer, "sourcePath"));
            }

            if (StringUtils.hasContent(transfer.getTargetPath())) {
                result.add(new XPathReferenceImpl("Target path for " + transfer.getName() + " PropertyTransfer in "
                        + getName(), transfer.getTargetProperty(), transfer, "targetPath"));
            }
        }

        return result.toArray(new XPathReference[result.size()]);
View Full Code Here

    public XPathReference[] getXPathReferences() {
        List<XPathReference> result = new ArrayList<XPathReference>();

        for (GotoCondition condition : conditions) {
            if (StringUtils.hasContent(condition.getExpression())) {
                result.add(new XPathReferenceImpl("Condition for " + condition.getName() + " GotoCondition in "
                        + getName(), condition.getSourceProperty(), condition, "expression"));
            }
        }

        return result.toArray(new XPathReference[result.size()]);
View Full Code Here

        for (SecurityCheckedParameter param : getParameterHolder().getParameterList()) {
            TestStep t = getTestStep();
            if (t instanceof WsdlTestRequestStep) {
                if (param != null) {
                    result.add(new XPathReferenceImpl("SecurityScan Parameter " + param.getLabel() + " in \""
                            + getTestStep().getName() + "\"", ((WsdlTestRequestStep) t).getOperation(), true, param,
                            "xpath"));
                }
            }
        }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.model.support.XPathReferenceImpl

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.