Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0cab927550
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (21 sloc) 0.884 kb
package com.tinkerpop.gremlin.scala.filter
import com.tinkerpop.blueprints.impls.tg.TinkerGraphFactory
import com.tinkerpop.gremlin.test.ComplianceTest
import com.tinkerpop.gremlin.scala._
import com.tinkerpop.pipes.Pipe
import com.tinkerpop.blueprints.{Graph, Vertex}
/**
* @author Marko A. Rodriguez (http://markorodriguez.com)
*/
class DedupStepTest extends com.tinkerpop.gremlin.test.filter.DedupStepTest {
val g = TinkerGraphFactory.createTinkerGraph();
override def testCompliance() {
ComplianceTest.testCompliance(this.getClass)
}
def test_g_V_both_dedup_name() {
super.test_g_V_both_dedup_name(g.V.both().dedup.property("name").asInstanceOf[Pipe[Vertex, String]]);
}
def test_g_V_both_dedupXlangX_name() {
super.test_g_V_both_dedupXlangX_name(g.V.both().dedup {v: Vertex => v("lang")}.property("name").asInstanceOf[Pipe[Vertex, String]])
}
}
Jump to Line
Something went wrong with that request. Please try again.