Add additional loggining to understand cause of maven test fail

This commit is contained in:
Sergey Evdokimov
2012-03-29 15:45:20 +04:00
parent 9b6a24b86a
commit c588cea674
@@ -74,6 +74,7 @@ public class MavenExtensionCompletionAndResolutionTest extends MavenDomWithIndic
MavenProjectIndicesManager instance = MavenProjectIndicesManager.getInstance(myProject);
System.out.println("GetArtifacts: " + instance.getArtifactIds("org.apache.maven.plugins"));
System.out.println("Indexes: " + instance.getIndices());
throw new AssertionError("GetArtifacts: " + instance.getArtifactIds("org.apache.maven.plugins") + "Indexes: " + instance.getIndices());
}
assertUnorderedElementsAreEqual(actual, "maven-compiler-plugin", "maven-war-plugin", "maven-eclipse-plugin", "maven-surefire-plugin");