public class DBSaladSteps
extends java.lang.Object
| Constructor and Description |
|---|
DBSaladSteps() |
| Modifier and Type | Method and Description |
|---|---|
static void |
collectTearDownFiles(java.lang.String tearDownFile,
java.util.Map<java.lang.String,java.lang.String> paramenterMap) |
java.util.Map<java.lang.String,java.lang.String> |
createParamMap(cucumber.api.DataTable parameters) |
void |
i_set_up_data_in_DB_using_and_below_parameters(java.lang.String sqlFileName,
cucumber.api.DataTable parameters) |
void |
i_set_up_data_in_db_using(java.lang.String setupFile) |
void |
i_set_up_data_using_the_sql_file_for_the_below_data(java.lang.String setupFileName,
cucumber.api.DataTable parameters) |
void |
i_setup_up_data_in_DB_using_and_rollback_test_data_at_the_end_using_with_below_parameters(java.lang.String setupFileName,
java.lang.String tearDownFileName,
cucumber.api.DataTable parameters) |
void |
i_setup_up_data_in_db_using_and_rollback_test_data_at_the_end_using(java.lang.String setupFile,
java.lang.String tearDownFile) |
void |
i_teardown_data_in_DB_using_and_below_parameters(java.lang.String sqlFileName,
cucumber.api.DataTable parameters) |
void |
i_teardown_data_in_db_using(java.lang.String tearDownFile) |
void |
the_result_of_the_sql_has_rows(java.lang.String setupFileName,
java.lang.Integer expectedRowSize) |
void |
the_result_of_the_sql_is_empty(java.lang.String setupFileName) |
void |
the_result_of_the_sql_is(java.lang.String setupFileName,
cucumber.api.DataTable expectedResults) |
@When(value="^I set up data in DB using \"([^\"]*)\", and rollback test data at the end using \"([^\"]*)\"$")
public void i_setup_up_data_in_db_using_and_rollback_test_data_at_the_end_using(java.lang.String setupFile,
java.lang.String tearDownFile)
throws java.lang.Throwable
java.lang.Throwablepublic static void collectTearDownFiles(java.lang.String tearDownFile,
java.util.Map<java.lang.String,java.lang.String> paramenterMap)
@When(value="^I set up data in DB using \"([^\"]*)\"$")
public void i_set_up_data_in_db_using(java.lang.String setupFile)
throws java.lang.Throwable
java.lang.Throwable@When(value="^I teardown data in DB using \"([^\"]*)\"$")
public void i_teardown_data_in_db_using(java.lang.String tearDownFile)
throws java.lang.Throwable
java.lang.Throwable@Given(value="^I teardown data in DB using \"([^\"]*)\" and below parameters:$")
public void i_teardown_data_in_DB_using_and_below_parameters(java.lang.String sqlFileName,
cucumber.api.DataTable parameters)
throws java.lang.Throwable
java.lang.Throwable@Given(value="^I set up data in DB using \"([^\"]*)\" and below parameters:$")
public void i_set_up_data_in_DB_using_and_below_parameters(java.lang.String sqlFileName,
cucumber.api.DataTable parameters)
throws java.lang.Throwable
java.lang.Throwable@Given(value="^I set up data in DB using \"([^\"]*)\", and rollback test data at the end using \"([^\"]*)\" with below parameters:$")
public void i_setup_up_data_in_DB_using_and_rollback_test_data_at_the_end_using_with_below_parameters(java.lang.String setupFileName,
java.lang.String tearDownFileName,
cucumber.api.DataTable parameters)
throws java.lang.Throwable
java.lang.Throwable@Given(value="^I set up data using the sql file \"([^\"]*)\" for the below data:$")
public void i_set_up_data_using_the_sql_file_for_the_below_data(java.lang.String setupFileName,
cucumber.api.DataTable parameters)
throws java.lang.Throwable
java.lang.Throwable@Then(value="^the result of the sql \"([^\"]*)\" is:$")
public void the_result_of_the_sql_is(java.lang.String setupFileName,
cucumber.api.DataTable expectedResults)
throws java.lang.Throwable
java.lang.Throwable@Then(value="^the result of the sql \"([^\"]*)\" is empty$")
public void the_result_of_the_sql_is_empty(java.lang.String setupFileName)
throws java.lang.Throwable
java.lang.Throwable@Then(value="^the result of the sql \"([^\"]*)\" has (\\d+) rows$")
public void the_result_of_the_sql_has_rows(java.lang.String setupFileName,
java.lang.Integer expectedRowSize)
throws java.lang.Throwable
java.lang.Throwablepublic java.util.Map<java.lang.String,java.lang.String> createParamMap(cucumber.api.DataTable parameters)