Skip to content

Commit

Permalink
devonfw#103: fixed merge issues
Browse files Browse the repository at this point in the history
added missing answers param to newContext
  • Loading branch information
jan-vcapgemini committed Feb 22, 2024
1 parent 6da9066 commit 2862e6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ protected static IdeTestContext newContext(String projectTestCaseName, String pr
* @param answers the answers to use for the {@link IdeTestContext}.
* @return the {@link IdeTestContext} pointing to that project.
*/
protected static IdeTestContext newContext(String projectTestCaseName, String projectPath, boolean copyForMutation) {
protected static IdeTestContext newContext(String projectTestCaseName, String projectPath, boolean copyForMutation,
String... answers) {

Path sourceDir = PATH_PROJECTS.resolve(projectTestCaseName);
Path userDir = sourceDir.resolve("project");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import java.nio.file.Path;
import java.util.List;

import org.junit.jupiter.api.Test;

import com.devonfw.tools.ide.context.AbstractIdeContextTest;
import com.devonfw.tools.ide.context.IdeContext;
import com.devonfw.tools.ide.context.IdeTestContext;
Expand All @@ -11,7 +13,6 @@
import com.devonfw.tools.ide.url.model.file.UrlSecurityJsonFile;
import com.devonfw.tools.ide.version.VersionIdentifier;
import com.devonfw.tools.ide.version.VersionRange;
import org.junit.jupiter.api.Test;

/** Test of {@link ToolCommandlet} */
public class ToolCommandletTest extends AbstractIdeContextTest {
Expand Down

0 comments on commit 2862e6b

Please sign in to comment.