Fix javadoc warnings in junitlauncher task
Project: http://git-wip-us.apache.org/repos/asf/ant/repo Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/80a0e76f Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/80a0e76f Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/80a0e76f Branch: refs/heads/master Commit: 80a0e76ff22136ece626e5516aeeabd6ef761b3b Parents: 3f6c9e5 Author: Jaikiran Pai <[email protected]> Authored: Fri Aug 17 12:52:09 2018 +0530 Committer: Jaikiran Pai <[email protected]> Committed: Fri Aug 17 12:52:09 2018 +0530 ---------------------------------------------------------------------- .../optional/junitlauncher/JUnitLauncherTask.java | 3 +-- .../optional/junitlauncher/LaunchDefinition.java | 18 ++++++------------ .../junitlauncher/StandaloneLauncher.java | 2 +- 3 files changed, 8 insertions(+), 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ant/blob/80a0e76f/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/JUnitLauncherTask.java ---------------------------------------------------------------------- diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/JUnitLauncherTask.java b/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/JUnitLauncherTask.java index a328e4b..028397e 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/JUnitLauncherTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/JUnitLauncherTask.java @@ -62,8 +62,7 @@ import static org.apache.tools.ant.taskdefs.optional.junitlauncher.Constants.LD_ * platform for test execution. It however, is solely the JUnit 5 platform, backed by test engines that * decide and execute the tests. * - * @see <a href="https://junit.org/junit5/">JUnit 5 documentation</a> for more details - * on how JUnit manages the platform and the test engines. + * @see <a href="https://junit.org/junit5/">JUnit 5 documentation</a> */ public class JUnitLauncherTask extends Task { http://git-wip-us.apache.org/repos/asf/ant/blob/80a0e76f/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/LaunchDefinition.java ---------------------------------------------------------------------- diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/LaunchDefinition.java b/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/LaunchDefinition.java index d3e5ae3..3dd5350 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/LaunchDefinition.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/LaunchDefinition.java @@ -27,49 +27,43 @@ import java.util.List; public interface LaunchDefinition { /** - * Returns the {@link TestDefinition tests} that have to be launched + * @return Returns the {@link TestDefinition tests} that have to be launched * - * @return */ List<TestDefinition> getTests(); /** - * Returns the default {@link ListenerDefinition listeners} that will be used + * @return Returns the default {@link ListenerDefinition listeners} that will be used * for the tests, if the {@link #getTests() tests} themselves don't specify any * - * @return */ List<ListenerDefinition> getListeners(); /** - * Returns true if a summary needs to be printed out after the execution of the + * @return Returns true if a summary needs to be printed out after the execution of the * tests. False otherwise. * - * @return */ boolean isPrintSummary(); /** - * Returns true if any remaining tests launch need to be stopped if any test execution + * @return Returns true if any remaining tests launch need to be stopped if any test execution * failed. False otherwise. * - * @return */ boolean isHaltOnFailure(); /** - * Returns the {@link ClassLoader} that has to be used for launching and execution of the + * @return Returns the {@link ClassLoader} that has to be used for launching and execution of the * tests * - * @return */ ClassLoader getClassLoader(); /** - * Returns the {@link TestExecutionContext} that will be passed to {@link TestResultFormatter#setContext(TestExecutionContext) + * @return Returns the {@link TestExecutionContext} that will be passed to {@link TestResultFormatter#setContext(TestExecutionContext) * result formatters} which are applicable during the execution of the tests. * - * @return */ TestExecutionContext getTestExecutionContext(); } http://git-wip-us.apache.org/repos/asf/ant/blob/80a0e76f/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/StandaloneLauncher.java ---------------------------------------------------------------------- diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/StandaloneLauncher.java b/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/StandaloneLauncher.java index 7e342cc..8f43da3 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/StandaloneLauncher.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/StandaloneLauncher.java @@ -59,7 +59,7 @@ public class StandaloneLauncher { * Entry point to launching the forked test. * * @param args The arguments passed to this program for launching the tests - * @throws Exception + * @throws Exception If any exception occurs during the execution */ public static void main(final String[] args) throws Exception { // The main responsibility of this entry point is to create a LaunchDefinition,
