Skip to content

Instantly share code, notes, and snippets.

@stephensanchez
Created August 25, 2015 19:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephensanchez/78709f7b991f3969a3f2 to your computer and use it in GitHub Desktop.
Save stephensanchez/78709f7b991f3969a3f2 to your computer and use it in GitHub Desktop.
package com.tamr.features.register;
import cucumber.api.PendingException;
import cucumber.api.java.en.And;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
/**
* Created by steve on 8/25/15.
*/
public class RegisterFeatures {
@And("^item (\\d+) should have the name 'beef.csv'$")
public void item_should_have_the_name_beef_csv(int arg1) throws Throwable {
// Express the Regexp above with the code you wish you had
throw new PendingException();
}
@Given("^a csv with the name 'beef.csv'$")
public void a_csv_with_the_name_beef_csv() throws Throwable {
// Express the Regexp above with the code you wish you had
throw new PendingException();
}
@When("^a user registers a new source$")
public void a_user_registers_a_new_source() throws Throwable {
// Express the Regexp above with the code you wish you had
throw new PendingException();
}
@Then("^(\\d+) items should have been discovered.$")
public void items_should_have_been_discovered(int arg1) throws Throwable {
// Express the Regexp above with the code you wish you had
throw new PendingException();
}
@And("^item (\\d+) should have the name 'animal'$")
public void item_should_have_the_name_animal(int arg1) throws Throwable {
// Express the Regexp above with the code you wish you had
throw new PendingException();
}
@And("^item (\\d+) should have the name 'name'$")
public void item_should_have_the_name_name(int arg1) throws Throwable {
// Express the Regexp above with the code you wish you had
throw new PendingException();
}
@And("^item (\\d+) should have the name 'cut'$")
public void item_should_have_the_name_cut(int arg1) throws Throwable {
// Express the Regexp above with the code you wish you had
throw new PendingException();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment