Skip to content

Commit

Permalink
#1047: fixes and cleanup of JUnits (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille authored Feb 18, 2025
1 parent e1743f8 commit 32eeabe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 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 32eeabe

Please sign in to comment.