11
11
import com .devonfw .tools .ide .version .VersionRange ;
12
12
13
13
/**
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()}.
15
15
*/
16
16
public class ToolDependenciesTest extends AbstractUrlModelTest {
17
17
@@ -23,11 +23,11 @@ public void testEditionSpecific() {
23
23
IdeContext context = newContext ();
24
24
25
25
// act
26
- Collection <com . devonfw . tools . ide . url . model . file . json . ToolDependency > dependencies = context .getDefaultToolRepository ()
26
+ Collection <ToolDependency > dependencies = context .getDefaultToolRepository ()
27
27
.findDependencies ("tomcat" , "tomcat" , VersionIdentifier .of ("11.0.0" ));
28
28
29
29
// 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,)" )));
31
31
}
32
32
33
33
@ Test
@@ -37,12 +37,12 @@ public void testEditionFallback() {
37
37
IdeContext context = newContext ();
38
38
39
39
// act
40
- Collection <com . devonfw . tools . ide . url . model . file . json . ToolDependency > dependencies = context .getDefaultToolRepository ()
40
+ Collection <ToolDependency > dependencies = context .getDefaultToolRepository ()
41
41
.findDependencies ("tomcat" , "undefined" , VersionIdentifier .of ("11.0.0" ));
42
42
43
43
// assert
44
44
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]" )));
46
46
}
47
47
48
48
@ Test
@@ -52,7 +52,7 @@ public void testEditionUnspecific() {
52
52
IdeContext context = newContext ();
53
53
54
54
// act
55
- Collection <com . devonfw . tools . ide . url . model . file . json . ToolDependency > dependencies = context .getDefaultToolRepository ()
55
+ Collection <ToolDependency > dependencies = context .getDefaultToolRepository ()
56
56
.findDependencies ("mvn" , "undefined" , VersionIdentifier .of ("3.9.0" ));
57
57
58
58
// assert
0 commit comments