Skip to content

Commit

Permalink
Changed test names to be more general
Browse files Browse the repository at this point in the history
  • Loading branch information
yanqilee committed Mar 1, 2019
1 parent 0eb52d4 commit 53355b4
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -120,15 +120,15 @@ public void testInitialPhaseList() {
} }


@Test(expected = IllegalArgumentException.class) @Test(expected = IllegalArgumentException.class)
public void testZgcAddNullPhase() { public void testAddNullPhase() {
AbstractGCEvent event = getNewAbstractEvent(); AbstractGCEvent event = getNewAbstractEvent();
event.addPhases(null); event.addPhases(null);


assertTrue("phases list is empty", event.getPhases().isEmpty()); assertTrue("phases list is empty", event.getPhases().isEmpty());
} }


@Test @Test
public void testZgcAddValidPhase() { public void testAddValidPhase() {
AbstractGCEvent event = getNewAbstractEvent(); AbstractGCEvent event = getNewAbstractEvent();


GCEvent phaseEvent = new GCEvent(); GCEvent phaseEvent = new GCEvent();
Expand Down

0 comments on commit 53355b4

Please sign in to comment.