Skip to content

Commit

Permalink
Merge branch 'main' into enhancement/1024-move-urls-to-url-updater
Browse files Browse the repository at this point in the history
# Conflicts:
#	cli/src/test/resources/ide-projects/basic/project/home/environment.properties
  • Loading branch information
jan-vcapgemini committed Feb 20, 2025
2 parents fa51e42 + 32eeabe commit 3741c02
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
import com.devonfw.tools.ide.commandlet.Commandlet;
import com.devonfw.tools.ide.commandlet.ContextCommandlet;
import com.devonfw.tools.ide.context.AbstractIdeContext;
import com.devonfw.tools.ide.context.IdeContextTest;
import com.devonfw.tools.ide.context.AbstractIdeContextTest;
import com.devonfw.tools.ide.property.KeywordProperty;
import com.devonfw.tools.ide.property.Property;

/**
* Test of {@link AbstractIdeContext#complete(CliArguments, boolean) auto-completion}.
*/
public class CompleteTest extends IdeContextTest {
public class CompleteTest extends AbstractIdeContextTest {

/** Test of {@link AbstractIdeContext#complete(CliArguments, boolean) auto-completion} for empty input. */
@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public void testBasicProjectEnvironment() {
assertThat(context.getWorkspacePath().resolve("readme")).hasContent("this is the foo-test workspace of basic");
SystemPath systemPath = IdeVariables.PATH.get(context);
assertThat(systemPath).isSameAs(context.getPath());
String envPath = context.getIdeRoot().resolve("_ide").resolve("bin").toString();
assertThat(systemPath.toString()).isNotEqualTo(envPath).endsWith(envPath);
String javaPath = context.getSoftwarePath().resolve("java").resolve("bin").toString();
assertThat(systemPath.toString()).isNotEqualTo(javaPath).contains(javaPath);
Path softwarePath = context.getSoftwarePath();
Path javaBin = softwarePath.resolve("java/bin");
assertThat(systemPath.getPath("java")).isEqualTo(javaBin);
Expand Down

This file was deleted.

0 comments on commit 3741c02

Please sign in to comment.