Changed test data to not use deprecated api
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
class A {
|
||||||
|
@Inh<caret>
|
||||||
|
}
|
||||||
|
|
||||||
|
// ELEMENT: Inherited
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
import java.lang.annotation.Inherited
|
||||||
|
|
||||||
|
class A {
|
||||||
|
@Inherited<caret>
|
||||||
|
}
|
||||||
|
|
||||||
|
// ELEMENT: Inherited
|
||||||
+9
@@ -0,0 +1,9 @@
|
|||||||
|
import java.lang.annotation.Inherited
|
||||||
|
|
||||||
|
class A {
|
||||||
|
companion object {
|
||||||
|
@Inh<caret>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ELEMENT: Inherited
|
||||||
+9
@@ -0,0 +1,9 @@
|
|||||||
|
import java.lang.annotation.Inherited
|
||||||
|
|
||||||
|
class A {
|
||||||
|
companion object {
|
||||||
|
@Inherited<caret>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ELEMENT: Inherited
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
class A {
|
|
||||||
@pl<caret>
|
|
||||||
}
|
|
||||||
|
|
||||||
// ELEMENT: platformStatic
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
import kotlin.platform.platformStatic
|
|
||||||
|
|
||||||
class A {
|
|
||||||
@platformStatic<caret>
|
|
||||||
}
|
|
||||||
|
|
||||||
// ELEMENT: platformStatic
|
|
||||||
-7
@@ -1,7 +0,0 @@
|
|||||||
class A {
|
|
||||||
companion object {
|
|
||||||
@pl<caret>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ELEMENT: platformStatic
|
|
||||||
-9
@@ -1,9 +0,0 @@
|
|||||||
import kotlin.platform.platformStatic
|
|
||||||
|
|
||||||
class A {
|
|
||||||
companion object {
|
|
||||||
@platformStatic<caret>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ELEMENT: platformStatic
|
|
||||||
+12
-12
@@ -35,6 +35,18 @@ public class BasicCompletionHandlerTestGenerated extends AbstractBasicCompletion
|
|||||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/idea-completion/testData/handlers/basic"), Pattern.compile("^(.+)\\.kt$"), true);
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/idea-completion/testData/handlers/basic"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("AnnotationInClassAddImport.kt")
|
||||||
|
public void testAnnotationInClassAddImport() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/handlers/basic/AnnotationInClassAddImport.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("AnnotationInCompanionObjectAddImport.kt")
|
||||||
|
public void testAnnotationInCompanionObjectAddImport() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/handlers/basic/AnnotationInCompanionObjectAddImport.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("ClassWithClassObject.kt")
|
@TestMetadata("ClassWithClassObject.kt")
|
||||||
public void testClassWithClassObject() throws Exception {
|
public void testClassWithClassObject() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/handlers/basic/ClassWithClassObject.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/handlers/basic/ClassWithClassObject.kt");
|
||||||
@@ -95,18 +107,6 @@ public class BasicCompletionHandlerTestGenerated extends AbstractBasicCompletion
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("PlatformStaticInClass.kt")
|
|
||||||
public void testPlatformStaticInClass() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/handlers/basic/PlatformStaticInClass.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("PlatformStaticInCompanionObject.kt")
|
|
||||||
public void testPlatformStaticInCompanionObject() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/handlers/basic/PlatformStaticInCompanionObject.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("PreferMatchingKeyword.kt")
|
@TestMetadata("PreferMatchingKeyword.kt")
|
||||||
public void testPreferMatchingKeyword() throws Exception {
|
public void testPreferMatchingKeyword() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/handlers/basic/PreferMatchingKeyword.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/handlers/basic/PreferMatchingKeyword.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user