You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/03/11 19:26:41 UTC
[25/50] [abbrv] incubator-tinkerpop git commit: Test case for
ReadOnlyGraphStrategy is now working.
Test case for ReadOnlyGraphStrategy is now working.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/c9dbd3a4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/c9dbd3a4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/c9dbd3a4
Branch: refs/heads/master
Commit: c9dbd3a4eacf8a7ceda4022977a460acd24fb311
Parents: 35cabe8
Author: Stephen Mallette <sp...@apache.org>
Authored: Tue Mar 10 07:13:37 2015 -0400
Committer: Stephen Mallette <sp...@apache.org>
Committed: Tue Mar 10 07:13:37 2015 -0400
----------------------------------------------------------------------
.../tinkerpop/gremlin/structure/strategy/ReadOnlyStrategyTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/c9dbd3a4/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/strategy/ReadOnlyStrategyTest.java
----------------------------------------------------------------------
diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/strategy/ReadOnlyStrategyTest.java b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/strategy/ReadOnlyStrategyTest.java
index 7374a04..4d71355 100644
--- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/strategy/ReadOnlyStrategyTest.java
+++ b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/strategy/ReadOnlyStrategyTest.java
@@ -52,7 +52,7 @@ public class ReadOnlyStrategyTest extends AbstractGremlinTest {
@FeatureRequirement(featureClass = Graph.Features.VertexFeatures.class, feature = FEATURE_ADD_VERTICES)
public void shouldNotAllowRemoveVertex() {
graph.addVertex();
- assertException(g -> graph.vertices().forEachRemaining(Vertex::remove));
+ assertException(g -> g.vertices().forEachRemaining(Vertex::remove));
}
@Test