Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve test case name #24

Merged
merged 1 commit into from
Aug 22, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1832,13 +1832,15 @@ public void testUpdateEdgePropertyOfNewEdge() {
}

@Test
public void testUpdateEdgePropertyOfAddingVertex() {
public void testUpdateEdgePropertyOfAddingEdge() {
Edge edge = initEdgeTransfer();

Vertex louise = vertex("person", "name", "Louise");
Vertex sean = vertex("person", "name", "Sean");

louise.addEdge("transfer", sean, "id", 1, "amount", 500.00F,
"timestamp", edge.value("timestamp"));
"timestamp", edge.value("timestamp"),
"message", "Happy birthday!");

Assert.assertThrows(IllegalArgumentException.class, () -> {
edge.property("message").remove();
Expand All @@ -1849,7 +1851,7 @@ public void testUpdateEdgePropertyOfAddingVertex() {
}

@Test
public void testUpdateEdgePropertyOfRemovingVertex() {
public void testUpdateEdgePropertyOfRemovingEdge() {
Edge edge = initEdgeTransfer();

edge.remove();
Expand All @@ -1863,7 +1865,7 @@ public void testUpdateEdgePropertyOfRemovingVertex() {
}

@Test
public void testUpdateEdgePropertyOfRemovingVertexWithDrop() {
public void testUpdateEdgePropertyOfRemovingEdgeWithDrop() {
HugeGraph graph = graph();
Edge edge = initEdgeTransfer();

Expand Down