use of org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy in project janusgraph by JanusGraph.
the class JanusGraphStepStrategyTest method doTest.
@Test
public void doTest() {
final TraversalStrategies strategies = new DefaultTraversalStrategies();
strategies.addStrategies(JanusGraphStepStrategy.instance());
for (final TraversalStrategy strategy : this.otherStrategies) {
strategies.addStrategies(strategy);
}
this.original.asAdmin().setStrategies(strategies);
this.original.asAdmin().applyStrategies();
assertEquals(this.optimized, this.original);
}
Aggregations