Minor, regroup compileKotlinAgainstKotlin tests on inline classes

This commit is contained in:
Alexander Udalov
2021-03-19 20:21:10 +01:00
parent 3124a4ddae
commit dac218dc39
28 changed files with 846 additions and 724 deletions
@@ -6178,18 +6178,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/annotationsOnTypeAliases.kt");
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassTypeOldMangling.kt")
public void testCallDeserializedPropertyOnInlineClassTypeOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/callDeserializedPropertyOnInlineClassTypeOldMangling.kt");
}
@Test
@TestMetadata("callsToMultifileClassFromOtherPackage.kt")
public void testCallsToMultifileClassFromOtherPackage() throws Exception {
@@ -6232,18 +6220,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorVararg.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependenciesOldMangling.kt")
public void testConstructorWithInlineClassParametersInBinaryDependenciesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorWithInlineClassParametersInBinaryDependenciesOldMangling.kt");
}
@Test
@TestMetadata("copySamOnInline.kt")
public void testCopySamOnInline() throws Exception {
@@ -6280,18 +6256,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration2.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceiversOldMangling.kt")
public void testDefaultWithInlineClassAndReceiversOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultWithInlineClassAndReceiversOldMangling.kt");
}
@Test
@TestMetadata("delegatedDefault.kt")
public void testDelegatedDefault() throws Exception {
@@ -6334,60 +6298,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/importCompanion.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideManglingOldMangling.kt")
public void testInlineClassFakeOverrideManglingOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFakeOverrideManglingOldMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependenciesOldMangling.kt")
public void testInlineClassFromBinaryDependenciesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFromBinaryDependenciesOldMangling.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCallOldMangling.kt")
public void testInlineClassInlineFunctionCallOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineFunctionCallOldMangling.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("inlineClassInlinePropertyOldMangling.kt")
public void testInlineClassInlinePropertyOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlinePropertyOldMangling.kt");
}
@Test
@TestMetadata("inlineClassesOldMangling.kt")
public void testInlineClassesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassesOldMangling.kt");
}
@Test
@TestMetadata("inlinedConstants.kt")
public void testInlinedConstants() throws Exception {
@@ -6418,12 +6328,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithDefaultArgs.kt");
}
@Test
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithInlineClass.kt");
}
@Test
@TestMetadata("internalWithOtherModuleName.kt")
public void testInternalWithOtherModuleName() throws Exception {
@@ -6598,30 +6502,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/platformTypes.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModuleOldMangling.kt")
public void testPrivateCompanionObjectValInDifferentModuleOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateCompanionObjectValInDifferentModuleOldMangling.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModuleOldMangling.kt")
public void testPrivateTopLevelValInDifferentModuleOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateTopLevelValInDifferentModuleOldMangling.kt");
}
@Test
@TestMetadata("propertyReference.kt")
public void testPropertyReference() throws Exception {
@@ -6676,18 +6556,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/starImportEnum.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultMangling.kt")
public void testSuspendFunWithDefaultMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/suspendFunWithDefaultMangling.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultOldMangling.kt")
public void testSuspendFunWithDefaultOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/suspendFunWithDefaultOldMangling.kt");
}
@Test
@TestMetadata("targetedJvmName.kt")
public void testTargetedJvmName() throws Exception {
@@ -6752,6 +6620,158 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses")
@TestDataPath("$PROJECT_ROOT")
public class InlineClasses {
@Test
public void testAllFilesPresentInInlineClasses() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/internalWithInlineClass.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultMangling.kt")
public void testSuspendFunWithDefaultMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/suspendFunWithDefaultMangling.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling")
@TestDataPath("$PROJECT_ROOT")
public class OldMangling {
@Test
public void testAllFilesPresentInOldMangling() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultOldMangling.kt")
public void testSuspendFunWithDefaultOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/suspendFunWithDefaultOldMangling.kt");
}
@Test
@TestMetadata("useOldMangling.kt")
public void testUseOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/useOldMangling.kt");
}
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8")
@TestDataPath("$PROJECT_ROOT")
@@ -1,8 +1,6 @@
// TARGET_BACKEND: JVM
// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND: JS_IR, JS, NATIVE
// WITH_REFLECT
// MODULE: lib
// USE_OLD_INLINE_CLASSES_MANGLING_SCHEME
// FILE: A.kt
@@ -1,8 +1,6 @@
// TARGET_BACKEND: JVM
// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND: JS_IR, JS, NATIVE
// WITH_REFLECT
// MODULE: lib
// USE_OLD_INLINE_CLASSES_MANGLING_SCHEME
// FILE: A.kt
@@ -6178,18 +6178,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/annotationsOnTypeAliases.kt");
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassTypeOldMangling.kt")
public void testCallDeserializedPropertyOnInlineClassTypeOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/callDeserializedPropertyOnInlineClassTypeOldMangling.kt");
}
@Test
@TestMetadata("callsToMultifileClassFromOtherPackage.kt")
public void testCallsToMultifileClassFromOtherPackage() throws Exception {
@@ -6232,18 +6220,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorVararg.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependenciesOldMangling.kt")
public void testConstructorWithInlineClassParametersInBinaryDependenciesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorWithInlineClassParametersInBinaryDependenciesOldMangling.kt");
}
@Test
@TestMetadata("copySamOnInline.kt")
public void testCopySamOnInline() throws Exception {
@@ -6280,18 +6256,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration2.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceiversOldMangling.kt")
public void testDefaultWithInlineClassAndReceiversOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultWithInlineClassAndReceiversOldMangling.kt");
}
@Test
@TestMetadata("delegatedDefault.kt")
public void testDelegatedDefault() throws Exception {
@@ -6334,60 +6298,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/importCompanion.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideManglingOldMangling.kt")
public void testInlineClassFakeOverrideManglingOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFakeOverrideManglingOldMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependenciesOldMangling.kt")
public void testInlineClassFromBinaryDependenciesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFromBinaryDependenciesOldMangling.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCallOldMangling.kt")
public void testInlineClassInlineFunctionCallOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineFunctionCallOldMangling.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("inlineClassInlinePropertyOldMangling.kt")
public void testInlineClassInlinePropertyOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlinePropertyOldMangling.kt");
}
@Test
@TestMetadata("inlineClassesOldMangling.kt")
public void testInlineClassesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassesOldMangling.kt");
}
@Test
@TestMetadata("inlinedConstants.kt")
public void testInlinedConstants() throws Exception {
@@ -6418,12 +6328,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithDefaultArgs.kt");
}
@Test
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithInlineClass.kt");
}
@Test
@TestMetadata("internalWithOtherModuleName.kt")
public void testInternalWithOtherModuleName() throws Exception {
@@ -6598,30 +6502,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/platformTypes.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModuleOldMangling.kt")
public void testPrivateCompanionObjectValInDifferentModuleOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateCompanionObjectValInDifferentModuleOldMangling.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModuleOldMangling.kt")
public void testPrivateTopLevelValInDifferentModuleOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateTopLevelValInDifferentModuleOldMangling.kt");
}
@Test
@TestMetadata("propertyReference.kt")
public void testPropertyReference() throws Exception {
@@ -6676,18 +6556,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/starImportEnum.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultMangling.kt")
public void testSuspendFunWithDefaultMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/suspendFunWithDefaultMangling.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultOldMangling.kt")
public void testSuspendFunWithDefaultOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/suspendFunWithDefaultOldMangling.kt");
}
@Test
@TestMetadata("targetedJvmName.kt")
public void testTargetedJvmName() throws Exception {
@@ -6752,6 +6620,158 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses")
@TestDataPath("$PROJECT_ROOT")
public class InlineClasses {
@Test
public void testAllFilesPresentInInlineClasses() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/internalWithInlineClass.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultMangling.kt")
public void testSuspendFunWithDefaultMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/suspendFunWithDefaultMangling.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling")
@TestDataPath("$PROJECT_ROOT")
public class OldMangling {
@Test
public void testAllFilesPresentInOldMangling() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultOldMangling.kt")
public void testSuspendFunWithDefaultOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/suspendFunWithDefaultOldMangling.kt");
}
@Test
@TestMetadata("useOldMangling.kt")
public void testUseOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/useOldMangling.kt");
}
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8")
@TestDataPath("$PROJECT_ROOT")
@@ -6178,18 +6178,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/annotationsOnTypeAliases.kt");
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassTypeOldMangling.kt")
public void testCallDeserializedPropertyOnInlineClassTypeOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/callDeserializedPropertyOnInlineClassTypeOldMangling.kt");
}
@Test
@TestMetadata("callsToMultifileClassFromOtherPackage.kt")
public void testCallsToMultifileClassFromOtherPackage() throws Exception {
@@ -6232,18 +6220,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorVararg.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependenciesOldMangling.kt")
public void testConstructorWithInlineClassParametersInBinaryDependenciesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorWithInlineClassParametersInBinaryDependenciesOldMangling.kt");
}
@Test
@TestMetadata("copySamOnInline.kt")
public void testCopySamOnInline() throws Exception {
@@ -6280,18 +6256,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration2.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceiversOldMangling.kt")
public void testDefaultWithInlineClassAndReceiversOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultWithInlineClassAndReceiversOldMangling.kt");
}
@Test
@TestMetadata("delegatedDefault.kt")
public void testDelegatedDefault() throws Exception {
@@ -6334,60 +6298,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/importCompanion.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideManglingOldMangling.kt")
public void testInlineClassFakeOverrideManglingOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFakeOverrideManglingOldMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependenciesOldMangling.kt")
public void testInlineClassFromBinaryDependenciesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFromBinaryDependenciesOldMangling.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCallOldMangling.kt")
public void testInlineClassInlineFunctionCallOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineFunctionCallOldMangling.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("inlineClassInlinePropertyOldMangling.kt")
public void testInlineClassInlinePropertyOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlinePropertyOldMangling.kt");
}
@Test
@TestMetadata("inlineClassesOldMangling.kt")
public void testInlineClassesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassesOldMangling.kt");
}
@Test
@TestMetadata("inlinedConstants.kt")
public void testInlinedConstants() throws Exception {
@@ -6418,12 +6328,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithDefaultArgs.kt");
}
@Test
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithInlineClass.kt");
}
@Test
@TestMetadata("internalWithOtherModuleName.kt")
public void testInternalWithOtherModuleName() throws Exception {
@@ -6598,30 +6502,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/platformTypes.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModuleOldMangling.kt")
public void testPrivateCompanionObjectValInDifferentModuleOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateCompanionObjectValInDifferentModuleOldMangling.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModuleOldMangling.kt")
public void testPrivateTopLevelValInDifferentModuleOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateTopLevelValInDifferentModuleOldMangling.kt");
}
@Test
@TestMetadata("propertyReference.kt")
public void testPropertyReference() throws Exception {
@@ -6676,18 +6556,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/starImportEnum.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultMangling.kt")
public void testSuspendFunWithDefaultMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/suspendFunWithDefaultMangling.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultOldMangling.kt")
public void testSuspendFunWithDefaultOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/suspendFunWithDefaultOldMangling.kt");
}
@Test
@TestMetadata("targetedJvmName.kt")
public void testTargetedJvmName() throws Exception {
@@ -6752,6 +6620,158 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses")
@TestDataPath("$PROJECT_ROOT")
public class InlineClasses {
@Test
public void testAllFilesPresentInInlineClasses() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/internalWithInlineClass.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultMangling.kt")
public void testSuspendFunWithDefaultMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/suspendFunWithDefaultMangling.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling")
@TestDataPath("$PROJECT_ROOT")
public class OldMangling {
@Test
public void testAllFilesPresentInOldMangling() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultOldMangling.kt")
public void testSuspendFunWithDefaultOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/suspendFunWithDefaultOldMangling.kt");
}
@Test
@TestMetadata("useOldMangling.kt")
public void testUseOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/useOldMangling.kt");
}
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8")
@TestDataPath("$PROJECT_ROOT")
@@ -43,18 +43,6 @@ public class JvmIrAgainstOldBoxTestGenerated extends AbstractJvmIrAgainstOldBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/annotationsOnTypeAliases.kt");
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassTypeOldMangling.kt")
public void testCallDeserializedPropertyOnInlineClassTypeOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/callDeserializedPropertyOnInlineClassTypeOldMangling.kt");
}
@Test
@TestMetadata("callsToMultifileClassFromOtherPackage.kt")
public void testCallsToMultifileClassFromOtherPackage() throws Exception {
@@ -97,18 +85,6 @@ public class JvmIrAgainstOldBoxTestGenerated extends AbstractJvmIrAgainstOldBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorVararg.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependenciesOldMangling.kt")
public void testConstructorWithInlineClassParametersInBinaryDependenciesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorWithInlineClassParametersInBinaryDependenciesOldMangling.kt");
}
@Test
@TestMetadata("copySamOnInline.kt")
public void testCopySamOnInline() throws Exception {
@@ -145,18 +121,6 @@ public class JvmIrAgainstOldBoxTestGenerated extends AbstractJvmIrAgainstOldBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration2.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceiversOldMangling.kt")
public void testDefaultWithInlineClassAndReceiversOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultWithInlineClassAndReceiversOldMangling.kt");
}
@Test
@TestMetadata("delegatedDefault.kt")
public void testDelegatedDefault() throws Exception {
@@ -199,60 +163,6 @@ public class JvmIrAgainstOldBoxTestGenerated extends AbstractJvmIrAgainstOldBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/importCompanion.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideManglingOldMangling.kt")
public void testInlineClassFakeOverrideManglingOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFakeOverrideManglingOldMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependenciesOldMangling.kt")
public void testInlineClassFromBinaryDependenciesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFromBinaryDependenciesOldMangling.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCallOldMangling.kt")
public void testInlineClassInlineFunctionCallOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineFunctionCallOldMangling.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("inlineClassInlinePropertyOldMangling.kt")
public void testInlineClassInlinePropertyOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlinePropertyOldMangling.kt");
}
@Test
@TestMetadata("inlineClassesOldMangling.kt")
public void testInlineClassesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassesOldMangling.kt");
}
@Test
@TestMetadata("inlinedConstants.kt")
public void testInlinedConstants() throws Exception {
@@ -283,12 +193,6 @@ public class JvmIrAgainstOldBoxTestGenerated extends AbstractJvmIrAgainstOldBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithDefaultArgs.kt");
}
@Test
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithInlineClass.kt");
}
@Test
@TestMetadata("internalWithOtherModuleName.kt")
public void testInternalWithOtherModuleName() throws Exception {
@@ -463,30 +367,6 @@ public class JvmIrAgainstOldBoxTestGenerated extends AbstractJvmIrAgainstOldBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/platformTypes.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModuleOldMangling.kt")
public void testPrivateCompanionObjectValInDifferentModuleOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateCompanionObjectValInDifferentModuleOldMangling.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModuleOldMangling.kt")
public void testPrivateTopLevelValInDifferentModuleOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateTopLevelValInDifferentModuleOldMangling.kt");
}
@Test
@TestMetadata("propertyReference.kt")
public void testPropertyReference() throws Exception {
@@ -541,18 +421,6 @@ public class JvmIrAgainstOldBoxTestGenerated extends AbstractJvmIrAgainstOldBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/starImportEnum.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultMangling.kt")
public void testSuspendFunWithDefaultMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/suspendFunWithDefaultMangling.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultOldMangling.kt")
public void testSuspendFunWithDefaultOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/suspendFunWithDefaultOldMangling.kt");
}
@Test
@TestMetadata("targetedJvmName.kt")
public void testTargetedJvmName() throws Exception {
@@ -617,6 +485,158 @@ public class JvmIrAgainstOldBoxTestGenerated extends AbstractJvmIrAgainstOldBoxT
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses")
@TestDataPath("$PROJECT_ROOT")
public class InlineClasses {
@Test
public void testAllFilesPresentInInlineClasses() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_MULTI_MODULE_IR_AGAINST_OLD, true);
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/internalWithInlineClass.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultMangling.kt")
public void testSuspendFunWithDefaultMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/suspendFunWithDefaultMangling.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling")
@TestDataPath("$PROJECT_ROOT")
public class OldMangling {
@Test
public void testAllFilesPresentInOldMangling() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_MULTI_MODULE_IR_AGAINST_OLD, true);
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultOldMangling.kt")
public void testSuspendFunWithDefaultOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/suspendFunWithDefaultOldMangling.kt");
}
@Test
@TestMetadata("useOldMangling.kt")
public void testUseOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/useOldMangling.kt");
}
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8")
@TestDataPath("$PROJECT_ROOT")
@@ -43,18 +43,6 @@ public class JvmOldAgainstIrBoxTestGenerated extends AbstractJvmOldAgainstIrBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/annotationsOnTypeAliases.kt");
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassTypeOldMangling.kt")
public void testCallDeserializedPropertyOnInlineClassTypeOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/callDeserializedPropertyOnInlineClassTypeOldMangling.kt");
}
@Test
@TestMetadata("callsToMultifileClassFromOtherPackage.kt")
public void testCallsToMultifileClassFromOtherPackage() throws Exception {
@@ -97,18 +85,6 @@ public class JvmOldAgainstIrBoxTestGenerated extends AbstractJvmOldAgainstIrBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorVararg.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependenciesOldMangling.kt")
public void testConstructorWithInlineClassParametersInBinaryDependenciesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constructorWithInlineClassParametersInBinaryDependenciesOldMangling.kt");
}
@Test
@TestMetadata("copySamOnInline.kt")
public void testCopySamOnInline() throws Exception {
@@ -145,18 +121,6 @@ public class JvmOldAgainstIrBoxTestGenerated extends AbstractJvmOldAgainstIrBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration2.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceiversOldMangling.kt")
public void testDefaultWithInlineClassAndReceiversOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultWithInlineClassAndReceiversOldMangling.kt");
}
@Test
@TestMetadata("delegatedDefault.kt")
public void testDelegatedDefault() throws Exception {
@@ -199,60 +163,6 @@ public class JvmOldAgainstIrBoxTestGenerated extends AbstractJvmOldAgainstIrBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/importCompanion.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideManglingOldMangling.kt")
public void testInlineClassFakeOverrideManglingOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFakeOverrideManglingOldMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependenciesOldMangling.kt")
public void testInlineClassFromBinaryDependenciesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassFromBinaryDependenciesOldMangling.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCallOldMangling.kt")
public void testInlineClassInlineFunctionCallOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineFunctionCallOldMangling.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("inlineClassInlinePropertyOldMangling.kt")
public void testInlineClassInlinePropertyOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassInlinePropertyOldMangling.kt");
}
@Test
@TestMetadata("inlineClassesOldMangling.kt")
public void testInlineClassesOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClassesOldMangling.kt");
}
@Test
@TestMetadata("inlinedConstants.kt")
public void testInlinedConstants() throws Exception {
@@ -283,12 +193,6 @@ public class JvmOldAgainstIrBoxTestGenerated extends AbstractJvmOldAgainstIrBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithDefaultArgs.kt");
}
@Test
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithInlineClass.kt");
}
@Test
@TestMetadata("internalWithOtherModuleName.kt")
public void testInternalWithOtherModuleName() throws Exception {
@@ -463,30 +367,6 @@ public class JvmOldAgainstIrBoxTestGenerated extends AbstractJvmOldAgainstIrBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/platformTypes.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModuleOldMangling.kt")
public void testPrivateCompanionObjectValInDifferentModuleOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateCompanionObjectValInDifferentModuleOldMangling.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModuleOldMangling.kt")
public void testPrivateTopLevelValInDifferentModuleOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateTopLevelValInDifferentModuleOldMangling.kt");
}
@Test
@TestMetadata("propertyReference.kt")
public void testPropertyReference() throws Exception {
@@ -541,18 +421,6 @@ public class JvmOldAgainstIrBoxTestGenerated extends AbstractJvmOldAgainstIrBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/starImportEnum.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultMangling.kt")
public void testSuspendFunWithDefaultMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/suspendFunWithDefaultMangling.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultOldMangling.kt")
public void testSuspendFunWithDefaultOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/suspendFunWithDefaultOldMangling.kt");
}
@Test
@TestMetadata("targetedJvmName.kt")
public void testTargetedJvmName() throws Exception {
@@ -617,6 +485,158 @@ public class JvmOldAgainstIrBoxTestGenerated extends AbstractJvmOldAgainstIrBoxT
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses")
@TestDataPath("$PROJECT_ROOT")
public class InlineClasses {
@Test
public void testAllFilesPresentInInlineClasses() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_MULTI_MODULE_OLD_AGAINST_IR, true);
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/internalWithInlineClass.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultMangling.kt")
public void testSuspendFunWithDefaultMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/suspendFunWithDefaultMangling.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling")
@TestDataPath("$PROJECT_ROOT")
public class OldMangling {
@Test
public void testAllFilesPresentInOldMangling() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_MULTI_MODULE_OLD_AGAINST_IR, true);
}
@Test
@TestMetadata("callDeserializedPropertyOnInlineClassType.kt")
public void testCallDeserializedPropertyOnInlineClassType() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/callDeserializedPropertyOnInlineClassType.kt");
}
@Test
@TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt")
public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/constructorWithInlineClassParametersInBinaryDependencies.kt");
}
@Test
@TestMetadata("defaultWithInlineClassAndReceivers.kt")
public void testDefaultWithInlineClassAndReceivers() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/defaultWithInlineClassAndReceivers.kt");
}
@Test
@TestMetadata("inlineClassFakeOverrideMangling.kt")
public void testInlineClassFakeOverrideMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassFakeOverrideMangling.kt");
}
@Test
@TestMetadata("inlineClassFromBinaryDependencies.kt")
public void testInlineClassFromBinaryDependencies() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassFromBinaryDependencies.kt");
}
@Test
@TestMetadata("inlineClassInlineFunctionCall.kt")
public void testInlineClassInlineFunctionCall() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassInlineFunctionCall.kt");
}
@Test
@TestMetadata("inlineClassInlineProperty.kt")
public void testInlineClassInlineProperty() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassInlineProperty.kt");
}
@Test
@TestMetadata("privateCompanionObjectValInDifferentModule.kt")
public void testPrivateCompanionObjectValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateCompanionObjectValInDifferentModule.kt");
}
@Test
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateTopLevelValInDifferentModule.kt");
}
@Test
@TestMetadata("suspendFunWithDefaultOldMangling.kt")
public void testSuspendFunWithDefaultOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/suspendFunWithDefaultOldMangling.kt");
}
@Test
@TestMetadata("useOldMangling.kt")
public void testUseOldMangling() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/useOldMangling.kt");
}
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8")
@TestDataPath("$PROJECT_ROOT")