@@ -0,0 +1,1672 @@
+/*%0A * Bach - Java Shell Builder%0A * Copyright (C) 2020 Christian Stein%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     https://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage de.sormuras.bach.tool;%0A%0Aimport de.sormuras.bach.internal.Modules;%0Aimport java.nio.file.Path;%0Aimport java.util.List;%0Aimport java.util.Optional;%0Aimport java.util.spi.ToolProvider;%0A%0A/** A JUnit Platform launcher configuration. */%0Apublic final class JUnit implements Call%3CJUnit%3E %7B%0A%0A  private final String module;%0A  private final List%3CPath%3E modulePaths;%0A  private final List%3CArgument%3E arguments;%0A%0A  public JUnit(String module, List%3CPath%3E modulePaths, List%3CArgument%3E arguments) %7B%0A    this.module = module;%0A    this.modulePaths = modulePaths;%0A    this.arguments = arguments;%0A  %7D%0A%0A  @Override%0A  public String name() %7B%0A    return %22junit%22;%0A  %7D%0A%0A  @Override%0A  public List%3CArgument%3E arguments() %7B%0A    return arguments;%0A  %7D%0A%0A%0A  @Override%0A  public Optional%3CToolProvider%3E tool() %7B%0A    return Modules.findTools(module, modulePaths).stream()%0A        .filter(provider -%3E provider.name().equals(name()))%0A        .findAny();%0A  %7D%0A%0A  @Override%0A  public JUnit with(List%3CArgument%3E arguments) %7B%0A    return new JUnit(module, modulePaths, arguments);%0A  %7D%0A%7D%0A

Introduce JUnit Platform "junit" call