Examples of StepImplementationNode


Examples of com.technophobia.substeps.execution.node.StepImplementationNode

        final StepImplementation execImpl = pickImplToExecute(step);

        if (execImpl != null) {

            final StepImplementationNode stepImplementationNode = new StepImplementationNode(
                    execImpl.getImplementedIn(), execImpl.getMethod(), tags, depth);

            stepImplementationNode.setLine(step.getParameterLine());
            stepImplementationNode.setFileUri(step.getSource().getAbsolutePath());
            stepImplementationNode.setLineNumber(step.getSourceLineNumber());

            try {
                setMethodParameters(execImpl, step.getParameterLine(), parent, step.getSubstitutedInlineTable(),
                        stepImplementationNode);
View Full Code Here

Examples of com.technophobia.substeps.execution.node.StepImplementationNode

        return Lists.newArrayList(stepImpl1, stepImpl2, stepImpl3);
    }

    private StepImplementationNode createStep(Class<?> stepClass, Method stepMethod, String stepLine) {

        final StepImplementationNode stepNode = new StepImplementationNode(stepClass, stepMethod,
                Collections.<String> emptySet(), 3);
        stepNode.getResult().setStarted();
        stepNodes.add(stepNode);
        stepNode.setLine(stepLine);
        stepNode.getResult().setFinished();
        return stepNode;
    }
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.