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/09/09 14:37:11 UTC

[10/13] incubator-tinkerpop git commit: Add asserts for partitionKey hiding on properties()/values()

Add asserts for partitionKey hiding on properties()/values()


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

Branch: refs/heads/master
Commit: c3de6f8c267c89e9a46001739c0e2f335f7165f7
Parents: 9be5313
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Tue Sep 8 13:59:08 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Tue Sep 8 13:59:08 2015 -0400

----------------------------------------------------------------------
 .../strategy/decoration/PartitionStrategyProcessTest.java          | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/c3de6f8c/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategyProcessTest.java
----------------------------------------------------------------------
diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategyProcessTest.java b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategyProcessTest.java
index f0d5e27..e8300dd 100644
--- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategyProcessTest.java
+++ b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategyProcessTest.java
@@ -119,6 +119,7 @@ public class PartitionStrategyProcessTest extends AbstractGremlinProcessTest {
         assertThat(gOverA.V(v).properties("any").hasNext(), is(true));
         assertThat(gOverB.V(v).properties("any").hasNext(), is(false));
         assertThat(gOverB.V(v).properties("that").hasNext(), is(false));
+        assertThat(gOverAB.V(v).properties("partitionKey").hasNext(), is(false));
 
         assertThat(gOverAB.V(v).values("any").hasNext(), is(true));
         assertThat(gOverAB.V(v).values("that").hasNext(), is(true));
@@ -126,6 +127,7 @@ public class PartitionStrategyProcessTest extends AbstractGremlinProcessTest {
         assertThat(gOverA.V(v).values("any").hasNext(), is(true));
         assertThat(gOverB.V(v).values("any").hasNext(), is(false));
         assertThat(gOverB.V(v).values("that").hasNext(), is(false));
+        assertThat(gOverAB.V(v).values("partitionKey").hasNext(), is(false));
 
         assertThat(gOverAB.V(v).propertyMap().next().containsKey("any"), is(true));
         assertThat(gOverAB.V(v).propertyMap().next().containsKey("that"), is(true));