Skip to content

Commit

Permalink
devonfw#689: Added url and removed try-catch-block (devonfw#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonrohne27 authored Nov 20, 2024
1 parent d2a3760 commit b737f83
Show file tree
Hide file tree
Showing 43 changed files with 29 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import java.util.Iterator;
import java.util.stream.Stream;

import com.devonfw.tools.ide.cli.CliException;
import com.devonfw.tools.ide.context.IdeContext;
import com.devonfw.tools.ide.version.GenericVersionRange;
import com.devonfw.tools.ide.version.VersionIdentifier;
Expand All @@ -33,12 +32,8 @@ public ToolRepositoryMock(IdeContext context, Path repositoryFolder) {
@Override
public VersionIdentifier resolveVersion(String tool, String edition, GenericVersionRange version) {

try {
return super.resolveVersion(tool, edition, version);
} catch (CliException e) {
this.context.error(e, "Invalid test project using version {} that cannot be resolved in urls folder", version);
return version.getMax();
}
return super.resolveVersion(tool, edition, version);

}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://adoptium.net/download/dummytest
${testbaseurl}/download/android-studio/android-studio/2024.1.1.1/android-studio-2024.1.1.1.tgz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/gradle/gradle/8.7/gradle-8.7.tgz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/mvn/mvn/3.9.6/mvn-3.9.6.tgz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/node/node/v18.19.1/node-v18.19.1.tgz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/npm/npm/9.9.2/npm-9.9.2.tgz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/dotnet/dotnet/6.0.419/dotnet-6.0.419.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://downloads.eclipse.org/dummytest
${testbaseurl}/download/eclipse/eclipse/2024-09/eclipse-2024-09.tgz
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://adoptium.net/download/dummytest
${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/graalvm/graalvm/22.3.3/graalvm-22.3.3.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://download.jetbrains.com/idea/ideaC-2023.3.3.win.zip
${testbaseurl}/download/intellij/intellij/2023.3.3/intellij-2023.3.3.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://adoptium.net/download/dummytest
${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/jasypt/jasypt/1.9.3/jasypt-1.9.3.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/jmc/jmc/8.3.0/jmc-8.3.0.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/mvn/mvn/3.9.7/mvn-3.9.7.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/node/node/v18.19.1/node-v18.19.1.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/npm/npm/9.9.2/npm-9.9.2.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://adoptium.net/download/dummytest
${testbaseurl}/download/java/java/17.0.10_7/java-17.0.10_7.tgz
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://adoptium.net/download/dummytest
${testbaseurl}/download/java/java/21_35/java-21_35.tgz
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://adoptium.net/download/dummytest
${testbaseurl}/download/java/java/8u402b06/java-8u402b06.tgz
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://dlcdn.apache.org/tomcat/tomcat-10/v10.1.14/bin/apache-tomcat-10.1.14.zip
${testbaseurl}/download/tomcat/tomcat/10.1.14/tomcat-10.1.14.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/java/java/17.0.6/java-17.0.6.tgz

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/mvn/mvn/3.2.1/mvn-3.2.1.tgz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${testbaseurl}/download/vscode/vscode/1.92.1/vscode-1.92.1.tgz

This file was deleted.

0 comments on commit b737f83

Please sign in to comment.