Package com.technophobia.substeps.execution.node

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


            // something has gone wrong parsing this scenario, no point
            // running it so mark it as failed now
            if (log.isDebugEnabled()) {
                log.debug("Failed to parse" + scenario.getDescription() + ", creating dummy node", t);
            }
            scenarioNode = new BasicScenarioNode(scenario.getDescription(), null, Collections.<StepNode> emptyList(),
                    Collections.<String> emptySet(), depth);
            scenarioNode.getResult().setFailedToParse(t);

            if (parameters.isFailParseErrorsImmediately()) {
View Full Code Here


            allTags.addAll(scenario.getTags());
        }

        for (final ExampleParameter outlineParameters : scenario.getExampleParameters()) {

            BasicScenarioNode basicSenarioNode = buildBasicScenarioNode(scenario, outlineParameters, allTags, depth + 2);
            outlineRowNodes.add(new OutlineScenarioRowNode(idx++, basicSenarioNode, allTags, depth + 1));
        }

        return new OutlineScenarioNode(scenario.getDescription(), outlineRowNodes, allTags, depth);
    }
View Full Code Here

                        .getSubStepsMap(), null, scenarioParameters, false, allTags, depth + 1));
            }

        }

        return new BasicScenarioNode(scenario.getDescription(), background, steps, allTags, depth);
    }
View Full Code Here

        return featureNode;
    }

    private BasicScenarioNode createScenario(String scenarioName) {

        BasicScenarioNode scenarioNode = new BasicScenarioNode(scenarioName, null, createSteps(),
                Collections.<String> emptySet(), 2);
        scenarioNodes.add(scenarioNode);
        return scenarioNode;
    }
View Full Code Here

TOP

Related Classes of com.technophobia.substeps.execution.node.BasicScenarioNode

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.