mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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
|
||||
+2
-2
@@ -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');
|
||||
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user