public class LoginSteps
extends java.lang.Object
Constructor and Description |
---|
LoginSteps(LibraryApp libraryApp) |
Modifier and Type | Method and Description |
---|---|
void |
thatTheAdministratorIsLoggedIn() |
void |
thatTheAdministratorIsNotLoggedIn() |
void |
theAdministratorIsNotLoggedIn() |
void |
theAdministratorLoginFails() |
void |
theAdministratorLoginsSuccessfully() |
void |
theAdministratorLoginSucceeds() |
void |
theAdministratorLogsOut() |
void |
theAdminstratorIsLoggedIn() |
void |
thePasswordIs(java.lang.String password) |
public LoginSteps(LibraryApp libraryApp)
@Given(value="^that the administrator is not logged in$") public void thatTheAdministratorIsNotLoggedIn() throws java.lang.Exception
java.lang.Exception
@Given(value="^the password is \"([^\"]*)\"$") public void thePasswordIs(java.lang.String password) throws java.lang.Exception
java.lang.Exception
@Then(value="^the administrator login succeeds$") public void theAdministratorLoginSucceeds() throws java.lang.Exception
java.lang.Exception
@Then(value="^the adminstrator is logged in$") public void theAdminstratorIsLoggedIn() throws java.lang.Exception
java.lang.Exception
@Then(value="^the administrator logs in successfully$") public void theAdministratorLoginsSuccessfully() throws java.lang.Exception
java.lang.Exception
@Then(value="^the administrator login fails$") public void theAdministratorLoginFails() throws java.lang.Exception
java.lang.Exception
@Then(value="^the administrator is not logged in$") public void theAdministratorIsNotLoggedIn() throws java.lang.Exception
java.lang.Exception
@Given(value="^that the administrator is logged in$") public void thatTheAdministratorIsLoggedIn() throws java.lang.Exception
java.lang.Exception
@When(value="^the administrator logs out$") public void theAdministratorLogsOut() throws java.lang.Exception
java.lang.Exception