mirror of https://github.com/apache/ant-ivy
IVY-1594 Use a separate moduleid for the testcase to prevent other tests, reliant on the org1:mod1.1 module, from being impacted
This commit is contained in:
parent
f367ed8bd7
commit
61ceab3588
|
|
@ -265,7 +265,7 @@ public class RetrieveTest {
|
|||
@Test
|
||||
public void testRetrieveZipArtifactWithSymlinks() throws Exception {
|
||||
// resolve (inline) with org1:mod1.1:3.0 as a dependency
|
||||
final ResolveReport report = ivy.resolve(new ModuleRevisionId(new ModuleId("org1", "mod1.1"), "3.0"),
|
||||
final ResolveReport report = ivy.resolve(new ModuleRevisionId(new ModuleId("org1", "mod1.7"), "3.0"),
|
||||
getResolveOptions(new String[]{"*"}), false);
|
||||
assertNotNull("Resolution report is null", report);
|
||||
final ModuleDescriptor md = report.getModuleDescriptor();
|
||||
|
|
@ -275,7 +275,7 @@ public class RetrieveTest {
|
|||
ivy.retrieve(md.getModuleRevisionId(),
|
||||
getRetrieveOptions().setMakeSymlinks(true).setDestArtifactPattern(retrievePattern));
|
||||
|
||||
final String expectedRetrieveLocation = IvyPatternHelper.substitute(retrievePattern, "org1", "mod1.1",
|
||||
final String expectedRetrieveLocation = IvyPatternHelper.substitute(retrievePattern, "org1", "mod1.7",
|
||||
"3.0", "zipped-artifact", null, null, "default");
|
||||
// make sure it's retrieved as a symlink (on systems that support symlink)
|
||||
assertLinkOrExists(expectedRetrieveLocation);
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
-->
|
||||
<ivy-module version="1.0">
|
||||
<info organisation="org1"
|
||||
module="mod1.1"
|
||||
module="mod1.7"
|
||||
revision="3.0"
|
||||
/>
|
||||
<publications>
|
||||
Loading…
Reference in New Issue