blob: 3719ff626f39499e0e7121d8b7eacaf85f508980 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
package com.thinkaurelius.titan.diskstorage.cassandra.astyanax;
import com.thinkaurelius.titan.diskstorage.BackendException;
import com.thinkaurelius.titan.diskstorage.configuration.Configuration;
import com.thinkaurelius.titan.diskstorage.configuration.ModifiableConfiguration;
import org.junit.BeforeClass;
import com.thinkaurelius.titan.CassandraStorageSetup;
import com.thinkaurelius.titan.diskstorage.cassandra.AbstractCassandraStoreTest;
import com.thinkaurelius.titan.diskstorage.cassandra.AbstractCassandraStoreManager;
public class AstyanaxStoreTest extends AbstractCassandraStoreTest {
@BeforeClass
public static void startCassandra() {
CassandraStorageSetup.startCleanEmbedded();
}
@Override
public ModifiableConfiguration getBaseStorageConfiguration() {
return CassandraStorageSetup.getAstyanaxConfiguration(getClass().getSimpleName());
}
@Override
public AbstractCassandraStoreManager openStorageManager(Configuration c) throws BackendException {
return new AstyanaxStoreManager(c);
}
}
|