mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[tests] preventively mutes break-related tests
This commit is contained in:
+12
-10
@@ -1,6 +1,4 @@
|
||||
// Copyright 2000-2017 JetBrains s.r.o.
|
||||
// Use of this source code is governed by the Apache 2.0 license that can be
|
||||
// found in the LICENSE.txt file.
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.java.codeInsight.completion;
|
||||
|
||||
import com.intellij.JavaTestUtil;
|
||||
@@ -16,6 +14,7 @@ import com.intellij.codeInsight.template.Template;
|
||||
import com.intellij.codeInsight.template.TemplateContextType;
|
||||
import com.intellij.codeInsight.template.TemplateManager;
|
||||
import com.intellij.codeInsight.template.impl.TemplateImpl;
|
||||
import com.intellij.idea.Bombed;
|
||||
import com.intellij.lang.java.JavaLanguage;
|
||||
import com.intellij.openapi.fileEditor.FileDocumentManager;
|
||||
import com.intellij.psi.PsiClass;
|
||||
@@ -25,6 +24,8 @@ import com.intellij.psi.codeStyle.JavaCodeStyleSettings;
|
||||
import com.intellij.testFramework.fixtures.CodeInsightTestUtil;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
|
||||
import java.util.Calendar;
|
||||
|
||||
public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
|
||||
@Override
|
||||
@@ -95,7 +96,7 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
configureByFile(path + "/before6.java");
|
||||
checkResultByFile(path + "/after6.java");
|
||||
}
|
||||
|
||||
|
||||
public void testParenAfterCall1_SpaceWithinMethodCallParens() {
|
||||
String path = "/parenAfterCall";
|
||||
|
||||
@@ -401,7 +402,7 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
public void testConstructorWithExistingParens() { doTest(); }
|
||||
|
||||
public void testMethodAnnotationNamedParameter() { doTest(); }
|
||||
|
||||
|
||||
public void testInheritedClass() { doTest(); }
|
||||
|
||||
public void testClassLiteralInAnno1() { doTest(); }
|
||||
@@ -660,7 +661,7 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
|
||||
//todo 2nd completion
|
||||
public void _testDefaultAnnoParam2() { doTest(); }
|
||||
|
||||
|
||||
public void testAnnotationValue() {doTest(); }
|
||||
|
||||
public void testLiveTemplate() {
|
||||
@@ -838,7 +839,7 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
|
||||
assertInstanceOf(item.getPsiElement(), PsiClass.class);
|
||||
}
|
||||
|
||||
|
||||
public void testNoClassLiteral() {
|
||||
doActionTest();
|
||||
assertStringItems("Object.class", "getClass", "forName", "forName");
|
||||
@@ -913,7 +914,7 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
|
||||
public void testAnnotation6() {
|
||||
configureByTestName();
|
||||
|
||||
|
||||
assertStringItems("ElementType.ANNOTATION_TYPE", "ElementType.CONSTRUCTOR",
|
||||
"ElementType.FIELD", "ElementType.LOCAL_VARIABLE",
|
||||
"ElementType.METHOD", "ElementType.PACKAGE", "ElementType.PARAMETER",
|
||||
@@ -1046,6 +1047,7 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
}
|
||||
|
||||
public void testEnumAsDefaultAnnotationParam() { doTest(); }
|
||||
@Bombed(user = "roman.shevchenko@jetbrains.com", day = 22, month = Calendar.NOVEMBER)
|
||||
public void testBreakLabel() { doTest(); }
|
||||
|
||||
public void testNewAbstractInsideAnonymous() { doTest(); }
|
||||
@@ -1065,7 +1067,7 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
|
||||
public void testCaseMissingEnumValue() { doTest(); }
|
||||
public void testCaseMissingEnumValue2() { doTest(); }
|
||||
|
||||
|
||||
public void testNoHiddenParameter() { doTest(); }
|
||||
|
||||
public void testTypeVariableInstanceOf() {
|
||||
@@ -1171,7 +1173,7 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
doFirstItemTest('\t');
|
||||
}
|
||||
|
||||
public void testSuggestMethodReturnType() {
|
||||
public void testSuggestMethodReturnType() {
|
||||
configureByTestName();
|
||||
myFixture.assertPreferredCompletionItems(0, "Serializable", "CharSequence", "Object");
|
||||
}
|
||||
|
||||
+3
-1
@@ -1,11 +1,13 @@
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.structuralsearch;
|
||||
|
||||
import com.intellij.idea.Bombed;
|
||||
import com.intellij.openapi.fileTypes.StdFileTypes;
|
||||
import com.intellij.psi.PsiElement;
|
||||
import com.intellij.structuralsearch.plugin.ui.Configuration;
|
||||
import com.intellij.structuralsearch.plugin.ui.SearchConfiguration;
|
||||
|
||||
import java.util.Calendar;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.function.Function;
|
||||
@@ -16,7 +18,7 @@ import java.util.stream.Stream;
|
||||
* @author Bas Leijdekkers
|
||||
*/
|
||||
public class JavaPredefinedConfigurationsTest extends StructuralSearchTestCase {
|
||||
|
||||
@Bombed(user = "roman.shevchenko@jetbrains.com", day = 22, month = Calendar.NOVEMBER)
|
||||
public void testAll() {
|
||||
final Configuration[] templates = JavaPredefinedConfigurations.createPredefinedTemplates();
|
||||
final Map<String, Configuration> configurationMap = Stream.of(templates).collect(Collectors.toMap(Configuration::getName, x -> x));
|
||||
|
||||
+3
@@ -1,6 +1,7 @@
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.structuralsearch;
|
||||
|
||||
import com.intellij.idea.Bombed;
|
||||
import com.intellij.openapi.fileTypes.FileType;
|
||||
import com.intellij.openapi.fileTypes.StdFileTypes;
|
||||
import com.intellij.psi.*;
|
||||
@@ -10,6 +11,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Calendar;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -2987,6 +2989,7 @@ public class StructuralSearchTest extends StructuralSearchTestCase {
|
||||
assertEquals("Find statement label variable", 2, findMatchesCount(s, "'_l : '_s;"));
|
||||
}
|
||||
|
||||
@Bombed(user = "roman.shevchenko@jetbrains.com", day = 22, month = Calendar.NOVEMBER)
|
||||
public void testFindBreakContinue() {
|
||||
final String s = "class X {" +
|
||||
" void m() {" +
|
||||
|
||||
Reference in New Issue
Block a user