[K/Wasm, K/JS] Unmute explicit backing fields tests

This commit is contained in:
Artem Kobzar
2024-01-05 17:27:31 +00:00
committed by Space Team
parent ae358fe194
commit 567433cc12
20 changed files with 494 additions and 12 deletions
@@ -1,5 +1,8 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// TARGET_BACKEND: JS_IR
// TARGET_BACKEND: JS_IR_ES6
// TARGET_BACKEND: WASM
// IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6, WASM
class A {
val a: Number
@@ -1,5 +1,8 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// TARGET_BACKEND: JS_IR
// TARGET_BACKEND: JS_IR_ES6
// TARGET_BACKEND: WASM
// IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6, WASM
// WITH_STDLIB
val items: List<String>
@@ -1,5 +1,8 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// TARGET_BACKEND: JS_IR
// TARGET_BACKEND: JS_IR_ES6
// TARGET_BACKEND: WASM
// IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6, WASM
class Base {
val x: CharSequence
@@ -1,5 +1,8 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// TARGET_BACKEND: JS_IR
// TARGET_BACKEND: JS_IR_ES6
// TARGET_BACKEND: WASM
// IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6, WASM
class Base {
val x: CharSequence
@@ -1,5 +1,8 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// TARGET_BACKEND: JS_IR
// TARGET_BACKEND: JS_IR_ES6
// TARGET_BACKEND: WASM
// IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6, WASM
class Base {
val x: CharSequence
@@ -1,5 +1,8 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// TARGET_BACKEND: JS_IR
// TARGET_BACKEND: JS_IR_ES6
// TARGET_BACKEND: WASM
// IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6, WASM
class Base {
val x: CharSequence
@@ -1,5 +1,8 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// TARGET_BACKEND: JS_IR
// TARGET_BACKEND: JS_IR_ES6
// TARGET_BACKEND: WASM
// IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6, WASM
open class Base {
open val x: CharSequence = "BASE"
@@ -1,5 +1,8 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// TARGET_BACKEND: JS_IR
// TARGET_BACKEND: JS_IR_ES6
// TARGET_BACKEND: WASM
// IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6, WASM
interface I {
val number: Number
@@ -1,5 +1,8 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// TARGET_BACKEND: JS_IR
// TARGET_BACKEND: JS_IR_ES6
// TARGET_BACKEND: WASM
// IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6, WASM
interface Storage {
val s: String
@@ -1,5 +1,8 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// TARGET_BACKEND: JS_IR
// TARGET_BACKEND: JS_IR_ES6
// TARGET_BACKEND: WASM
// IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6, WASM
fun createString() = "AAA" + "BBB"
@@ -1,5 +1,8 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// TARGET_BACKEND: JS_IR
// TARGET_BACKEND: JS_IR_ES6
// TARGET_BACKEND: WASM
// IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6, WASM
var that: Int
lateinit field: String
@@ -1,5 +1,8 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// TARGET_BACKEND: JS_IR
// TARGET_BACKEND: JS_IR_ES6
// TARGET_BACKEND: WASM
// IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6, WASM
open class A {
open var it: Number
@@ -19,6 +19,7 @@ import org.jetbrains.kotlin.test.builders.*
import org.jetbrains.kotlin.test.directives.DiagnosticsDirectives
import org.jetbrains.kotlin.test.directives.DiagnosticsDirectives.DIAGNOSTICS
import org.jetbrains.kotlin.test.directives.JsEnvironmentConfigurationDirectives
import org.jetbrains.kotlin.test.directives.LanguageSettingsDirectives
import org.jetbrains.kotlin.test.frontend.classic.handlers.ClassicDiagnosticsHandler
import org.jetbrains.kotlin.test.frontend.fir.handlers.FirDiagnosticsHandler
import org.jetbrains.kotlin.test.model.*
@@ -107,6 +108,12 @@ abstract class AbstractJsBlackBoxCodegenTestBase<R : ResultingArtifact.FrontendO
useHandlers(::JsIrInterpreterDumpHandler)
}
}
forTestsMatching("compiler/testData/codegen/box/properties/backingField/*") {
defaultDirectives {
LanguageSettingsDirectives.LANGUAGE with "+ExplicitBackingFields"
}
}
}
}
@@ -27573,6 +27573,78 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
public void testAllFilesPresentInBackingField() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/backingField"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("backingFieldVisibility.kt")
public void testBackingFieldVisibility() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/backingFieldVisibility.kt");
}
@Test
@TestMetadata("backingFieldWithSmartTypeParameters.kt")
public void testBackingFieldWithSmartTypeParameters() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/backingFieldWithSmartTypeParameters.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField1.kt")
public void testCharSequenceWithBackingField1() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField1.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField2.kt")
public void testCharSequenceWithBackingField2() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField2.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField3.kt")
public void testCharSequenceWithBackingField3() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField3.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField4.kt")
public void testCharSequenceWithBackingField4() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField4.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField5.kt")
public void testCharSequenceWithBackingField5() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField5.kt");
}
@Test
@TestMetadata("explicitBackingFieldInAnonymous.kt")
public void testExplicitBackingFieldInAnonymous() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/explicitBackingFieldInAnonymous.kt");
}
@Test
@TestMetadata("getterReturnTypeWithBackingField.kt")
public void testGetterReturnTypeWithBackingField() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/getterReturnTypeWithBackingField.kt");
}
@Test
@TestMetadata("independentBackingFieldType.kt")
public void testIndependentBackingFieldType() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/independentBackingFieldType.kt");
}
@Test
@TestMetadata("lateinitBackingFields.kt")
public void testLateinitBackingFields() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/lateinitBackingFields.kt");
}
@Test
@TestMetadata("overriddenPropertiesWithExplicitBackingFields.kt")
public void testOverriddenPropertiesWithExplicitBackingFields() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/overriddenPropertiesWithExplicitBackingFields.kt");
}
}
@Nested
@@ -27573,6 +27573,78 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
public void testAllFilesPresentInBackingField() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/backingField"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("backingFieldVisibility.kt")
public void testBackingFieldVisibility() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/backingFieldVisibility.kt");
}
@Test
@TestMetadata("backingFieldWithSmartTypeParameters.kt")
public void testBackingFieldWithSmartTypeParameters() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/backingFieldWithSmartTypeParameters.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField1.kt")
public void testCharSequenceWithBackingField1() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField1.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField2.kt")
public void testCharSequenceWithBackingField2() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField2.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField3.kt")
public void testCharSequenceWithBackingField3() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField3.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField4.kt")
public void testCharSequenceWithBackingField4() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField4.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField5.kt")
public void testCharSequenceWithBackingField5() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField5.kt");
}
@Test
@TestMetadata("explicitBackingFieldInAnonymous.kt")
public void testExplicitBackingFieldInAnonymous() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/explicitBackingFieldInAnonymous.kt");
}
@Test
@TestMetadata("getterReturnTypeWithBackingField.kt")
public void testGetterReturnTypeWithBackingField() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/getterReturnTypeWithBackingField.kt");
}
@Test
@TestMetadata("independentBackingFieldType.kt")
public void testIndependentBackingFieldType() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/independentBackingFieldType.kt");
}
@Test
@TestMetadata("lateinitBackingFields.kt")
public void testLateinitBackingFields() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/lateinitBackingFields.kt");
}
@Test
@TestMetadata("overriddenPropertiesWithExplicitBackingFields.kt")
public void testOverriddenPropertiesWithExplicitBackingFields() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/overriddenPropertiesWithExplicitBackingFields.kt");
}
}
@Nested
@@ -27027,6 +27027,78 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testAllFilesPresentInBackingField() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/backingField"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("backingFieldVisibility.kt")
public void testBackingFieldVisibility() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/backingFieldVisibility.kt");
}
@Test
@TestMetadata("backingFieldWithSmartTypeParameters.kt")
public void testBackingFieldWithSmartTypeParameters() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/backingFieldWithSmartTypeParameters.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField1.kt")
public void testCharSequenceWithBackingField1() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField1.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField2.kt")
public void testCharSequenceWithBackingField2() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField2.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField3.kt")
public void testCharSequenceWithBackingField3() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField3.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField4.kt")
public void testCharSequenceWithBackingField4() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField4.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField5.kt")
public void testCharSequenceWithBackingField5() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField5.kt");
}
@Test
@TestMetadata("explicitBackingFieldInAnonymous.kt")
public void testExplicitBackingFieldInAnonymous() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/explicitBackingFieldInAnonymous.kt");
}
@Test
@TestMetadata("getterReturnTypeWithBackingField.kt")
public void testGetterReturnTypeWithBackingField() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/getterReturnTypeWithBackingField.kt");
}
@Test
@TestMetadata("independentBackingFieldType.kt")
public void testIndependentBackingFieldType() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/independentBackingFieldType.kt");
}
@Test
@TestMetadata("lateinitBackingFields.kt")
public void testLateinitBackingFields() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/lateinitBackingFields.kt");
}
@Test
@TestMetadata("overriddenPropertiesWithExplicitBackingFields.kt")
public void testOverriddenPropertiesWithExplicitBackingFields() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/overriddenPropertiesWithExplicitBackingFields.kt");
}
}
@Nested
@@ -27027,6 +27027,78 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
public void testAllFilesPresentInBackingField() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/backingField"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("backingFieldVisibility.kt")
public void testBackingFieldVisibility() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/backingFieldVisibility.kt");
}
@Test
@TestMetadata("backingFieldWithSmartTypeParameters.kt")
public void testBackingFieldWithSmartTypeParameters() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/backingFieldWithSmartTypeParameters.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField1.kt")
public void testCharSequenceWithBackingField1() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField1.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField2.kt")
public void testCharSequenceWithBackingField2() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField2.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField3.kt")
public void testCharSequenceWithBackingField3() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField3.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField4.kt")
public void testCharSequenceWithBackingField4() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField4.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField5.kt")
public void testCharSequenceWithBackingField5() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField5.kt");
}
@Test
@TestMetadata("explicitBackingFieldInAnonymous.kt")
public void testExplicitBackingFieldInAnonymous() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/explicitBackingFieldInAnonymous.kt");
}
@Test
@TestMetadata("getterReturnTypeWithBackingField.kt")
public void testGetterReturnTypeWithBackingField() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/getterReturnTypeWithBackingField.kt");
}
@Test
@TestMetadata("independentBackingFieldType.kt")
public void testIndependentBackingFieldType() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/independentBackingFieldType.kt");
}
@Test
@TestMetadata("lateinitBackingFields.kt")
public void testLateinitBackingFields() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/lateinitBackingFields.kt");
}
@Test
@TestMetadata("overriddenPropertiesWithExplicitBackingFields.kt")
public void testOverriddenPropertiesWithExplicitBackingFields() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/overriddenPropertiesWithExplicitBackingFields.kt");
}
}
@Nested
@@ -14,6 +14,7 @@ import org.jetbrains.kotlin.test.backend.handlers.WasmIrInterpreterDumpHandler
import org.jetbrains.kotlin.test.builders.*
import org.jetbrains.kotlin.test.directives.DiagnosticsDirectives
import org.jetbrains.kotlin.test.directives.DiagnosticsDirectives.DIAGNOSTICS
import org.jetbrains.kotlin.test.directives.LanguageSettingsDirectives
import org.jetbrains.kotlin.test.directives.WasmEnvironmentConfigurationDirectives
import org.jetbrains.kotlin.test.frontend.classic.handlers.ClassicDiagnosticsHandler
import org.jetbrains.kotlin.test.frontend.fir.handlers.FirDiagnosticsHandler
@@ -118,5 +119,11 @@ abstract class AbstractWasmBlackBoxCodegenTestBase<R : ResultingArtifact.Fronten
useHandlers(::WasmIrInterpreterDumpHandler)
}
}
forTestsMatching("compiler/testData/codegen/box/properties/backingField/*") {
defaultDirectives {
LanguageSettingsDirectives.LANGUAGE with "+ExplicitBackingFields"
}
}
}
}
@@ -27507,6 +27507,78 @@ public class FirWasmCodegenBoxTestGenerated extends AbstractFirWasmCodegenBoxTes
public void testAllFilesPresentInBackingField() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/backingField"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@Test
@TestMetadata("backingFieldVisibility.kt")
public void testBackingFieldVisibility() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/backingFieldVisibility.kt");
}
@Test
@TestMetadata("backingFieldWithSmartTypeParameters.kt")
public void testBackingFieldWithSmartTypeParameters() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/backingFieldWithSmartTypeParameters.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField1.kt")
public void testCharSequenceWithBackingField1() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField1.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField2.kt")
public void testCharSequenceWithBackingField2() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField2.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField3.kt")
public void testCharSequenceWithBackingField3() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField3.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField4.kt")
public void testCharSequenceWithBackingField4() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField4.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField5.kt")
public void testCharSequenceWithBackingField5() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField5.kt");
}
@Test
@TestMetadata("explicitBackingFieldInAnonymous.kt")
public void testExplicitBackingFieldInAnonymous() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/explicitBackingFieldInAnonymous.kt");
}
@Test
@TestMetadata("getterReturnTypeWithBackingField.kt")
public void testGetterReturnTypeWithBackingField() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/getterReturnTypeWithBackingField.kt");
}
@Test
@TestMetadata("independentBackingFieldType.kt")
public void testIndependentBackingFieldType() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/independentBackingFieldType.kt");
}
@Test
@TestMetadata("lateinitBackingFields.kt")
public void testLateinitBackingFields() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/lateinitBackingFields.kt");
}
@Test
@TestMetadata("overriddenPropertiesWithExplicitBackingFields.kt")
public void testOverriddenPropertiesWithExplicitBackingFields() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/overriddenPropertiesWithExplicitBackingFields.kt");
}
}
@Nested
@@ -26961,6 +26961,78 @@ public class K1WasmCodegenBoxTestGenerated extends AbstractK1WasmCodegenBoxTest
public void testAllFilesPresentInBackingField() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/backingField"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@Test
@TestMetadata("backingFieldVisibility.kt")
public void testBackingFieldVisibility() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/backingFieldVisibility.kt");
}
@Test
@TestMetadata("backingFieldWithSmartTypeParameters.kt")
public void testBackingFieldWithSmartTypeParameters() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/backingFieldWithSmartTypeParameters.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField1.kt")
public void testCharSequenceWithBackingField1() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField1.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField2.kt")
public void testCharSequenceWithBackingField2() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField2.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField3.kt")
public void testCharSequenceWithBackingField3() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField3.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField4.kt")
public void testCharSequenceWithBackingField4() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField4.kt");
}
@Test
@TestMetadata("charSequenceWithBackingField5.kt")
public void testCharSequenceWithBackingField5() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/charSequenceWithBackingField5.kt");
}
@Test
@TestMetadata("explicitBackingFieldInAnonymous.kt")
public void testExplicitBackingFieldInAnonymous() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/explicitBackingFieldInAnonymous.kt");
}
@Test
@TestMetadata("getterReturnTypeWithBackingField.kt")
public void testGetterReturnTypeWithBackingField() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/getterReturnTypeWithBackingField.kt");
}
@Test
@TestMetadata("independentBackingFieldType.kt")
public void testIndependentBackingFieldType() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/independentBackingFieldType.kt");
}
@Test
@TestMetadata("lateinitBackingFields.kt")
public void testLateinitBackingFields() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/lateinitBackingFields.kt");
}
@Test
@TestMetadata("overriddenPropertiesWithExplicitBackingFields.kt")
public void testOverriddenPropertiesWithExplicitBackingFields() throws Exception {
runTest("compiler/testData/codegen/box/properties/backingField/overriddenPropertiesWithExplicitBackingFields.kt");
}
}
@Nested