|
public class CustomToolRepositoryTest extends Assertions { |
|
|
|
// public void testRepositoryId() { |
|
// |
|
// // arrange |
|
// |
|
// String name = "jboss-eap"; |
|
// VersionIdentifier version = VersionIdentifier.of("7.4.5.GA"); |
|
// String repositoryUrl = "https://host.domain.tld:port/folder/räpö$itöry+name/ochn%C3%B6n%F6"; |
|
// // act |
|
// CustomTool tool = new CustomTool(name, version, false, false, repositoryUrl, null, null); |
|
// // assert |
|
// assertThat(tool.getTool()).isEqualTo(name); |
|
// assertThat(tool.getVersion()).isSameAs(version); |
|
// assertThat(tool.getRepositoryUrl()).isEqualTo(repositoryUrl); |
|
// assertThat(tool.getUrl()).isEqualTo("host.domain.tld_port/folder_r_p__it_ry_name_ochn_n_"); |
|
// } |
|
|
|
} |
This does not look right.
IDEasy/cli/src/test/java/com/devonfw/tools/ide/repo/CustomToolRepositoryTest.java
Lines 8 to 26 in 049cc8c
This does not look right.
custom-tools.jsoninsrc/test/resourcesCustomToolRepositoryconfigured by thiscustom-tools.jsoncustom-tools.jsonwe could then test downloads of custom tools for that configuration.