[LL FIR] FileStructure: add tests for re-analyzable elements without names
^KT-60132 ^KT-59687
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
fun (a: Int = 1): String = "str"/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
|
||||
fun () {/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
|
||||
}
|
||||
|
||||
val : Int = 4/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
|
||||
var : Int/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
get() = 4
|
||||
set(value) {
|
||||
|
||||
}
|
||||
|
||||
class A {/* NonReanalyzableClassDeclarationStructureElement */
|
||||
fun (a: Int = 1): String = "str"/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
|
||||
fun () {/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
|
||||
}
|
||||
|
||||
val : Int = 4/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
|
||||
var : Boolean/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
get() = true
|
||||
set(value) {
|
||||
|
||||
}
|
||||
}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
class A {
|
||||
fun <caret>() {
|
||||
val a = doSmth("str")
|
||||
}
|
||||
}
|
||||
|
||||
fun doSmth(i: String) = 4
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtNamedFunction DECLARATION
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
class A {
|
||||
fun <caret>(): Int = doSmth("str")
|
||||
}
|
||||
|
||||
fun doSmth(i: String) = 4
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtNamedFunction DECLARATION
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class A {
|
||||
fun <caret>() = doSmth("str")
|
||||
}
|
||||
|
||||
fun doSmth(i: String) = 4
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtNamedFunction DECLARATION
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
import kotlin.contracts.contract
|
||||
|
||||
class A {
|
||||
var : Int
|
||||
ge<caret>t() {
|
||||
contract {
|
||||
req
|
||||
}
|
||||
|
||||
fun doSmth(i: String) = 4
|
||||
return doSmth("str")
|
||||
}
|
||||
set(value) = Unit
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class A {
|
||||
val : Int ge<caret>t() = doSmth("str")
|
||||
}
|
||||
|
||||
fun doSmth(i: String) = 4
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
class A {
|
||||
val <caret>: Int by lazy {
|
||||
fun doSmth(i: String) = 4
|
||||
doSmth("str")
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtProperty DECLARATION
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
class A {
|
||||
val <caret>: Int = run {
|
||||
fun doSmth(i: String) = 4
|
||||
doSmth("str")
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtProperty DECLARATION
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
class A {
|
||||
var : Int = 1
|
||||
se<caret>t(value) {
|
||||
doSmth(value)
|
||||
}
|
||||
}
|
||||
|
||||
fun doSmth(i: String) = 4
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
class A {
|
||||
var : Int = 1
|
||||
se<caret>t(value) = doSmth(value)
|
||||
}
|
||||
|
||||
fun doSmth(i: String) = 4
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
fun <caret>() {
|
||||
val a = doSmth("str")
|
||||
}
|
||||
|
||||
fun doSmth(i: String) = 4
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtNamedFunction DECLARATION
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun <caret>(): Int = doSmth("str")
|
||||
|
||||
fun doSmth(i: String) = 4
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtNamedFunction DECLARATION
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun <caret>() = doSmth("str")
|
||||
|
||||
fun doSmth(i: String) = 4
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtNamedFunction DECLARATION
|
||||
analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBodyWithoutName.kt
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
val : Int
|
||||
ge<caret>t() {
|
||||
fun doSmth(i: String) = 4
|
||||
return doSmth("str")
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
val : Int g<caret>et() = doSmth("str")
|
||||
|
||||
fun doSmth(i: String) = 4
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
val <caret>: Int by lazy {
|
||||
fun doSmth(i: String) = 4
|
||||
doSmth("str")
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtProperty DECLARATION
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
val <caret>: Int = doSmth("str")
|
||||
|
||||
fun doSmth(i: String) = 4
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtProperty DECLARATION
|
||||
analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBodyWithoutName.kt
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
var : Int = 1
|
||||
se<caret>t(value) {
|
||||
doSmth(value)
|
||||
}
|
||||
|
||||
fun doSmth(i: String): Unit = 4
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
var : Int = 1
|
||||
se<caret>t(value) = doSmth(value)
|
||||
|
||||
fun doSmth(i: String): Unit = 4
|
||||
+1
@@ -0,0 +1 @@
|
||||
IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION
|
||||
+6
@@ -155,4 +155,10 @@ public class FirOutOfContentRootContextCollectionTestGenerated extends AbstractF
|
||||
public void testTypeAlias() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/typeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withoutName.kt")
|
||||
public void testWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+6
@@ -155,4 +155,10 @@ public class FirSourceContextCollectionTestGenerated extends AbstractFirSourceCo
|
||||
public void testTypeAlias() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/typeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withoutName.kt")
|
||||
public void testWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+6
@@ -155,4 +155,10 @@ public class OutOfContentRootFileStructureTestGenerated extends AbstractOutOfCon
|
||||
public void testTypeAlias() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/typeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withoutName.kt")
|
||||
public void testWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+108
@@ -72,12 +72,30 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunWithBodyWithoutTypeWithoutName.kt")
|
||||
public void testMemberFunWithBodyWithoutTypeWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutTypeWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunWithTypeWithoutBody.kt")
|
||||
public void testMemberFunWithTypeWithoutBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithTypeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunWithoutBodyWithTypeWithoutName.kt")
|
||||
public void testMemberFunWithoutBodyWithTypeWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithTypeWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunWithoutBodyWithoutTypeWithoutName.kt")
|
||||
public void testMemberFunWithoutBodyWithoutTypeWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithoutTypeWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunWithoutTypeWithoutBody.kt")
|
||||
public void testMemberFunWithoutTypeWithoutBody() throws Exception {
|
||||
@@ -90,6 +108,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberGetterWithBodyWithContractWithoutName.kt")
|
||||
public void testMemberGetterWithBodyWithContractWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContractWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberGetterWithTypeWithBody.kt")
|
||||
public void testMemberGetterWithTypeWithBody() throws Exception {
|
||||
@@ -102,6 +126,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberGetterWithTypeWithoutBodyWithoutName.kt")
|
||||
public void testMemberGetterWithTypeWithoutBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberGetterWithoutTypeWithBody.kt")
|
||||
public void testMemberGetterWithoutTypeWithBody() throws Exception {
|
||||
@@ -120,6 +150,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyWithTypeInDelegateWithoutName.kt")
|
||||
public void testMemberPropertyWithTypeInDelegateWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegateWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyWithTypeInErrorDelegate.kt")
|
||||
public void testMemberPropertyWithTypeInErrorDelegate() throws Exception {
|
||||
@@ -132,6 +168,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyWithTypeInInitializerWithoutName.kt")
|
||||
public void testMemberPropertyWithTypeInInitializerWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializerWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyWithoutTypeInDelegate.kt")
|
||||
public void testMemberPropertyWithoutTypeInDelegate() throws Exception {
|
||||
@@ -156,12 +198,24 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberSetterWithTypeWithBodyWithoutName.kt")
|
||||
public void testMemberSetterWithTypeWithBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberSetterWithTypeWithoutBody.kt")
|
||||
public void testMemberSetterWithTypeWithoutBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberSetterWithTypeWithoutBodyWithoutName.kt")
|
||||
public void testMemberSetterWithTypeWithoutBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberSetterWithoutTypeWithBody.kt")
|
||||
public void testMemberSetterWithoutTypeWithBody() throws Exception {
|
||||
@@ -180,6 +234,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/rawContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctionWithBodyWithoutTypeWithoutName.kt")
|
||||
public void testTopLevelFunctionWithBodyWithoutTypeWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithBodyWithoutTypeWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctionWithTypeWithBody.kt")
|
||||
public void testTopLevelFunctionWithTypeWithBody() throws Exception {
|
||||
@@ -192,6 +252,18 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithTypeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctionWithoutBodyWithTypeWithoutName.kt")
|
||||
public void testTopLevelFunctionWithoutBodyWithTypeWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithTypeWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctionWithoutBodyWithoutTypeWithoutName.kt")
|
||||
public void testTopLevelFunctionWithoutBodyWithoutTypeWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithoutTypeWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctionWithoutTypeWithBody.kt")
|
||||
public void testTopLevelFunctionWithoutTypeWithBody() throws Exception {
|
||||
@@ -210,12 +282,24 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelGetterWithTypeWithBodyWithoutName.kt")
|
||||
public void testTopLevelGetterWithTypeWithBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelGetterWithTypeWithoutBody.kt")
|
||||
public void testTopLevelGetterWithTypeWithoutBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelGetterWithTypeWithoutBodyWithoutName.kt")
|
||||
public void testTopLevelGetterWithTypeWithoutBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelGetterWithoutTypeWithBody.kt")
|
||||
public void testTopLevelGetterWithoutTypeWithBody() throws Exception {
|
||||
@@ -234,6 +318,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPropertyWithTypeInDelegateWithoutName.kt")
|
||||
public void testTopLevelPropertyWithTypeInDelegateWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegateWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPropertyWithTypeInErrorDelegate.kt")
|
||||
public void testTopLevelPropertyWithTypeInErrorDelegate() throws Exception {
|
||||
@@ -246,6 +336,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPropertyWithTypeInInititalzerWithoutName.kt")
|
||||
public void testTopLevelPropertyWithTypeInInititalzerWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzerWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPropertyWithoutTypeInDelegate.kt")
|
||||
public void testTopLevelPropertyWithoutTypeInDelegate() throws Exception {
|
||||
@@ -270,12 +366,24 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelSetterWithTypeWithBodyWithoutName.kt")
|
||||
public void testTopLevelSetterWithTypeWithBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelSetterWithTypeWithoutBody.kt")
|
||||
public void testTopLevelSetterWithTypeWithoutBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelSetterWithTypeWithoutBodyWithoutName.kt")
|
||||
public void testTopLevelSetterWithTypeWithoutBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelSetterWithoutTypeWithBody.kt")
|
||||
public void testTopLevelSetterWithoutTypeWithBody() throws Exception {
|
||||
|
||||
+6
@@ -155,4 +155,10 @@ public class SourceFileStructureTestGenerated extends AbstractSourceFileStructur
|
||||
public void testTypeAlias() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/typeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withoutName.kt")
|
||||
public void testWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+108
@@ -72,12 +72,30 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunWithBodyWithoutTypeWithoutName.kt")
|
||||
public void testMemberFunWithBodyWithoutTypeWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutTypeWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunWithTypeWithoutBody.kt")
|
||||
public void testMemberFunWithTypeWithoutBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithTypeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunWithoutBodyWithTypeWithoutName.kt")
|
||||
public void testMemberFunWithoutBodyWithTypeWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithTypeWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunWithoutBodyWithoutTypeWithoutName.kt")
|
||||
public void testMemberFunWithoutBodyWithoutTypeWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithoutTypeWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunWithoutTypeWithoutBody.kt")
|
||||
public void testMemberFunWithoutTypeWithoutBody() throws Exception {
|
||||
@@ -90,6 +108,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberGetterWithBodyWithContractWithoutName.kt")
|
||||
public void testMemberGetterWithBodyWithContractWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContractWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberGetterWithTypeWithBody.kt")
|
||||
public void testMemberGetterWithTypeWithBody() throws Exception {
|
||||
@@ -102,6 +126,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberGetterWithTypeWithoutBodyWithoutName.kt")
|
||||
public void testMemberGetterWithTypeWithoutBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberGetterWithoutTypeWithBody.kt")
|
||||
public void testMemberGetterWithoutTypeWithBody() throws Exception {
|
||||
@@ -120,6 +150,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyWithTypeInDelegateWithoutName.kt")
|
||||
public void testMemberPropertyWithTypeInDelegateWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegateWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyWithTypeInErrorDelegate.kt")
|
||||
public void testMemberPropertyWithTypeInErrorDelegate() throws Exception {
|
||||
@@ -132,6 +168,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyWithTypeInInitializerWithoutName.kt")
|
||||
public void testMemberPropertyWithTypeInInitializerWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializerWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyWithoutTypeInDelegate.kt")
|
||||
public void testMemberPropertyWithoutTypeInDelegate() throws Exception {
|
||||
@@ -156,12 +198,24 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberSetterWithTypeWithBodyWithoutName.kt")
|
||||
public void testMemberSetterWithTypeWithBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberSetterWithTypeWithoutBody.kt")
|
||||
public void testMemberSetterWithTypeWithoutBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberSetterWithTypeWithoutBodyWithoutName.kt")
|
||||
public void testMemberSetterWithTypeWithoutBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberSetterWithoutTypeWithBody.kt")
|
||||
public void testMemberSetterWithoutTypeWithBody() throws Exception {
|
||||
@@ -180,6 +234,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/rawContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctionWithBodyWithoutTypeWithoutName.kt")
|
||||
public void testTopLevelFunctionWithBodyWithoutTypeWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithBodyWithoutTypeWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctionWithTypeWithBody.kt")
|
||||
public void testTopLevelFunctionWithTypeWithBody() throws Exception {
|
||||
@@ -192,6 +252,18 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithTypeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctionWithoutBodyWithTypeWithoutName.kt")
|
||||
public void testTopLevelFunctionWithoutBodyWithTypeWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithTypeWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctionWithoutBodyWithoutTypeWithoutName.kt")
|
||||
public void testTopLevelFunctionWithoutBodyWithoutTypeWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithoutTypeWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctionWithoutTypeWithBody.kt")
|
||||
public void testTopLevelFunctionWithoutTypeWithBody() throws Exception {
|
||||
@@ -210,12 +282,24 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelGetterWithTypeWithBodyWithoutName.kt")
|
||||
public void testTopLevelGetterWithTypeWithBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelGetterWithTypeWithoutBody.kt")
|
||||
public void testTopLevelGetterWithTypeWithoutBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelGetterWithTypeWithoutBodyWithoutName.kt")
|
||||
public void testTopLevelGetterWithTypeWithoutBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelGetterWithoutTypeWithBody.kt")
|
||||
public void testTopLevelGetterWithoutTypeWithBody() throws Exception {
|
||||
@@ -234,6 +318,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPropertyWithTypeInDelegateWithoutName.kt")
|
||||
public void testTopLevelPropertyWithTypeInDelegateWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegateWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPropertyWithTypeInErrorDelegate.kt")
|
||||
public void testTopLevelPropertyWithTypeInErrorDelegate() throws Exception {
|
||||
@@ -246,6 +336,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPropertyWithTypeInInititalzerWithoutName.kt")
|
||||
public void testTopLevelPropertyWithTypeInInititalzerWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzerWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPropertyWithoutTypeInDelegate.kt")
|
||||
public void testTopLevelPropertyWithoutTypeInDelegate() throws Exception {
|
||||
@@ -270,12 +366,24 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelSetterWithTypeWithBodyWithoutName.kt")
|
||||
public void testTopLevelSetterWithTypeWithBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelSetterWithTypeWithoutBody.kt")
|
||||
public void testTopLevelSetterWithTypeWithoutBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelSetterWithTypeWithoutBodyWithoutName.kt")
|
||||
public void testTopLevelSetterWithTypeWithoutBodyWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBodyWithoutName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelSetterWithoutTypeWithBody.kt")
|
||||
public void testTopLevelSetterWithoutTypeWithBody() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user