Search in sources :

Example 1 with JOptSimpleCommandLineOptionsParser

use of org.junit.platform.console.options.JOptSimpleCommandLineOptionsParser in project junit5 by junit-team.

the class ConsoleLauncher method execute.

@API(status = INTERNAL, since = "1.0")
public static ConsoleLauncherExecutionResult execute(PrintStream out, PrintStream err, String... args) {
    CommandLineOptionsParser parser = new JOptSimpleCommandLineOptionsParser();
    ConsoleLauncher consoleLauncher = new ConsoleLauncher(parser, out, err);
    return consoleLauncher.execute(args);
}
Also used : JOptSimpleCommandLineOptionsParser(org.junit.platform.console.options.JOptSimpleCommandLineOptionsParser) CommandLineOptionsParser(org.junit.platform.console.options.CommandLineOptionsParser) JOptSimpleCommandLineOptionsParser(org.junit.platform.console.options.JOptSimpleCommandLineOptionsParser) API(org.apiguardian.api.API)

Aggregations

API (org.apiguardian.api.API)1 CommandLineOptionsParser (org.junit.platform.console.options.CommandLineOptionsParser)1 JOptSimpleCommandLineOptionsParser (org.junit.platform.console.options.JOptSimpleCommandLineOptionsParser)1