mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
normalize tests
This commit is contained in:
+8
-1
@@ -15,7 +15,9 @@
|
||||
*/
|
||||
package com.intellij.codeInsight.daemon.quickFix;
|
||||
|
||||
public class AddTypeArgumentsConditionalTest extends LightQuickFix15TestCase {
|
||||
import com.intellij.pom.java.LanguageLevel;
|
||||
|
||||
public class AddTypeArgumentsConditionalTest extends LightQuickFixTestCase {
|
||||
|
||||
public void test() throws Exception { doAllTests(); }
|
||||
|
||||
@@ -23,4 +25,9 @@ public class AddTypeArgumentsConditionalTest extends LightQuickFix15TestCase {
|
||||
protected String getBasePath() {
|
||||
return "/codeInsight/daemonCodeAnalyzer/quickFix/addTypeArgumentsConditional";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected LanguageLevel getLanguageLevel() {
|
||||
return LanguageLevel.JDK_1_5;
|
||||
}
|
||||
}
|
||||
|
||||
+7
-1
@@ -1,6 +1,8 @@
|
||||
package com.intellij.codeInsight.daemon.quickFix;
|
||||
|
||||
public class AddTypeArgumentsTest extends LightQuickFix15TestCase {
|
||||
import com.intellij.pom.java.LanguageLevel;
|
||||
|
||||
public class AddTypeArgumentsTest extends LightQuickFixTestCase {
|
||||
|
||||
public void test() throws Exception { doAllTests(); }
|
||||
|
||||
@@ -9,4 +11,8 @@ public class AddTypeArgumentsTest extends LightQuickFix15TestCase {
|
||||
return "/codeInsight/daemonCodeAnalyzer/quickFix/addTypeArguments";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected LanguageLevel getLanguageLevel() {
|
||||
return LanguageLevel.JDK_1_5;
|
||||
}
|
||||
}
|
||||
|
||||
+7
-1
@@ -4,11 +4,12 @@ import com.intellij.codeInspection.AnnotateMethodFix;
|
||||
import com.intellij.codeInspection.LocalInspectionTool;
|
||||
import com.intellij.codeInspection.nullable.NullableStuffInspection;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.pom.java.LanguageLevel;
|
||||
import com.intellij.psi.PsiMethod;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class AnnotateMethodTest extends LightQuickFix15TestCase {
|
||||
public class AnnotateMethodTest extends LightQuickFixTestCase {
|
||||
private boolean myMustBeAvailableAfterInvoke;
|
||||
|
||||
@Override
|
||||
@@ -44,4 +45,9 @@ public class AnnotateMethodTest extends LightQuickFix15TestCase {
|
||||
}
|
||||
|
||||
public void test() throws Exception { doAllTests(); }
|
||||
|
||||
@Override
|
||||
protected LanguageLevel getLanguageLevel() {
|
||||
return LanguageLevel.JDK_1_5;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import com.intellij.psi.codeStyle.CommonCodeStyleSettings;
|
||||
/**
|
||||
* @author ven
|
||||
*/
|
||||
public class CreateFieldFromUsageTest extends LightQuickFixTestCase{
|
||||
public class CreateFieldFromUsageTest extends LightQuickFixTestCase {
|
||||
|
||||
public void testAnonymousClass() throws Exception { doSingleTest(); }
|
||||
public void testExpectedTypes() throws Exception { doSingleTest(); }
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ import java.util.List;
|
||||
/**
|
||||
* @author cdr
|
||||
*/
|
||||
public class EmptyIntentionInspectionQuickFixTest extends LightQuickFixTestCase{
|
||||
public class EmptyIntentionInspectionQuickFixTest extends LightQuickFixTestCase {
|
||||
@Override
|
||||
@NonNls
|
||||
protected String getBasePath() {
|
||||
|
||||
Reference in New Issue
Block a user