2010-10-12 15:07:02 -04:00
|
|
|
/**
|
|
|
|
|
* Copyright (C) 2009-2010 Scalable Solutions AB <http://scalablesolutions.se>
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
package se.scalablesolutions.akka.persistence.riak
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.junit.runner.RunWith
|
|
|
|
|
import org.scalatest.junit.JUnitRunner
|
|
|
|
|
import se.scalablesolutions.akka.persistence.common._
|
|
|
|
|
|
|
|
|
|
@RunWith(classOf[JUnitRunner])
|
2010-10-14 19:50:17 -04:00
|
|
|
class RiakTicket343TestIntegration extends Ticket343Test {
|
2010-10-12 15:07:02 -04:00
|
|
|
def dropMapsAndVectors: Unit = {
|
|
|
|
|
RiakStorageBackend.VectorClient.drop
|
|
|
|
|
RiakStorageBackend.MapClient.drop
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
def getVector: (String) => PersistentVector[Array[Byte]] = RiakStorage.getVector
|
|
|
|
|
|
|
|
|
|
def getMap: (String) => PersistentMap[Array[Byte], Array[Byte]] = RiakStorage.getMap
|
|
|
|
|
}
|