Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 0cab927550
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (20 sloc) 1.11 kB
package com.tinkerpop.gremlin.scala.transform
import com.tinkerpop.gremlin.test.ComplianceTest
import com.tinkerpop.blueprints.Vertex
import com.tinkerpop.gremlin.scala._
import com.tinkerpop.blueprints.impls.tg.TinkerGraphFactory
class TransformStepTest extends com.tinkerpop.gremlin.test.transform.TransformStepTest {
val g = TinkerGraphFactory.createTinkerGraph()
override def testCompliance() {
ComplianceTest.testCompliance(this.getClass)
}
def test_g_v1_transformXnameX() {
super.test_g_v1_transformXnameX(g.v(1).->.transform({v: Vertex => v.getProperty("name").toString}))
}
def test_g_v1_outE_label_transformXlengthX() {
super.test_g_v1_outE_label_transformXlengthX(g.v(1).outE.label.transform({s: String => s.length(): java.lang.Integer})) //TODO eliminate the :java.lang.Integer
}
def test_g_v1_out_transformXnameX_transformXlengthX() {
super.test_g_v1_out_transformXnameX_transformXlengthX(g.v(1).out.transform({v: Vertex => v.getProperty("name").toString}).transform({s: String => s.length(): java.lang.Integer})) //TODO eliminate the :java.lang.Integer
}
}
Jump to Line
Something went wrong with that request. Please try again.