Skip to content

Commit

Permalink
Rename test methods to better represent their action
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoube committed May 14, 2024
1 parent 7276be9 commit 59cc63e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public void testTimeDimensionCancelsPlugin() throws Exception {
}

@Test
public void testCancelledRunDoesNotReport() throws ExecutionException,
public void testEmptyImageCancels() throws ExecutionException,
InterruptedException
{
// SETUP
Expand All @@ -372,7 +372,7 @@ public void testCancelledRunDoesNotReport() throws ExecutionException,
}

@Test
public void testSuccessfulRunReports() throws ExecutionException,
public void testSensibleInputDoesNotCancel() throws ExecutionException,
InterruptedException
{
// SETUP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void testNullImageCancelsConnectivity() {

@Category(org.bonej.wrapperPlugins.SlowWrapperTest.class)
@Test
public void testCancelledRunDoesNotReport() throws ExecutionException,
public void testEmptyImageCancels() throws ExecutionException,
InterruptedException
{
// SETUP
Expand Down Expand Up @@ -105,7 +105,7 @@ public void testCancelledRunDoesNotReport() throws ExecutionException,

@Category(org.bonej.wrapperPlugins.SlowWrapperTest.class)
@Test
public void testSuccessfulRunReports() throws ExecutionException, InterruptedException {
public void testSensibleInputDoesNotCancel() throws ExecutionException, InterruptedException {
final DefaultLinearAxis xAxis = new DefaultLinearAxis(Axes.X, "", 1.0);
final DefaultLinearAxis yAxis = new DefaultLinearAxis(Axes.Y, "", 1.0);
final DefaultLinearAxis zAxis = new DefaultLinearAxis(Axes.Z, "", 1.0);
Expand Down

0 comments on commit 59cc63e

Please sign in to comment.