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/09 21:43:11 UTC

incubator-tinkerpop git commit: Fix broken test by removing metaproperties inside of vertexproperties themselves.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/newapi ae392a463 -> 96eef74f3


Fix broken test by removing metaproperties inside of vertexproperties themselves.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/96eef74f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/96eef74f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/96eef74f

Branch: refs/heads/newapi
Commit: 96eef74f39e93be3fdd00fe66a8bdab99dce0c7f
Parents: ae392a4
Author: Stephen Mallette <sp...@apache.org>
Authored: Mon Mar 9 16:42:46 2015 -0400
Committer: Stephen Mallette <sp...@apache.org>
Committed: Mon Mar 9 16:42:46 2015 -0400

----------------------------------------------------------------------
 .../org/apache/tinkerpop/gremlin/structure/VertexPropertyTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/96eef74f/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/VertexPropertyTest.java
----------------------------------------------------------------------
diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/VertexPropertyTest.java b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/VertexPropertyTest.java
index 7be6b02..ec52536 100644
--- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/VertexPropertyTest.java
+++ b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/VertexPropertyTest.java
@@ -335,7 +335,7 @@ public class VertexPropertyTest extends AbstractGremlinTest {
             assertEquals(4, IteratorUtils.count(daniel.properties()));
             assertEquals(12, IteratorUtils.list(IteratorUtils.map(daniel.properties(), p -> IteratorUtils.count(p.properties()))).stream().mapToInt(kv -> kv.intValue()).sum());
 
-            daniel.properties().forEachRemaining(Property::remove);
+            daniel.properties().forEachRemaining(p -> p.properties().forEachRemaining(Property::remove));
             assertEquals(4, IteratorUtils.count(daniel.properties()));
             assertEquals(0, IteratorUtils.list(IteratorUtils.map(daniel.properties(), p -> IteratorUtils.count(p.properties()))).stream().mapToInt(kv -> kv.intValue()).sum());