1
0
Fork 0

renamed _getFromVertex(...) -> _fromVertex(..)

This commit is contained in:
gschwab 2014-06-23 09:47:48 +02:00
parent d31e8f784b
commit 69df68c54e
4 changed files with 403 additions and 586 deletions

View File

@ -6,7 +6,7 @@ This chapter describes various functions on a graph.
!SUBSECTION Get vertex *from* of an edge
@startDocuBlock JSF_general_graph_getFromVertex
@startDocuBlock JSF_general_graph_fromVertex
!SUBSECTION Get vertex *to* of an edge

View File

@ -1619,7 +1619,7 @@ var _create = function (graphName, edgeDefinitions, orphanCollections) {
if (JSON.stringify(sGED) !== JSON.stringify(tmpEdgeDefinitions[col])) {
err = new ArangoError();
err.errorNum = arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.code;
err.errorMessage = col
err.errorMessage = col + " "
+ arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message;
throw err;
}
@ -3498,7 +3498,7 @@ Graph.prototype._extendEdgeDefinitions = function(edgeDefinition) {
err = new ArangoError();
err.errorNum = arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.code;
err.errorMessage = col
+ arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message;
+ " " + arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message;
throw err;
}
}

View File

@ -529,7 +529,7 @@ function GeneralGraphCreationSuite() {
} catch (e) {
assertEqual(
e.errorMessage,
ec2 + arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message
ec2 + " " + arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message
);
}
@ -1891,7 +1891,7 @@ function EdgesAndVerticesSuite() {
} catch (e) {
assertEqual(
e.errorMessage,
ec1 + arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message
ec1 + " " + arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message
);
}
assertFalse(graph._exists(myGraphName));