mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] IDEA-377420 follow-up: rename tests in MakeInferredAnnotationExplicitTest to camelCase
GitOrigin-RevId: 79879c4beb95ea7720ee7fed87055d1a0659a723
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ea5fa1b63f
commit
b44f7d6577
+5
-5
@@ -10,7 +10,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import java.util.List;
|
||||
|
||||
public class MakeInferredAnnotationExplicitTest extends LightJavaCodeInsightFixtureTestCase {
|
||||
public void test_contract_and_notNull() {
|
||||
public void testContractAndNotNull() {
|
||||
myFixture.configureByText("a.java", """
|
||||
class Foo {
|
||||
static String f<caret>oo() {
|
||||
@@ -32,7 +32,7 @@ public class MakeInferredAnnotationExplicitTest extends LightJavaCodeInsightFixt
|
||||
}""");
|
||||
}
|
||||
|
||||
public void test_parameter() {
|
||||
public void testParameter() {
|
||||
myFixture.configureByText("a.java", """
|
||||
class Foo {
|
||||
static String foo(String s<caret>tr) {
|
||||
@@ -50,7 +50,7 @@ public class MakeInferredAnnotationExplicitTest extends LightJavaCodeInsightFixt
|
||||
}""");
|
||||
}
|
||||
|
||||
public void test_custom_notNull() {
|
||||
public void testCustomNotNull() {
|
||||
myFixture.addClass("package foo; public @interface MyNotNull {}");
|
||||
NullableNotNullManager.getInstance(getProject()).setNotNulls("foo.MyNotNull");
|
||||
|
||||
@@ -74,7 +74,7 @@ public class MakeInferredAnnotationExplicitTest extends LightJavaCodeInsightFixt
|
||||
}""");
|
||||
}
|
||||
|
||||
public void test_type_use() {
|
||||
public void testTypeUse() {
|
||||
myFixture.addClass("package foo; import java.lang.annotation.*;@Target(ElementType.TYPE_USE)public @interface MyNotNull {}");
|
||||
NullableNotNullManager.getInstance(getProject()).setNotNulls("foo.MyNotNull");
|
||||
myFixture.configureByText("a.java", """
|
||||
@@ -94,7 +94,7 @@ public class MakeInferredAnnotationExplicitTest extends LightJavaCodeInsightFixt
|
||||
}""");
|
||||
}
|
||||
|
||||
public void test_type_use_qualified_type() {
|
||||
public void testTypeUseQualifiedType() {
|
||||
myFixture.addClass("package foo; import java.lang.annotation.*;@Target(ElementType.TYPE_USE)public @interface MyNotNull {}");
|
||||
NullableNotNullManager.getInstance(getProject()).setNotNulls("foo.MyNotNull");
|
||||
myFixture.configureByText("a.java", """
|
||||
|
||||
Reference in New Issue
Block a user