Hm, uh, I'm basically implementing a read-only interface (the graph is constructed using the underlying datastore.
How do I test that? And does that imply I need to go tot he Process implementations, or are there basic queries I can run that only need the Structure implementations? On Sat, Sep 17, 2016 at 3:01 AM, Const Eust <[email protected]> wrote: > Ha, I found them :-) TinkerGraphStructureStandardTest looks to be exactly > what I needed! > > On Sat, Sep 17, 2016 at 3:00 AM, Stephen Mallette <[email protected]> > wrote: > >> sorry: >> >> https://github.com/apache/tinkerpop/blob/4293eb333dfbf3aea19 >> cd326f9f3d13619ac0b54/tinkergraph-gremlin/src/test/ >> java/org/apache/tinkerpop/gremlin/tinkergraph/structure/ >> TinkerGraphStructureStandardTest.java >> >> and >> >> https://github.com/apache/tinkerpop/blob/4293eb333dfbf3aea19 >> cd326f9f3d13619ac0b54/tinkergraph-gremlin/src/test/ >> java/org/apache/tinkerpop/gremlin/tinkergraph/TinkerGraphProvider.java >> >> >> >> On Sat, Sep 17, 2016 at 3:34 AM, Const Eust <[email protected]> >> wrote: >> >> > Ok I'll check those two classes. Links aren't working but I'll google. >> > >> > I did the opt-ins and feature classes, so those should be ready to be >> > debugged. >> > >> > Thanks. >> > >> > On Sat, Sep 17, 2016 at 2:29 AM, Stephen Mallette <[email protected] >> > >> > wrote: >> > >> > > If you are building a Graph implementation, you can validate with >> > > gremlin-test if you follow these instructions: >> > > >> > > http://tinkerpop.apache.org/docs/3.2.2/dev/provider/# >> > > validating-with-gremlin-test >> > > >> > > It might also help to look at the tinkergraph-gremlin tests for >> structure >> > > to see how they are setup. You pretty much need a file like this: >> > > >> > > https://github.com/riptano/tinkerpop/blob/ae1978d53496fbe17e >> dd09bc5e63db >> > > 9a777800fa/tinkergraph-gremlin/src/test/java/org/ >> > apache/tinkerpop/gremlin/ >> > > tinkergraph/structure/TinkerGraphStructureStandardTest.java >> > > >> > > and a GraphProvider implementation like this: >> > > >> > > >> > > https://github.com/riptano/tinkerpop/blob/ae1978d53496fbe17e >> dd09bc5e63db >> > > 9a777800fa/tinkergraph-gremlin/src/test/java/org/ >> > apache/tinkerpop/gremlin/ >> > > tinkergraph/TinkerGraphProvider.java >> > > >> > > On Sat, Sep 17, 2016 at 3:24 AM, Const Eust < >> [email protected] >> > > >> > > wrote: >> > > >> > > > I'm trying to write a read-only OLTP interface bridge into a custom >> > > engine. >> > > > >> > > >> > >> > >
