Github user spmallette commented on a diff in the pull request:
https://github.com/apache/incubator-tinkerpop/pull/175#discussion_r49443884
--- Diff:
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/IoTest.java
---
@@ -249,6 +250,63 @@ public void shouldProperlyEncodeWithGraphML() throws
Exception {
// need to manually close the "g2" instance
graphProvider.clear(g2, configuration);
}
+
+ @Test
+ @FeatureRequirement(featureClass =
Graph.Features.EdgeFeatures.class, feature =
Graph.Features.EdgeFeatures.FEATURE_ADD_EDGES)
+ @FeatureRequirement(featureClass = EdgePropertyFeatures.class,
feature = FEATURE_STRING_VALUES)
+ @FeatureRequirement(featureClass =
Graph.Features.VertexFeatures.class, feature =
Graph.Features.VertexFeatures.FEATURE_ADD_VERTICES)
+ public void shouldReadWriteSelfLoopingEdges() throws Exception {
+ final Configuration sourceConf =
graphProvider.newGraphConfiguration("source", this.getClass(),
name.getMethodName(), null);
--- End diff --
@laxatives you don't need to create a new graph here as you get one for
free by virtue of starting a test. Just assign the "graph" variable to your
"source" variable on the line below. please do that for the other tests as
well.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---