From 59cc63e2de6308f8adfb13f89035ab3900dadb7e Mon Sep 17 00:00:00 2001 From: Michael Doube Date: Wed, 15 May 2024 05:48:03 +0800 Subject: [PATCH] Rename test methods to better represent their action --- .../org/bonej/wrapperPlugins/AnalyseSkeletonWrapperTest.java | 4 ++-- .../org/bonej/wrapperPlugins/EllipsoidFactorWrapperTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Modern/wrapperPlugins/src/test/java/org/bonej/wrapperPlugins/AnalyseSkeletonWrapperTest.java b/Modern/wrapperPlugins/src/test/java/org/bonej/wrapperPlugins/AnalyseSkeletonWrapperTest.java index 5c5b25f3..e74c5eeb 100644 --- a/Modern/wrapperPlugins/src/test/java/org/bonej/wrapperPlugins/AnalyseSkeletonWrapperTest.java +++ b/Modern/wrapperPlugins/src/test/java/org/bonej/wrapperPlugins/AnalyseSkeletonWrapperTest.java @@ -354,7 +354,7 @@ public void testTimeDimensionCancelsPlugin() throws Exception { } @Test - public void testCancelledRunDoesNotReport() throws ExecutionException, + public void testEmptyImageCancels() throws ExecutionException, InterruptedException { // SETUP @@ -372,7 +372,7 @@ public void testCancelledRunDoesNotReport() throws ExecutionException, } @Test - public void testSuccessfulRunReports() throws ExecutionException, + public void testSensibleInputDoesNotCancel() throws ExecutionException, InterruptedException { // SETUP diff --git a/Modern/wrapperPlugins/src/test/java/org/bonej/wrapperPlugins/EllipsoidFactorWrapperTest.java b/Modern/wrapperPlugins/src/test/java/org/bonej/wrapperPlugins/EllipsoidFactorWrapperTest.java index 1309b035..d2965c87 100644 --- a/Modern/wrapperPlugins/src/test/java/org/bonej/wrapperPlugins/EllipsoidFactorWrapperTest.java +++ b/Modern/wrapperPlugins/src/test/java/org/bonej/wrapperPlugins/EllipsoidFactorWrapperTest.java @@ -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 @@ -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);