Skip to content

Commit eca4217

Browse files
devonfw#404: removed FQN
1 parent e70b96e commit eca4217

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

cli/src/test/java/com/devonfw/tools/ide/url/model/file/json/StatusJsonTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import org.junit.jupiter.api.Test;
88

99
/**
10-
* Test of {@link com.devonfw.tools.ide.url.model.file.json.StatusJson}.
10+
* Test of {@link StatusJson}.
1111
*/
1212
public class StatusJsonTest extends Assertions {
1313

cli/src/test/java/com/devonfw/tools/ide/url/model/file/json/ToolDependenciesTest.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import com.devonfw.tools.ide.version.VersionRange;
1212

1313
/**
14-
* Test of {@link com.devonfw.tools.ide.url.model.file.json.ToolDependencies} and {@link AbstractUrlToolOrEdition#getDependencyFile()}.
14+
* Test of {@link ToolDependencies} and {@link AbstractUrlToolOrEdition#getDependencyFile()}.
1515
*/
1616
public class ToolDependenciesTest extends AbstractUrlModelTest {
1717

@@ -23,11 +23,11 @@ public void testEditionSpecific() {
2323
IdeContext context = newContext();
2424

2525
// act
26-
Collection<com.devonfw.tools.ide.url.model.file.json.ToolDependency> dependencies = context.getDefaultToolRepository()
26+
Collection<ToolDependency> dependencies = context.getDefaultToolRepository()
2727
.findDependencies("tomcat", "tomcat", VersionIdentifier.of("11.0.0"));
2828

2929
// assert
30-
assertThat(dependencies).containsExactly(new com.devonfw.tools.ide.url.model.file.json.ToolDependency("java", VersionRange.of("[17,)")));
30+
assertThat(dependencies).containsExactly(new ToolDependency("java", VersionRange.of("[17,)")));
3131
}
3232

3333
@Test
@@ -37,12 +37,12 @@ public void testEditionFallback() {
3737
IdeContext context = newContext();
3838

3939
// act
40-
Collection<com.devonfw.tools.ide.url.model.file.json.ToolDependency> dependencies = context.getDefaultToolRepository()
40+
Collection<ToolDependency> dependencies = context.getDefaultToolRepository()
4141
.findDependencies("tomcat", "undefined", VersionIdentifier.of("11.0.0"));
4242

4343
// assert
4444
assertThat(dependencies).containsExactly(
45-
new com.devonfw.tools.ide.url.model.file.json.ToolDependency("this-is-the-wrong-file-only-for-testing", VersionRange.of("[1.0,2.0]")));
45+
new ToolDependency("this-is-the-wrong-file-only-for-testing", VersionRange.of("[1.0,2.0]")));
4646
}
4747

4848
@Test
@@ -52,7 +52,7 @@ public void testEditionUnspecific() {
5252
IdeContext context = newContext();
5353

5454
// act
55-
Collection<com.devonfw.tools.ide.url.model.file.json.ToolDependency> dependencies = context.getDefaultToolRepository()
55+
Collection<ToolDependency> dependencies = context.getDefaultToolRepository()
5656
.findDependencies("mvn", "undefined", VersionIdentifier.of("3.9.0"));
5757

5858
// assert

0 commit comments

Comments
 (0)