Package com.eviware.soapui.model.propertyexpansion

Examples of com.eviware.soapui.model.propertyexpansion.PropertyExpansionsResult.toArray()


        result.extractAndAddAll(REDIRECT_URI_PROPERTY);
        result.extractAndAddAll(ACCESS_TOKEN_PROPERTY);
        result.extractAndAddAll(SCOPE_PROPERTY);
        result.extractAndAddAll(MANUAL_ACCESS_TOKEN_EXPIRATION_TIME);

        return result.toArray();
    }

    public List<String> getAutomationJavaScripts() {
        StringListConfig configurationEntry = configuration.getJavaScripts();
        return configurationEntry == null ? Collections.<String>emptyList() : new ArrayList<String>(
View Full Code Here


        result.addAll(super.getPropertyExpansions());
        result.addAll(getRestMethod().getPropertyExpansions());
        result.addAll(params.getPropertyExpansions());
        addJMSHeaderExpansions(result, getJMSHeaderConfig(), this);

        return result.toArray();
    }

    public void addJMSHeaderExpansions(PropertyExpansionsResult result, JMSHeaderConfig jmsHeaderConfig,
                                       ModelItem modelItem) {
        result.addAll(PropertyExpansionUtils.extractPropertyExpansions(modelItem, jmsHeaderConfig,
View Full Code Here

        for (OAuth2Profile oAuth2Profile : oAuth2ProfileList) {
            result.addAll(oAuth2Profile.getPropertyExpansions());
        }

        return result.toArray();
    }

    private void buildOAuth2ProfileList() {
        oAuth2ProfileList.clear();
        for (OAuth2ProfileConfig profileConfig : configuration.getOAuth2ProfileList()) {
View Full Code Here

        for (EndpointDefaults ed : defaults.values()) {
            result.addAll(ed.getPropertyExpansions());
        }

        return result.toArray();
    }

    public void changeEndpoint(String oldEndpoint, String newEndpoint) {
        synchronized (defaults) {
            EndpointDefaults endpointDefaults = defaults.remove(oldEndpoint);
View Full Code Here

            result.extractAndAddAll("username");
            result.extractAndAddAll("password");
            result.extractAndAddAll("domain");

            return result.toArray();
        }
    }

    public EndpointDefaults getEndpointDefaults(String endpoint) {
        if (config == null) {
View Full Code Here

        for (String key : testRequest.getParams().getPropertyNames()) {
            result.extractAndAddAll(new RequestParamHolder(key), "value");
        }

        return result.toArray(new PropertyExpansion[result.size()]);
    }

    public AbstractHttpRequest<?> getHttpRequest() {
        return testRequest;
    }
View Full Code Here

            }
        }

        testRequest.addWsaPropertyExpansions(result, testRequest.getWsaConfig(), this);
        testRequest.addJMSHeaderExpansions(result, testRequest.getJMSHeaderConfig(), this);
        return result.toArray(new PropertyExpansion[result.size()]);
    }

    public TestAssertion addAssertion(String type) {
        WsdlMessageAssertion result = testRequest.addAssertion(type);
        return result;
View Full Code Here

                result.extractAndAddAll(new HttpTestRequestStep.RequestHeaderHolder(headerEntry.getKey(), value,
                        testRequest), "value");
            }
        }

        return result.toArray(new PropertyExpansion[result.size()]);
    }

    public AbstractHttpRequest<?> getHttpRequest() {
        return testRequest;
    }
View Full Code Here

    public PropertyExpansion[] getPropertyExpansions() {
        PropertyExpansionsResult result = new PropertyExpansionsResult(this);

        result.extractAndAddAll(SCRIPT_PROPERTY);

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

TOP
Copyright © 2018 www.massapi.com. 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.