public final class StepDefinition extends Object
| Constructor and Description | 
|---|
| StepDefinition(World world) | 
@Inject public StepDefinition(World world)
public void beforeEachScenario(io.cucumber.java.Scenario scenario)
                        throws Exception
Exception@Given(value="the {word} graph")
public void givenTheXGraph(String graphName)
@Given(value="the graph initializer of") public void theGraphInitializerOf(String gremlin)
@Given(value="using the parameter {word} defined as {string}")
public void usingTheParameterXDefinedAsX(String key,
                                                                                                        String value)
@Given(value="using the parameter {word} of P.{word}\\({string})")
public void usingTheParameterXOfPX(String key,
                                                                                                      String pval,
                                                                                                      String string)
@Given(value="the traversal of") public void theTraversalOf(String docString)
@When(value="iterated to list") public void iteratedToList()
@When(value="iterated next") public void iteratedNext()
@Then(value="the result should be unordered") public void theResultShouldBeUnordered(io.cucumber.datatable.DataTable dataTable)
@Then(value="the result should be ordered") public void theResultShouldBeOrdered(io.cucumber.datatable.DataTable dataTable)
@Then(value="the result should be of") public void theResultShouldBeOf(io.cucumber.datatable.DataTable dataTable)
@Then(value="the result should have a count of {int}")
public void theResultShouldHaveACountOf(Integer val)
@Then(value="the graph should return {int} for count of {string}")
public void theGraphShouldReturnForCountOf(Integer count,
                                                                                                              String gremlin)
@Then(value="debug the graph should return {int} for count of {string}")
public void debugTheGraphShouldReturnForCountOf(Integer count,
                                                                                                                         String gremlin)
@Then(value="the result should be empty") public void theResultShouldBeEmpty()
@Then(value="the traversal will raise an error") public void theTraversalWillRaiseAnError()
@Then(value="the traversal will raise an error with message {word} text of {string}")
public void theTraversalWillRaiseAnErrorWithMessage(String comparison,
                                                                                                                                          String expectedMessage)
@Given(value="an unsupported test") public void anUnsupportedTest()
@Then(value="nothing should happen because") public void nothingShouldHappenBecause(String message)
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.