Package org.fest.swing.fixture

Examples of org.fest.swing.fixture.JPanelFixture


        changeParameterStyle(requestEditor, parameterName, newStyle, robot);
    }

    @When("^in resource editor user changes the name to (.+) for parameter with name (.+)$")
    public void changesParameterNameInResourceEditor(String newName, String parameterName) throws Throwable {
        JPanelFixture resourceEditor = findResourceEditor(rootWindow, newProjectIndexInNavigationTree, robot);
        changeParameterName(resourceEditor, parameterName, newName, robot);
    }
View Full Code Here


        changeParameterName(resourceEditor, parameterName, newName, robot);
    }

    @And("^in method editor user changes the value to (.+) for parameter with value (.+)$")
    public void changesParameterValueInMethodEditor(String newValue, String parameterValue) throws Throwable {
        JPanelFixture methodEditor = findMethodEditor(rootWindow, newProjectIndexInNavigationTree, robot);
        changeParameterValue(methodEditor, parameterValue, newValue, robot);
    }
View Full Code Here

        changeParameterValue(methodEditor, parameterValue, newValue, robot);
    }

    @Then("^request editor has parameter with name (.+) and value (.+) at row (.+)$")
    public void verifyRequestEditorShowsParameter(String parameterName, String parameterValue, Integer index) {
        JPanelFixture requestEditor = findRequestEditor(rootWindow, newProjectIndexInNavigationTree, robot);
        verifyParamValues(requestEditor, index, parameterName, parameterValue);
    }
View Full Code Here

        verifyResourceEditorShowsTheParameter(parameterName, "", index);
    }

    @Then("^resource editor has parameter with name (.+) and value (.+) at row (.+)$")
    public void verifyResourceEditorShowsTheParameter(String parameterName, String parameterValue, Integer index) {
        JPanelFixture resourceEditor = findResourceEditor(rootWindow, newProjectIndexInNavigationTree, robot);
        verifyParamValues(resourceEditor, index, parameterName, parameterValue);
    }
View Full Code Here

        verifyParamValues(resourceEditor, index, parameterName, parameterValue);
    }

    @Then("^method editor has parameter with name (.+) and value (.+) at row (.+)$")
    public void verifyMethodEditorShowsTheParameter(String parameterName, String parameterValue, Integer index) {
        JPanelFixture methodEditor = findMethodEditor(rootWindow, newProjectIndexInNavigationTree, robot);
        verifyParamValues(methodEditor, index, parameterName, parameterValue);
    }
View Full Code Here

        verifyParamValues(methodEditor, index, parameterName, parameterValue);
    }

    @Then("^request editor has parameter with name (.+) and style (.+) at row (\\d+)$")
    public void verifyRequestEditorParameterStyle(String parameterName, String parameterStyle, Integer index) {
        JPanelFixture requestEditor = findRequestEditor(rootWindow, newProjectIndexInNavigationTree, robot);
        verifyParamStyles(requestEditor, index, parameterName, parameterStyle);
    }
View Full Code Here

        verifyParamStyles(requestEditor, index, parameterName, parameterStyle);
    }

    @Then("^request editor has no parameters$")
    public void verifyRequestEditorHasEmptyParameterTable() {
        JPanelFixture requestEditor = findRequestEditor(rootWindow, newProjectIndexInNavigationTree, robot);
        verifyEmptyTable(requestEditor);
    }
View Full Code Here

        verifyEmptyTable(requestEditor);
    }

    @Then("^resource editor has no parameters$")
    public void verifyResourceEditorHasEmptyParameterTable() {
        JPanelFixture resourceEditor = findResourceEditor(rootWindow, newProjectIndexInNavigationTree, robot);
        verifyEmptyTable(resourceEditor);
    }
View Full Code Here

        verifyEmptyTable(resourceEditor);
    }

    @Then("^method editor has no parameters$")
    public void verifyMethodEditorHasEmptyParameterTable() {
        JPanelFixture methodEditor = findMethodEditor(rootWindow, newProjectIndexInNavigationTree, robot);
        verifyEmptyTable(methodEditor);
    }
View Full Code Here

        }
    }

    @When("^user deletes the parameter in request editor at row (\\d+)$")
    public void deleteParameterInRequestEditor(int rowNum) throws Throwable {
        JPanelFixture requestEditor = findRequestEditor(rootWindow, newProjectIndexInNavigationTree, robot);
        RestProjectUtils.deleteParameter(requestEditor, rowNum);
    }
View Full Code Here

TOP

Related Classes of org.fest.swing.fixture.JPanelFixture

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.