added a test around paths where once past the path, back to selective 
processing.


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

Branch: refs/heads/TINKERPOP-1278
Commit: e5ef4c0edf49dbd48d8154ea8cab6cc94ba3ea4e
Parents: 923a715
Author: Marko A. Rodriguez <okramma...@gmail.com>
Authored: Sat Jul 9 09:47:51 2016 -0600
Committer: Marko A. Rodriguez <okramma...@gmail.com>
Committed: Sat Jul 9 09:47:51 2016 -0600

----------------------------------------------------------------------
 .../traversal/strategy/optimization/PrunePathStrategyTest.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/e5ef4c0e/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/PrunePathStrategyTest.java
----------------------------------------------------------------------
diff --git 
a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/PrunePathStrategyTest.java
 
b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/PrunePathStrategyTest.java
index c4385b3..39b1cc0 100644
--- 
a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/PrunePathStrategyTest.java
+++ 
b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/PrunePathStrategyTest.java
@@ -166,6 +166,8 @@ public class PrunePathStrategyTest {
                 // TODO: below is broken -- the provided answer is correct.
                 // 
{__.V().select("a").map(select("b").repeat(select("c"))).select("a"),
                 //"[[a, b, c], [[a, b, c], [[a, b, c]]], []]", null}
+                // TODO: once we are past the path, we can do selective 
selecting again
+                // {__.V().select("a").path().select("b").select("c"), "[[c], 
[]]", null}
         });
     }
 }

Reply via email to