maven: tests fix for recently added asm-attrs artifact to test local repo + fixed wrong repository URL definition in testDoNotFailToConfigureUnresolvedVersionRangeDependencies test

This commit is contained in:
Vladislav.Soroka
2015-03-12 12:46:28 +03:00
parent 2bc17f211d
commit cb4e613ce4
5 changed files with 17 additions and 3 deletions
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<versioning>
<versions>
<version>3.8.1</version>
<version>3.8.2</version>
<version>4.0</version>
</versions>
</versioning>
</metadata>
@@ -0,0 +1 @@
a65f5d14c3dbdef19070e6c46efd674d4b2a2898
@@ -206,7 +206,7 @@ public class MavenDependencySmartCompletionTest extends MavenDomWithIndicesTestC
myFixture.configureFromExistingVirtualFile(myProjectPom);
LookupElement[] elements = myFixture.completeBasic();
assertSize(1, elements);
assertSize(2, elements);
myFixture.type('\n');
@@ -245,7 +245,7 @@ public class MavenDependencySmartCompletionTest extends MavenDomWithIndicesTestC
myFixture.configureFromExistingVirtualFile(myProjectPom);
LookupElement[] elements = myFixture.completeBasic();
assertSize(1, elements);
assertSize(2, elements);
myFixture.type('\n');
@@ -2191,7 +2191,7 @@ public class DependenciesImportingTest extends MavenImportingTestCase {
"<repositories>" +
" <repository>" +
" <id>central</id>" +
" <url>file://localhost/${basedir}/repo</url>" +
" <url>file://localhost/" + repoPath + "</url>" +
" </repository>" +
"</repositories>");
@@ -90,6 +90,7 @@ public class MavenSearcherTest extends MavenIndicesTestCase {
public void testArtifactSearch() throws Exception {
assertArtifactSearchResults("",
"asm:asm:3.3.1 asm:asm:3.3",
"asm:asm-attrs:2.2.1",
"commons-io:commons-io:2.4",
"jmock:jmock:1.2.0 jmock:jmock:1.1.0 jmock:jmock:1.0.0",
"junit:junit:4.0 junit:junit:3.8.2 junit:junit:3.8.1",