FIR IDE: add test cases for file structure tests
This commit is contained in:
Vendored
+7
@@ -0,0 +1,7 @@
|
|||||||
|
class A {
|
||||||
|
fun x() {
|
||||||
|
<caret>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// OUT_OF_BLOCK: false
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
class A {
|
||||||
|
val x: Int = run {
|
||||||
|
<caret>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// OUT_OF_BLOCK: false
|
||||||
+10
@@ -39,6 +39,16 @@ public class FileStructureAndOutOfBlockModificationTrackerConsistencyTestGenerat
|
|||||||
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/outOfBlockProjectWide/localFun.kt");
|
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/outOfBlockProjectWide/localFun.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("memberFunWithType.kt")
|
||||||
|
public void testMemberFunWithType() throws Exception {
|
||||||
|
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/outOfBlockProjectWide/memberFunWithType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("memberPropertyWithType.kt")
|
||||||
|
public void testMemberPropertyWithType() throws Exception {
|
||||||
|
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/outOfBlockProjectWide/memberPropertyWithType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
||||||
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
||||||
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/outOfBlockProjectWide/topLevelExpressionBodyFunWithType.kt");
|
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/outOfBlockProjectWide/topLevelExpressionBodyFunWithType.kt");
|
||||||
|
|||||||
+10
@@ -39,6 +39,16 @@ public class ProjectWideOutOfBlockKotlinModificationTrackerTestGenerated extends
|
|||||||
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/outOfBlockProjectWide/localFun.kt");
|
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/outOfBlockProjectWide/localFun.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("memberFunWithType.kt")
|
||||||
|
public void testMemberFunWithType() throws Exception {
|
||||||
|
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/outOfBlockProjectWide/memberFunWithType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("memberPropertyWithType.kt")
|
||||||
|
public void testMemberPropertyWithType() throws Exception {
|
||||||
|
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/outOfBlockProjectWide/memberPropertyWithType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
||||||
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
||||||
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/outOfBlockProjectWide/topLevelExpressionBodyFunWithType.kt");
|
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/outOfBlockProjectWide/topLevelExpressionBodyFunWithType.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user