Browse Source

Fix javadoc warnings in junitlauncher task

master
Jaikiran Pai 6 years ago
parent
commit
80a0e76ff2
3 changed files with 8 additions and 15 deletions
  1. +1
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/JUnitLauncherTask.java
  2. +6
    -12
      src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/LaunchDefinition.java
  3. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/StandaloneLauncher.java

+ 1
- 2
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/JUnitLauncherTask.java View File

@@ -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 {



+ 6
- 12
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/LaunchDefinition.java View File

@@ -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();
}

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/StandaloneLauncher.java View File

@@ -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,


Loading…
Cancel
Save