You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2017/05/16 15:50:30 UTC

[03/43] tinkerpop git commit: Fixed bad error messages in tests

Fixed bad error messages in tests


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

Branch: refs/heads/TINKERPOP-786
Commit: 87ed2ec8816b44b0a1c6e427491c7fd5f74da0ed
Parents: 4c0c5a9
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Thu May 11 07:22:43 2017 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Thu May 11 07:22:43 2017 -0400

----------------------------------------------------------------------
 .../apache/tinkerpop/gremlin/structure/FeatureSupportTest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/87ed2ec8/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/FeatureSupportTest.java
----------------------------------------------------------------------
diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/FeatureSupportTest.java b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/FeatureSupportTest.java
index 98406b4..11474c5 100644
--- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/FeatureSupportTest.java
+++ b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/FeatureSupportTest.java
@@ -388,7 +388,7 @@ public class FeatureSupportTest {
             try {
                 final Vertex v = graph.addVertex();
                 v.addEdge("friend", v);
-                fail(String.format(INVALID_FEATURE_SPECIFICATION, VertexFeatures.class.getSimpleName(), EdgeFeatures.FEATURE_ADD_EDGES));
+                fail(String.format(INVALID_FEATURE_SPECIFICATION, EdgeFeatures.class.getSimpleName(), EdgeFeatures.FEATURE_ADD_EDGES));
             } catch (Exception e) {
                 validateException(Vertex.Exceptions.edgeAdditionsNotSupported(), e);
             }
@@ -402,7 +402,7 @@ public class FeatureSupportTest {
             try {
                 final Vertex v = graph.addVertex();
                 v.addEdge("friend", v, T.id, graphProvider.convertId(99999943835l, Edge.class));
-                fail(String.format(INVALID_FEATURE_SPECIFICATION, VertexFeatures.class.getSimpleName(), EdgeFeatures.FEATURE_USER_SUPPLIED_IDS));
+                fail(String.format(INVALID_FEATURE_SPECIFICATION, EdgeFeatures.class.getSimpleName(), EdgeFeatures.FEATURE_USER_SUPPLIED_IDS));
             } catch (Exception e) {
                 validateException(Edge.Exceptions.userSuppliedIdsNotSupported(), e);
             }
@@ -711,7 +711,7 @@ public class FeatureSupportTest {
             try {
                 final Vertex v = graph.addVertex();
                 v.property(VertexProperty.Cardinality.single, "name", "me", T.id, graphProvider.convertId(99999943835l, VertexProperty.class));
-                fail(String.format(INVALID_FEATURE_SPECIFICATION, VertexFeatures.class.getSimpleName(), VertexPropertyFeatures.FEATURE_USER_SUPPLIED_IDS));
+                fail(String.format(INVALID_FEATURE_SPECIFICATION, VertexPropertyFeatures.class.getSimpleName(), VertexPropertyFeatures.FEATURE_USER_SUPPLIED_IDS));
             } catch (Exception ex) {
                 validateException(VertexProperty.Exceptions.userSuppliedIdsNotSupported(), ex);
             }