]> git.saurik.com Git - redis.git/blob - client-libraries/scala/src/test/scala/com/redis/helpers/RedisClientTestHelper.scala
redis-cli now accepts a -r (repeat) switch. Still there is a memory leaks to fix
[redis.git] / client-libraries / scala / src / test / scala / com / redis / helpers / RedisClientTestHelper.scala
1 import org.specs._
2 import com.redis._
3 import com.redis.operations._
4
5 import org.specs.mock.Mockito
6 import org.mockito.Mock._
7 import org.mockito.Mockito._
8 import org.mockito.Mockito.doNothing
9
10 class RedisTestClient(val connection: Connection) extends Operations with ListOperations with SetOperations with NodeOperations with KeySpaceOperations with SortOperations {
11 var db: Int = 0
12 def getConnection(key: String): Connection = connection
13 }