[Test] Convert IGNORE: NATIVE directives in box tests sam/* and sameFile*/*

^KT-59057

Merge-request: KT-MR-10758
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2023-06-23 06:23:53 +00:00
committed by Space Team
parent 4db2bc28f2
commit ab03cb2357
24 changed files with 92 additions and 253 deletions
@@ -49004,6 +49004,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
}
@Test
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
@Test
@TestMetadata("syntheticVsReal.kt")
public void testSyntheticVsReal() throws Exception {
@@ -49004,6 +49004,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
}
@Test
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
@Test
@TestMetadata("syntheticVsReal.kt")
public void testSyntheticVsReal() throws Exception {
@@ -1,9 +1,5 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: IGNORED_IN_JS
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// TARGET_BACKEND: JVM_IR
// SAM_CONVERSIONS: CLASS
fun box(): String {
@@ -0,0 +1,13 @@
// SAM_CONVERSIONS: CLASS
fun interface SAM {
fun run()
}
fun box(): String {
val f = { }
val class1 = (SAM(f) as Any)::class
val class2 = (SAM(f) as Any)::class
return if (class1 == class2) "OK" else "$class1 $class2"
}
+2 -1
View File
@@ -1,4 +1,5 @@
// IGNORE_BACKEND: JS, NATIVE, WASM, JS_IR, JS_IR_ES6
// TARGET_BACKEND: JVM
// TARGET_BACKEND: JVM_IR
// !LANGUAGE: +EliminateAmbiguitiesOnInheritedSamInterfaces
// FILE: Test.java
@@ -1,4 +1,5 @@
// IGNORE_BACKEND: NATIVE
// NATIVE error: static cache is broken: ld.gold invocation reported errors. Please try to disable compiler caches and rerun the build.
// DONT_TARGET_EXACT_BACKEND: NATIVE
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
// MODULE: lib
// FILE: 2.kt
@@ -1,4 +1,5 @@
// IGNORE_BACKEND: NATIVE
// NATIVE error: static cache is broken: ld.gold invocation reported errors. Please try to disable compiler caches and rerun the build.
// DONT_TARGET_EXACT_BACKEND: NATIVE
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
// MODULE: lib
// FILE: 2.kt
@@ -1,4 +1,5 @@
// IGNORE_BACKEND: NATIVE
// NATIVE error: static cache is broken: ld.gold invocation reported errors. Please try to disable compiler caches and rerun the build.
// DONT_TARGET_EXACT_BACKEND: NATIVE
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
// MODULE: lib
// FILE: 2.kt
@@ -1,4 +1,5 @@
// IGNORE_BACKEND: NATIVE
// NATIVE error: static cache is broken: ld.gold invocation reported errors. Please try to disable compiler caches and rerun the build.
// DONT_TARGET_EXACT_BACKEND: NATIVE
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
// MODULE: lib
// FILE: 2.kt
@@ -1,4 +1,5 @@
// IGNORE_BACKEND: NATIVE
// NATIVE error: static cache is broken: ld.gold invocation reported errors. Please try to disable compiler caches and rerun the build.
// DONT_TARGET_EXACT_BACKEND: NATIVE
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
// MODULE: lib
// FILE: 2.kt
@@ -1,4 +1,5 @@
// IGNORE_BACKEND: NATIVE
// NATIVE error: static cache is broken: ld.gold invocation reported errors. Please try to disable compiler caches and rerun the build.
// DONT_TARGET_EXACT_BACKEND: NATIVE
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
// MODULE: lib
// FILE: 2.kt
@@ -1,5 +1,8 @@
// IGNORE_BACKEND: NATIVE
// DONT_TARGET_EXACT_BACKEND: NATIVE
// NATIVE error: error: compilation failed: IrClassPublicSymbolImpl for box.sameFileInSourceAndDependencies.nestedClassDeclaration/Host|null[0] is already bound: CLASS CLASS name:Host modality:FINAL visibility:public superTypes:[kotlin.Any]
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
// JS_IR error: IrClassPublicSymbolImpl for /Host|null[0] is already bound: CLASS CLASS name:Host modality:FINAL visibility:public superTypes:[kotlin.Any]
// MODULE: lib
// FILE: 2.kt
class Host {
@@ -46256,6 +46256,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
}
@Test
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
@Test
@TestMetadata("syntheticVsReal.kt")
public void testSyntheticVsReal() throws Exception {
@@ -49004,6 +49004,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
}
@Test
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
@Test
@TestMetadata("syntheticVsReal.kt")
public void testSyntheticVsReal() throws Exception {
@@ -49004,6 +49004,12 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
}
@Test
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
@Test
@TestMetadata("syntheticVsReal.kt")
public void testSyntheticVsReal() throws Exception {
@@ -39263,6 +39263,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
}
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
@TestMetadata("syntheticVsReal.kt")
public void testSyntheticVsReal() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/syntheticVsReal.kt");
@@ -33851,12 +33851,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("kt17765.kt")
public void testKt17765() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt17765.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() throws Exception {
@@ -33945,9 +33939,9 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
}
@Test
@TestMetadata("sameWrapperClass.kt")
public void testSameWrapperClass() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
}
@@ -33851,12 +33851,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("kt17765.kt")
public void testKt17765() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt17765.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() throws Exception {
@@ -33945,9 +33939,9 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
}
@Test
@TestMetadata("sameWrapperClass.kt")
public void testSameWrapperClass() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
}
@@ -33851,12 +33851,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("kt17765.kt")
public void testKt17765() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt17765.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() throws Exception {
@@ -33945,9 +33939,9 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
}
@Test
@TestMetadata("sameWrapperClass.kt")
public void testSameWrapperClass() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
}
@@ -37295,12 +37295,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("kt17765.kt")
public void testKt17765() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt17765.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() throws Exception {
@@ -37401,9 +37395,9 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
}
@Test
@TestMetadata("sameWrapperClass.kt")
public void testSameWrapperClass() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
}
@@ -37446,54 +37440,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sameFileInSourceAndDependencies"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("classDeclaration.kt")
public void testClassDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/classDeclaration.kt");
}
@Test
@TestMetadata("differingNumberOfGenericTypeParameters.kt")
public void testDifferingNumberOfGenericTypeParameters() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/differingNumberOfGenericTypeParameters.kt");
}
@Test
@TestMetadata("functionDeclaration.kt")
public void testFunctionDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/functionDeclaration.kt");
}
@Test
@TestMetadata("lateinitMemberPropertyDeclaration.kt")
public void testLateinitMemberPropertyDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/lateinitMemberPropertyDeclaration.kt");
}
@Test
@TestMetadata("memberFunctionDeclaration.kt")
public void testMemberFunctionDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionDeclaration.kt");
}
@Test
@TestMetadata("memberFunctionWithDefaultArgumentsDeclaration.kt")
public void testMemberFunctionWithDefaultArgumentsDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionWithDefaultArgumentsDeclaration.kt");
}
@Test
@TestMetadata("memberPropertyDeclaration.kt")
public void testMemberPropertyDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberPropertyDeclaration.kt");
}
@Test
@TestMetadata("nestedClassDeclaration.kt")
public void testNestedClassDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/nestedClassDeclaration.kt");
}
@Test
@TestMetadata("propertyDeclaration.kt")
public void testPropertyDeclaration() throws Exception {
@@ -38237,12 +38237,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("kt17765.kt")
public void testKt17765() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt17765.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() throws Exception {
@@ -38351,9 +38345,9 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
}
@Test
@TestMetadata("sameWrapperClass.kt")
public void testSameWrapperClass() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
}
@@ -38402,54 +38396,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sameFileInSourceAndDependencies"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("classDeclaration.kt")
public void testClassDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/classDeclaration.kt");
}
@Test
@TestMetadata("differingNumberOfGenericTypeParameters.kt")
public void testDifferingNumberOfGenericTypeParameters() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/differingNumberOfGenericTypeParameters.kt");
}
@Test
@TestMetadata("functionDeclaration.kt")
public void testFunctionDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/functionDeclaration.kt");
}
@Test
@TestMetadata("lateinitMemberPropertyDeclaration.kt")
public void testLateinitMemberPropertyDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/lateinitMemberPropertyDeclaration.kt");
}
@Test
@TestMetadata("memberFunctionDeclaration.kt")
public void testMemberFunctionDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionDeclaration.kt");
}
@Test
@TestMetadata("memberFunctionWithDefaultArgumentsDeclaration.kt")
public void testMemberFunctionWithDefaultArgumentsDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionWithDefaultArgumentsDeclaration.kt");
}
@Test
@TestMetadata("memberPropertyDeclaration.kt")
public void testMemberPropertyDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberPropertyDeclaration.kt");
}
@Test
@TestMetadata("nestedClassDeclaration.kt")
public void testNestedClassDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/nestedClassDeclaration.kt");
}
@Test
@TestMetadata("propertyDeclaration.kt")
public void testPropertyDeclaration() throws Exception {
@@ -36825,12 +36825,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("kt17765.kt")
public void testKt17765() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt17765.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() throws Exception {
@@ -36927,9 +36921,9 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
}
@Test
@TestMetadata("sameWrapperClass.kt")
public void testSameWrapperClass() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
}
@@ -36969,54 +36963,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sameFileInSourceAndDependencies"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("classDeclaration.kt")
public void testClassDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/classDeclaration.kt");
}
@Test
@TestMetadata("differingNumberOfGenericTypeParameters.kt")
public void testDifferingNumberOfGenericTypeParameters() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/differingNumberOfGenericTypeParameters.kt");
}
@Test
@TestMetadata("functionDeclaration.kt")
public void testFunctionDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/functionDeclaration.kt");
}
@Test
@TestMetadata("lateinitMemberPropertyDeclaration.kt")
public void testLateinitMemberPropertyDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/lateinitMemberPropertyDeclaration.kt");
}
@Test
@TestMetadata("memberFunctionDeclaration.kt")
public void testMemberFunctionDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionDeclaration.kt");
}
@Test
@TestMetadata("memberFunctionWithDefaultArgumentsDeclaration.kt")
public void testMemberFunctionWithDefaultArgumentsDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionWithDefaultArgumentsDeclaration.kt");
}
@Test
@TestMetadata("memberPropertyDeclaration.kt")
public void testMemberPropertyDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberPropertyDeclaration.kt");
}
@Test
@TestMetadata("nestedClassDeclaration.kt")
public void testNestedClassDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/nestedClassDeclaration.kt");
}
@Test
@TestMetadata("propertyDeclaration.kt")
public void testPropertyDeclaration() throws Exception {
@@ -37296,12 +37296,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("kt17765.kt")
public void testKt17765() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt17765.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() throws Exception {
@@ -37402,9 +37396,9 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
}
@Test
@TestMetadata("sameWrapperClass.kt")
public void testSameWrapperClass() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
}
@@ -37447,54 +37441,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sameFileInSourceAndDependencies"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("classDeclaration.kt")
public void testClassDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/classDeclaration.kt");
}
@Test
@TestMetadata("differingNumberOfGenericTypeParameters.kt")
public void testDifferingNumberOfGenericTypeParameters() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/differingNumberOfGenericTypeParameters.kt");
}
@Test
@TestMetadata("functionDeclaration.kt")
public void testFunctionDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/functionDeclaration.kt");
}
@Test
@TestMetadata("lateinitMemberPropertyDeclaration.kt")
public void testLateinitMemberPropertyDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/lateinitMemberPropertyDeclaration.kt");
}
@Test
@TestMetadata("memberFunctionDeclaration.kt")
public void testMemberFunctionDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionDeclaration.kt");
}
@Test
@TestMetadata("memberFunctionWithDefaultArgumentsDeclaration.kt")
public void testMemberFunctionWithDefaultArgumentsDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionWithDefaultArgumentsDeclaration.kt");
}
@Test
@TestMetadata("memberPropertyDeclaration.kt")
public void testMemberPropertyDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberPropertyDeclaration.kt");
}
@Test
@TestMetadata("nestedClassDeclaration.kt")
public void testNestedClassDeclaration() throws Exception {
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/nestedClassDeclaration.kt");
}
@Test
@TestMetadata("propertyDeclaration.kt")
public void testPropertyDeclaration() throws Exception {
@@ -30209,11 +30209,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("kt17765.kt")
public void testKt17765() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt17765.kt");
}
@TestMetadata("kt51821.kt")
public void testKt51821() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt51821.kt");
@@ -30305,9 +30300,9 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt");
}
@TestMetadata("sameWrapperClass.kt")
public void testSameWrapperClass() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt");
@TestMetadata("sameWrapperClass2.kt")
public void testSameWrapperClass2() throws Exception {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
}