#KT-9938 Fixed
Top level test case is added
This commit is contained in:
+1
@@ -0,0 +1 @@
|
|||||||
|
val x: Int = 1<caret>
|
||||||
+2
@@ -0,0 +1,2 @@
|
|||||||
|
val x: Int
|
||||||
|
get() = 1
|
||||||
@@ -3756,6 +3756,12 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
|
|||||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/convertPropertyInitializerToGetter/semicolon.kt");
|
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/convertPropertyInitializerToGetter/semicolon.kt");
|
||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("topLevelDeclaration.kt")
|
||||||
|
public void testTopLevelDeclaration() throws Exception {
|
||||||
|
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/convertPropertyInitializerToGetter/topLevelDeclaration.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("idea/testData/intentions/convertPropertyToFunction")
|
@TestMetadata("idea/testData/intentions/convertPropertyToFunction")
|
||||||
|
|||||||
Reference in New Issue
Block a user