Skip to content

Commit 2862e6b

Browse files
devonfw#103: fixed merge issues
added missing answers param to newContext
1 parent 6da9066 commit 2862e6b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cli/src/test/java/com/devonfw/tools/ide/context/AbstractIdeContextTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ protected static IdeTestContext newContext(String projectTestCaseName, String pr
6262
* @param answers the answers to use for the {@link IdeTestContext}.
6363
* @return the {@link IdeTestContext} pointing to that project.
6464
*/
65-
protected static IdeTestContext newContext(String projectTestCaseName, String projectPath, boolean copyForMutation) {
65+
protected static IdeTestContext newContext(String projectTestCaseName, String projectPath, boolean copyForMutation,
66+
String... answers) {
6667

6768
Path sourceDir = PATH_PROJECTS.resolve(projectTestCaseName);
6869
Path userDir = sourceDir.resolve("project");

cli/src/test/java/com/devonfw/tools/ide/tool/ToolCommandletTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import java.nio.file.Path;
44
import java.util.List;
55

6+
import org.junit.jupiter.api.Test;
7+
68
import com.devonfw.tools.ide.context.AbstractIdeContextTest;
79
import com.devonfw.tools.ide.context.IdeContext;
810
import com.devonfw.tools.ide.context.IdeTestContext;
@@ -11,7 +13,6 @@
1113
import com.devonfw.tools.ide.url.model.file.UrlSecurityJsonFile;
1214
import com.devonfw.tools.ide.version.VersionIdentifier;
1315
import com.devonfw.tools.ide.version.VersionRange;
14-
import org.junit.jupiter.api.Test;
1516

1617
/** Test of {@link ToolCommandlet} */
1718
public class ToolCommandletTest extends AbstractIdeContextTest {

0 commit comments

Comments
 (0)