Skip to content

Commit

Permalink
improve test case name
Browse files Browse the repository at this point in the history
Change-Id: I56406af9b9845bfa2f43d6fccf51bc9ed8e19cbc
  • Loading branch information
zhoney authored and Linary committed Aug 22, 2018
1 parent e07c1fb commit ecdc5c4
Showing 1 changed file with 6 additions and 4 deletions.
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

0 comments on commit ecdc5c4

Please sign in to comment.