mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
maven: bombed some maven blinking tests
This commit is contained in:
+10
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package org.jetbrains.idea.maven.importing;
|
||||
|
||||
import com.intellij.idea.Bombed;
|
||||
import com.intellij.openapi.application.Result;
|
||||
import com.intellij.openapi.application.WriteAction;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -24,6 +25,7 @@ import org.jetbrains.idea.maven.model.MavenProjectProblem;
|
||||
import org.jetbrains.idea.maven.project.MavenProject;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Calendar;
|
||||
import java.util.List;
|
||||
|
||||
public class InvalidProjectImportingTest extends MavenImportingTestCase {
|
||||
@@ -118,6 +120,7 @@ public class InvalidProjectImportingTest extends MavenImportingTestCase {
|
||||
assertProblems(root, "Module 'foo' not found");
|
||||
}
|
||||
|
||||
@Bombed(user = "Vladislav.Soroka", year=2020, month = Calendar.APRIL, day = 1, description = "temporary disabled")
|
||||
public void testInvalidProjectModel() throws Exception {
|
||||
createProjectPom("<groupId>test</groupId>" +
|
||||
"<artifactId>project</artifactId>" +
|
||||
@@ -290,6 +293,7 @@ public class InvalidProjectImportingTest extends MavenImportingTestCase {
|
||||
assertProblems(root);
|
||||
}
|
||||
|
||||
@Bombed(user = "Vladislav.Soroka", year=2020, month = Calendar.APRIL, day = 1, description = "temporary disabled")
|
||||
public void testUnresolvedDependencies() throws Exception {
|
||||
createProjectPom("<groupId>test</groupId>" +
|
||||
"<artifactId>project</artifactId>" +
|
||||
@@ -342,6 +346,7 @@ public class InvalidProjectImportingTest extends MavenImportingTestCase {
|
||||
"Unresolved dependency: 'zzz:zzz:jar:3'");
|
||||
}
|
||||
|
||||
@Bombed(user = "Vladislav.Soroka", year=2020, month = Calendar.APRIL, day = 1, description = "temporary disabled")
|
||||
public void testUnresolvedPomTypeDependency() throws Exception {
|
||||
createProjectPom("<groupId>test</groupId>" +
|
||||
"<artifactId>project</artifactId>" +
|
||||
@@ -458,6 +463,7 @@ public class InvalidProjectImportingTest extends MavenImportingTestCase {
|
||||
assertProblems(getModules(root).get(2));
|
||||
}
|
||||
|
||||
@Bombed(user = "Vladislav.Soroka", year=2020, month = Calendar.APRIL, day = 1, description = "temporary disabled")
|
||||
public void testUnresolvedExtensionsAfterImport() throws Exception {
|
||||
importProject("<groupId>test</groupId>" +
|
||||
"<artifactId>project</artifactId>" +
|
||||
@@ -477,6 +483,7 @@ public class InvalidProjectImportingTest extends MavenImportingTestCase {
|
||||
assertProblems(root, "Unresolved build extension: 'xxx:yyy:1'");
|
||||
}
|
||||
|
||||
@Bombed(user = "Vladislav.Soroka", year=2020, month = Calendar.APRIL, day = 1, description = "temporary disabled")
|
||||
public void testUnresolvedExtensionsAfterResolve() throws Exception {
|
||||
importProject("<groupId>test</groupId>" +
|
||||
"<artifactId>project</artifactId>" +
|
||||
@@ -543,6 +550,7 @@ public class InvalidProjectImportingTest extends MavenImportingTestCase {
|
||||
assertProblems(getRootProjects().get(0));
|
||||
}
|
||||
|
||||
@Bombed(user = "Vladislav.Soroka", year=2020, month = Calendar.APRIL, day = 1, description = "temporary disabled")
|
||||
public void testUnresolvedBuildExtensionsInModules() throws Exception {
|
||||
createProjectPom("<groupId>test</groupId>" +
|
||||
"<artifactId>project</artifactId>" +
|
||||
@@ -601,6 +609,7 @@ public class InvalidProjectImportingTest extends MavenImportingTestCase {
|
||||
"Unresolved build extension: 'zzz:zzz:1'");
|
||||
}
|
||||
|
||||
@Bombed(user = "Vladislav.Soroka", year=2020, month = Calendar.APRIL, day = 1, description = "temporary disabled")
|
||||
public void testUnresolvedPlugins() throws Exception {
|
||||
importProject("<groupId>test</groupId>" +
|
||||
"<artifactId>project</artifactId>" +
|
||||
@@ -642,6 +651,7 @@ public class InvalidProjectImportingTest extends MavenImportingTestCase {
|
||||
assertProblems(getRootProjects().get(0));
|
||||
}
|
||||
|
||||
@Bombed(user = "Vladislav.Soroka", year=2020, month = Calendar.APRIL, day = 1, description = "temporary disabled")
|
||||
public void testUnresolvedPluginsAsExtensions() throws Exception {
|
||||
importProject("<groupId>test</groupId>" +
|
||||
"<artifactId>project</artifactId>" +
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
package org.jetbrains.idea.maven.importing;
|
||||
|
||||
import com.intellij.ProjectTopics;
|
||||
import com.intellij.idea.Bombed;
|
||||
import com.intellij.openapi.externalSystem.service.project.IdeModifiableModelsProviderImpl;
|
||||
import com.intellij.openapi.module.ModifiableModuleModel;
|
||||
import com.intellij.openapi.module.Module;
|
||||
@@ -30,6 +31,7 @@ import org.jetbrains.idea.maven.project.MavenProject;
|
||||
import org.jetbrains.idea.maven.server.MavenServerManager;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Calendar;
|
||||
import java.util.List;
|
||||
|
||||
public class MiscImportingTest extends MavenImportingTestCase {
|
||||
@@ -315,6 +317,7 @@ public class MiscImportingTest extends MavenImportingTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
@Bombed(user = "Vladislav.Soroka", year=2020, month = Calendar.APRIL, day = 1, description = "temporary disabled")
|
||||
public void testExceptionsFromMavenExtensionsAreReportedAsProblems() throws Exception {
|
||||
MavenCustomRepositoryHelper helper = new MavenCustomRepositoryHelper(myDir, "plugins");
|
||||
setRepositoryPath(helper.getTestDataPath("plugins"));
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
package org.jetbrains.idea.maven.importing;
|
||||
|
||||
import com.intellij.compiler.CompilerConfiguration;
|
||||
import com.intellij.idea.Bombed;
|
||||
import com.intellij.openapi.command.WriteCommandAction;
|
||||
import com.intellij.openapi.module.ModifiableModuleModel;
|
||||
import com.intellij.openapi.module.Module;
|
||||
@@ -27,6 +28,7 @@ import com.intellij.openapi.roots.impl.OrderEntryUtil;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import org.jetbrains.idea.maven.MavenImportingTestCase;
|
||||
|
||||
import java.util.Calendar;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
public class ReimportingTest extends MavenImportingTestCase {
|
||||
@@ -253,6 +255,7 @@ public class ReimportingTest extends MavenImportingTestCase {
|
||||
|
||||
}
|
||||
|
||||
@Bombed(user = "Vladislav.Soroka", year=2020, month = Calendar.APRIL, day = 1, description = "temporary disabled")
|
||||
public void testSettingTargetLevel() throws Exception {
|
||||
createModulePom("m1", "<groupId>test</groupId>" +
|
||||
"<artifactId>project</artifactId>" +
|
||||
|
||||
+3
@@ -17,6 +17,7 @@ package org.jetbrains.idea.maven.importing;
|
||||
|
||||
import com.intellij.compiler.CompilerConfiguration;
|
||||
import com.intellij.compiler.impl.javaCompiler.javac.JavacConfiguration;
|
||||
import com.intellij.idea.Bombed;
|
||||
import com.intellij.openapi.application.Result;
|
||||
import com.intellij.openapi.application.WriteAction;
|
||||
import com.intellij.openapi.module.Module;
|
||||
@@ -30,6 +31,7 @@ import org.jetbrains.idea.maven.MavenImportingTestCase;
|
||||
import org.jetbrains.idea.maven.project.MavenProject;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Calendar;
|
||||
import java.util.List;
|
||||
|
||||
public class StructureImportingTest extends MavenImportingTestCase {
|
||||
@@ -989,6 +991,7 @@ public class StructureImportingTest extends MavenImportingTestCase {
|
||||
assertModules("project", "m");
|
||||
}
|
||||
|
||||
@Bombed(user = "Vladislav.Soroka", year=2020, month = Calendar.APRIL, day = 1, description = "temporary disabled")
|
||||
public void testFileProfileActivationInParentPom() throws Exception {
|
||||
createProjectPom("<groupId>test</groupId>" +
|
||||
"<artifactId>project</artifactId>" +
|
||||
|
||||
Reference in New Issue
Block a user