diff --git a/compiler/testData/codegen/box/multifileClasses/callMultifileClassMemberFromOtherPackage.kt b/compiler/testData/codegen/box/multifileClasses/callMultifileClassMemberFromOtherPackage.kt index 15f84a670f7..7d110366025 100644 --- a/compiler/testData/codegen/box/multifileClasses/callMultifileClassMemberFromOtherPackage.kt +++ b/compiler/testData/codegen/box/multifileClasses/callMultifileClassMemberFromOtherPackage.kt @@ -1,5 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS +// TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/callsToMultifileClassFromOtherPackage.kt b/compiler/testData/codegen/box/multifileClasses/callsToMultifileClassFromOtherPackage.kt index b3a4e722da9..0dec11f9a46 100644 --- a/compiler/testData/codegen/box/multifileClasses/callsToMultifileClassFromOtherPackage.kt +++ b/compiler/testData/codegen/box/multifileClasses/callsToMultifileClassFromOtherPackage.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: 1.kt diff --git a/compiler/testData/codegen/box/multifileClasses/constPropertyReferenceFromMultifileClass.kt b/compiler/testData/codegen/box/multifileClasses/constPropertyReferenceFromMultifileClass.kt index 8321c2fa48e..95b5b84301c 100644 --- a/compiler/testData/codegen/box/multifileClasses/constPropertyReferenceFromMultifileClass.kt +++ b/compiler/testData/codegen/box/multifileClasses/constPropertyReferenceFromMultifileClass.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_REFLECT // FILE: 1.kt diff --git a/compiler/testData/codegen/box/multifileClasses/inlineMultifileClassMemberFromOtherPackage.kt b/compiler/testData/codegen/box/multifileClasses/inlineMultifileClassMemberFromOtherPackage.kt index f73279c3667..8631b9ac874 100644 --- a/compiler/testData/codegen/box/multifileClasses/inlineMultifileClassMemberFromOtherPackage.kt +++ b/compiler/testData/codegen/box/multifileClasses/inlineMultifileClassMemberFromOtherPackage.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/kt16077.kt b/compiler/testData/codegen/box/multifileClasses/kt16077.kt index 1dd07252a9c..3639809c63d 100644 --- a/compiler/testData/codegen/box/multifileClasses/kt16077.kt +++ b/compiler/testData/codegen/box/multifileClasses/kt16077.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS +// TARGET_BACKEND: JVM // WITH_RUNTIME @file:JvmMultifileClass diff --git a/compiler/testData/codegen/box/multifileClasses/multifileClassPartsInitialization.kt b/compiler/testData/codegen/box/multifileClasses/multifileClassPartsInitialization.kt index 100835833e6..e13c83cb457 100644 --- a/compiler/testData/codegen/box/multifileClasses/multifileClassPartsInitialization.kt +++ b/compiler/testData/codegen/box/multifileClasses/multifileClassPartsInitialization.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/multifileClassWith2Files.kt b/compiler/testData/codegen/box/multifileClasses/multifileClassWith2Files.kt index 91f6d1df1d5..5d69607f932 100644 --- a/compiler/testData/codegen/box/multifileClasses/multifileClassWith2Files.kt +++ b/compiler/testData/codegen/box/multifileClasses/multifileClassWith2Files.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: Baz.java diff --git a/compiler/testData/codegen/box/multifileClasses/multifileClassWithCrossCall.kt b/compiler/testData/codegen/box/multifileClasses/multifileClassWithCrossCall.kt index d94dcffa63e..6c33e3a4c96 100644 --- a/compiler/testData/codegen/box/multifileClasses/multifileClassWithCrossCall.kt +++ b/compiler/testData/codegen/box/multifileClasses/multifileClassWithCrossCall.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: Baz.java diff --git a/compiler/testData/codegen/box/multifileClasses/multifileClassWithPrivate.kt b/compiler/testData/codegen/box/multifileClasses/multifileClassWithPrivate.kt index 13257d5f58b..76826d27c68 100644 --- a/compiler/testData/codegen/box/multifileClasses/multifileClassWithPrivate.kt +++ b/compiler/testData/codegen/box/multifileClasses/multifileClassWithPrivate.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: Baz.java diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToFun.kt b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToFun.kt index 0d13be7ca55..0de596e79f5 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToFun.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToFun.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToInternalValInline.kt b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToInternalValInline.kt index ca6fc4d1684..ae9bbc21950 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToInternalValInline.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToInternalValInline.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToPrivateVal.kt b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToPrivateVal.kt index 7a27fc8cdb0..3f9308c3ab6 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToPrivateVal.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToPrivateVal.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToVal.kt b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToVal.kt index aaa7a4166d6..7207699f2a9 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToVal.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToVal.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/calls.kt b/compiler/testData/codegen/box/multifileClasses/optimized/calls.kt index bdee592eae1..cc6e1229fb0 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/calls.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/calls.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: Baz.java diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/deferredStaticInitialization.kt b/compiler/testData/codegen/box/multifileClasses/optimized/deferredStaticInitialization.kt index b629685d651..64b40aef2bb 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/deferredStaticInitialization.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/deferredStaticInitialization.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/delegatedVal.kt b/compiler/testData/codegen/box/multifileClasses/optimized/delegatedVal.kt index 4027459bad3..8960bc02e11 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/delegatedVal.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/delegatedVal.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/initializePrivateVal.kt b/compiler/testData/codegen/box/multifileClasses/optimized/initializePrivateVal.kt index c3a023375e5..eaf21e1611b 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/initializePrivateVal.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/initializePrivateVal.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/initializePublicVal.kt b/compiler/testData/codegen/box/multifileClasses/optimized/initializePublicVal.kt index c8107509fde..17dbf683865 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/initializePublicVal.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/initializePublicVal.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/overlappingFuns.kt b/compiler/testData/codegen/box/multifileClasses/optimized/overlappingFuns.kt index 3d163158d70..1265f6b8069 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/overlappingFuns.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/overlappingFuns.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/overlappingVals.kt b/compiler/testData/codegen/box/multifileClasses/optimized/overlappingVals.kt index dfd668b8539..877336e30b7 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/overlappingVals.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/overlappingVals.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/valAccessFromInlineFunCalledFromJava.kt b/compiler/testData/codegen/box/multifileClasses/optimized/valAccessFromInlineFunCalledFromJava.kt index d580bddf00a..50f564e9ddd 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/valAccessFromInlineFunCalledFromJava.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/valAccessFromInlineFunCalledFromJava.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/valAccessFromInlinedToDifferentPackage.kt b/compiler/testData/codegen/box/multifileClasses/optimized/valAccessFromInlinedToDifferentPackage.kt index 27d37a53101..5ed26c39ae2 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/valAccessFromInlinedToDifferentPackage.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/valAccessFromInlinedToDifferentPackage.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/valWithAccessor.kt b/compiler/testData/codegen/box/multifileClasses/optimized/valWithAccessor.kt index 7560746a303..3fe62893d0f 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/valWithAccessor.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/valWithAccessor.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/privateConstVal.kt b/compiler/testData/codegen/box/multifileClasses/privateConstVal.kt index 3915ab9f80c..8d15d6d72d3 100644 --- a/compiler/testData/codegen/box/multifileClasses/privateConstVal.kt +++ b/compiler/testData/codegen/box/multifileClasses/privateConstVal.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: foo.kt @file:JvmName("Util") diff --git a/compiler/testData/codegen/box/multifileClasses/samePartNameDifferentFacades.kt b/compiler/testData/codegen/box/multifileClasses/samePartNameDifferentFacades.kt index 21d03a144af..eeb69d5d451 100644 --- a/compiler/testData/codegen/box/multifileClasses/samePartNameDifferentFacades.kt +++ b/compiler/testData/codegen/box/multifileClasses/samePartNameDifferentFacades.kt @@ -1,6 +1,4 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: 1/part.kt diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java index bbad33a0d6e..eaab329b0f8 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java @@ -12318,138 +12318,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multifileClasses"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true); } - @TestMetadata("callMultifileClassMemberFromOtherPackage.kt") - public void testCallMultifileClassMemberFromOtherPackage() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/callMultifileClassMemberFromOtherPackage.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("callsToMultifileClassFromOtherPackage.kt") - public void testCallsToMultifileClassFromOtherPackage() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/callsToMultifileClassFromOtherPackage.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("constPropertyReferenceFromMultifileClass.kt") - public void testConstPropertyReferenceFromMultifileClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/constPropertyReferenceFromMultifileClass.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("inlineMultifileClassMemberFromOtherPackage.kt") - public void testInlineMultifileClassMemberFromOtherPackage() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/inlineMultifileClassMemberFromOtherPackage.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("kt16077.kt") - public void testKt16077() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/kt16077.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("multifileClassPartsInitialization.kt") - public void testMultifileClassPartsInitialization() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/multifileClassPartsInitialization.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("multifileClassWith2Files.kt") - public void testMultifileClassWith2Files() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/multifileClassWith2Files.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("multifileClassWithCrossCall.kt") - public void testMultifileClassWithCrossCall() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/multifileClassWithCrossCall.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("multifileClassWithPrivate.kt") - public void testMultifileClassWithPrivate() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/multifileClassWithPrivate.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("privateConstVal.kt") - public void testPrivateConstVal() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/privateConstVal.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("samePartNameDifferentFacades.kt") - public void testSamePartNameDifferentFacades() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/samePartNameDifferentFacades.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - @TestMetadata("compiler/testData/codegen/box/multifileClasses/optimized") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -12458,173 +12326,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multifileClasses/optimized"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true); } - @TestMetadata("callableRefToFun.kt") - public void testCallableRefToFun() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/callableRefToFun.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("callableRefToInternalValInline.kt") - public void testCallableRefToInternalValInline() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/callableRefToInternalValInline.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("callableRefToPrivateVal.kt") - public void testCallableRefToPrivateVal() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/callableRefToPrivateVal.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("callableRefToVal.kt") - public void testCallableRefToVal() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/callableRefToVal.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("calls.kt") - public void testCalls() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/calls.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("deferredStaticInitialization.kt") - public void testDeferredStaticInitialization() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/deferredStaticInitialization.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("delegatedVal.kt") - public void testDelegatedVal() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/delegatedVal.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("initializePrivateVal.kt") - public void testInitializePrivateVal() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/initializePrivateVal.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("initializePublicVal.kt") - public void testInitializePublicVal() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/initializePublicVal.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("overlappingFuns.kt") - public void testOverlappingFuns() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/overlappingFuns.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("overlappingVals.kt") - public void testOverlappingVals() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/overlappingVals.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("valAccessFromInlineFunCalledFromJava.kt") - public void testValAccessFromInlineFunCalledFromJava() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/valAccessFromInlineFunCalledFromJava.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("valAccessFromInlinedToDifferentPackage.kt") - public void testValAccessFromInlinedToDifferentPackage() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/valAccessFromInlinedToDifferentPackage.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - - @TestMetadata("valWithAccessor.kt") - public void testValWithAccessor() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multifileClasses/optimized/valWithAccessor.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } } }