public class RedisKeyValueSteps extends Object
| Constructor and Description |
|---|
RedisKeyValueSteps() |
@Given(value="^I have the redis key \"([^\"]*)\"(?: in the db (\\d+))? with value \"([^\"]*)\"$") public void iHaveTheRedisKeyWithValue(String key, Integer db, String value) throws Throwable
Throwable@Given(value="^I have the redis key \"([^\"]*)\"(?: in the db (\\d+))? with value in file \"([^\"]*)\"$") public void iHaveTheRedisKeyInTheDbWithValueInFile(String key, Integer db, String filename) throws Throwable
Throwable@Given(value="^I have the redis key \"([^\"]*)\"(?: in the db (\\d+))? with value:$") public void iHaveTheRedisKeyInTheDbWithValue(String key, Integer db, String value) throws Throwable
Throwable@Then(value="^the redis key \"([^\"]*)\"(?: in the db (\\d+))? should be \"([^\"]*)\"$") public void theRedisKeyInTheDbShouldBe(String key, Integer db, String value) throws Throwable
Throwable@Then(value="^the redis key \"([^\"]*)\"(?: in the db (\\d+))? should be:$") public void theRedisKeyInTheDbShouldBeColon(String key, Integer db, String value) throws Throwable
Throwable@Then(value="^the redis key \"([^\"]*)\"(?: in the db (\\d+))? should be file \"([^\"]*)\"$") public void theRedisKeyInTheDbShouldBeFile(String key, Integer db, String value) throws Throwable
Throwable@Given(value="^I have the redis key \"([^\"]*)\"(?: in the db (\\d+))? with value \"([^\"]*)\" with ttl (\\d+) seconds$") public void iHaveTheRedisKeyInTheDbWithValueWithTTL(String key, Integer db, String value, int seconds) throws Throwable
Throwable@Then(value="^the redis key \"([^\"]*)\"(?: in the db (\\d+))? should not exists after (\\d+) seconds$") public void theRedisKeyInTheDbShouldNotExistsAfterSeconds(String key, Integer db, int seconds) throws Throwable
Throwable@Then(value="^the redis key \"([^\"]*)\"(?: in the db (\\d+))? should exists$") public void theRedisKeyInTheDbShouldExists(String key, Integer db) throws Throwable
Throwable@Then(value="^the redis key \"([^\"]*)\"(?: in the db (\\d+))? should not exists$") public void theRedisKeyInTheDbShouldNotExists(String key, Integer db) throws Throwable
Throwable@Then(value="^the redis keys(?: in the db (\\d+))? should exists:$") public void theRedisKeysInTheDbShouldExistsColon(Integer db, cucumber.api.DataTable dataTable) throws Throwable
Throwable@Then(value="^the redis keys \"([^\"]*)\"(?: in the db (\\d+))? should exists$") public void theRedisKeysInTheDbShouldExists(String keys, Integer db) throws Throwable
ThrowableCopyright © 2014-2015 Tomitribe Corporation. All Rights Reserved.