first commit for new repo
[sdc/sdc-titan-cassandra.git] / src / test / java / com / thinkaurelius / titan / blueprints / thrift / ThriftGraphProvider.java
1 package com.thinkaurelius.titan.blueprints.thrift;
2
3 import com.thinkaurelius.titan.CassandraStorageSetup;
4 import com.thinkaurelius.titan.blueprints.AbstractTitanGraphProvider;
5 import com.thinkaurelius.titan.diskstorage.configuration.ModifiableConfiguration;
6
7 /**
8  * @author Matthias Broecheler (me@matthiasb.com)
9  */
10 public class ThriftGraphProvider extends AbstractTitanGraphProvider {
11
12     @Override
13     public ModifiableConfiguration getTitanConfiguration(String graphName, Class<?> test, String testMethodName) {
14         CassandraStorageSetup.startCleanEmbedded();
15         return CassandraStorageSetup.getCassandraThriftConfiguration(graphName);
16     }
17
18 }