Skip to content

Commit

Permalink
Merge pull request #103 from velo/gremling-3.2.3
Browse files Browse the repository at this point in the history
Bump gremlin version to 3.2.3
  • Loading branch information
mpollmeier committed Oct 30, 2016
2 parents 26791a7 + 361b785 commit 7f6f936
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions driver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.michaelpollmeier</groupId>
<artifactId>orientdb-gremlin</artifactId>
<version>3.2.1.2</version>
<version>3.2.3.0-SNAPSHOT</version>
<name>Apache TinkerPop :: OrientDB Gremlin</name>
<description>TinkerPop3 Graph Structure Implementation for OrientDB</description>
<url>https://github.com/mpollmeier/orientdb-gremlin/</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<gremlin.version>3.2.1</gremlin.version>
<gremlin.version>3.2.3</gremlin.version>
<orientdb.version>2.2.8</orientdb.version>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ public String toString() {
: StringFactory.stepString(this, this.returnClass.getSimpleName().toLowerCase(), Arrays.toString(this.ids), this.hasContainers);
}

private <E extends Element> Iterator<E> iteratorList(final Iterator<E> iterator) {
final List<E> list = new ArrayList<>();
private <X extends Element> Iterator<X> iteratorList(final Iterator<X> iterator) {
final List<X> list = new ArrayList<>();
while (iterator.hasNext()) {
final E e = iterator.next();
final X e = iterator.next();
if (HasContainer.testAll(e, this.hasContainers))
list.add(e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public Map<String, Object> getBaseConfiguration(String graphName, Class<?> test,
if (IGNORED_TESTS.containsKey(test) && IGNORED_TESTS.get(test).contains(testMethodName))
throw new AssumptionViolatedException("We allow mixed ids");

if (testMethodName.contains("graphson-v2"))
throw new AssumptionViolatedException("graphson-v2 support not implemented");

HashMap<String, Object> configs = new HashMap<String, Object>();
configs.put(Graph.GRAPH, OrientGraph.class.getName());
configs.put("name", graphName);
Expand Down
4 changes: 2 additions & 2 deletions tests-scala/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "2.2.4" % Test,
"com.orientechnologies" % "orientdb-graphdb" % orientDBVersion,
"com.orientechnologies" % "orientdb-client" % orientDBVersion,
"com.michaelpollmeier" %% "gremlin-scala" % "3.2.1.0",
"com.michaelpollmeier" % "orientdb-gremlin" % "3.2.1.2"
"com.michaelpollmeier" %% "gremlin-scala" % "3.2.3.1",
"com.michaelpollmeier" % "orientdb-gremlin" % "3.2.3.0-SNAPSHOT"
)

testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oD")

0 comments on commit 7f6f936

Please sign in to comment.