use of com.tinkerpop.blueprints.impls.tg.TinkerGraph in project pentaho-metaverse by pentaho.
the class LineageClientTest method setUp.
@Before
public void setUp() throws Exception {
lineageClient = new LineageClient();
g = new TinkerGraph();
LineageGraphMap.getInstance().clear();
}
use of com.tinkerpop.blueprints.impls.tg.TinkerGraph in project pentaho-metaverse by pentaho.
the class BlueprintsGraphMetaverseReaderTest method init.
@Before
public void init() {
graph = new TinkerGraph();
loadGraph(graph);
}
use of com.tinkerpop.blueprints.impls.tg.TinkerGraph in project pentaho-metaverse by pentaho.
the class SynchronizedGraphFactoryTest method testWrapGraph.
@Test
public void testWrapGraph() throws Exception {
Graph g = new TinkerGraph();
SynchronizedGraph wrapped = (SynchronizedGraph) SynchronizedGraphFactory.wrapGraph(g);
assertTrue(wrapped instanceof SynchronizedGraph);
assertTrue(wrapped.graph instanceof IdGraph);
assertTrue(wrapped.graph instanceof KeyIndexableGraph);
}
use of com.tinkerpop.blueprints.impls.tg.TinkerGraph in project pentaho-metaverse by pentaho.
the class LineageWriterTest method testOutputLineageGraph.
@Test
public void testOutputLineageGraph() throws Exception {
Graph g = new TinkerGraph();
IMetaverseBuilder builder = new MetaverseBuilder(g);
holder.setMetaverseBuilder(builder);
writer.setGraphOutputStream(System.out);
IGraphWriter graphWriter = mock(IGraphWriter.class);
writer.setGraphWriter(graphWriter);
writer.outputLineageGraph(holder);
}
use of com.tinkerpop.blueprints.impls.tg.TinkerGraph in project pentaho-metaverse by pentaho.
the class MetaverseBuilderTest method before.
@Before
public void before() {
graph = new TinkerGraph();
builder = new MetaverseBuilder(graph);
node.setStringID("node1");
node.setName("node1 name");
node.setType("test type");
}
Aggregations