Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added in memory graph test for TP suite for easy debugging.
- Loading branch information
Showing
8 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
titan-test/src/main/java/com/thinkaurelius/titan/blueprints/InMemoryGraphProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.thinkaurelius.titan.blueprints; | ||
|
||
import com.thinkaurelius.titan.StorageSetup; | ||
import com.thinkaurelius.titan.diskstorage.configuration.ModifiableConfiguration; | ||
import org.apache.tinkerpop.gremlin.AbstractGremlinSuite; | ||
|
||
/** | ||
* Created by bryn on 06/05/15. | ||
*/ | ||
public class InMemoryGraphProvider extends AbstractTitanGraphProvider { | ||
@Override | ||
public ModifiableConfiguration getTitanConfiguration(String graphName, Class<?> test, String testMethodName) { | ||
return StorageSetup.getInMemoryConfiguration(); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
titan-test/src/main/java/com/thinkaurelius/titan/blueprints/InMemoryTitanProcessTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.thinkaurelius.titan.blueprints; | ||
|
||
import com.thinkaurelius.titan.core.TitanGraph; | ||
import org.apache.tinkerpop.gremlin.process.ProcessStandardSuite; | ||
import org.junit.runner.RunWith; | ||
|
||
|
||
@RunWith(ProcessStandardSuite.class) | ||
@ProcessStandardSuite.GraphProviderClass(provider = InMemoryGraphProvider.class, graph = TitanGraph.class) | ||
public class InMemoryTitanProcessTest { | ||
} |