Created
November 16, 2011 16:43
-
-
Save okram/1370596 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tinkerpop.gremlin.scala.transform | |
import com.tinkerpop.blueprints.pgm.Vertex | |
import com.tinkerpop.blueprints.pgm.impls.tg.TinkerGraphFactory | |
import com.tinkerpop.gremlin.test.UtilitiesTest | |
import com.tinkerpop.gremlin.scala._ | |
import com.tinkerpop.pipes.branch.LoopPipe.LoopBundle | |
class PathStepTest extends com.tinkerpop.gremlin.test.transform.PathStepTest { | |
val g = TinkerGraphFactory.createTinkerGraph() | |
/*override def testCompliance() { | |
UtilitiesTest.testCompliance(this.getClass()) | |
}*/ | |
def test_g_v1_propertyXnameX_paths() { | |
super.test_g_v1_propertyXnameX_paths(g.v(1).property("name").paths) | |
} | |
def test_g_v1_out_pathsXage__nameX() { | |
super.test_g_v1_out_pathsXage__nameX(g.v(1).out.path({v: Vertex => v("age")}, {v: Vertex => v("name")})) | |
} | |
/*def test_g_V_out_loopX1__loops_lt_3X_pathsXit__name__langX() { | |
val p = g.V.out.loop(1, {lb: LoopBundle[Vertex] => lb.loops < 3}).path({v: Vertex => v}, {v: Vertex => v("name")}, {v: Vertex => v("lang")}) | |
super.test_g_V_out_loopX1__loops_lt_3X_pathsXit__name__langX(p) | |
}*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment