37 lines
655 B
Java
37 lines
655 B
Java
package redis.clients.jedis.tests.commands;
|
|
|
|
import junit.framework.Assert;
|
|
|
|
import org.junit.After;
|
|
import org.junit.Before;
|
|
import org.junit.Ignore;
|
|
import org.junit.Test;
|
|
|
|
import redis.clients.jedis.Jedis;
|
|
|
|
public class ConnectionHandlingCommandsTest extends Assert {
|
|
private Jedis jedis;
|
|
|
|
@Before
|
|
public void setUp() throws Exception {
|
|
jedis = new Jedis("localhost");
|
|
jedis.connect();
|
|
}
|
|
|
|
@After
|
|
public void tearDown() throws Exception {
|
|
jedis.flushDB();
|
|
jedis.disconnect();
|
|
}
|
|
|
|
@Test
|
|
public void quit() {
|
|
jedis.quit();
|
|
}
|
|
|
|
@Test
|
|
@Ignore(value = "Need to implement!")
|
|
public void auth() {
|
|
|
|
}
|
|
} |