[K/N][Tests] Migrate test illegal_sharing_with_weak.kt

^KT-61259
This commit is contained in:
Vladimir Sukharev
2024-01-17 22:12:24 +01:00
parent 647a907204
commit 2d0009ff99
9 changed files with 85 additions and 55 deletions
@@ -5068,6 +5068,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/cinterop/objc"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("illegal_sharing_with_weak.kt")
public void testIllegal_sharing_with_weak() throws Exception {
runTest("compiler/testData/codegen/box/cinterop/objc/illegal_sharing_with_weak.kt");
}
@Test
@TestMetadata("kt34467.kt")
public void testKt34467() throws Exception {
@@ -5184,6 +5184,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/cinterop/objc"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("illegal_sharing_with_weak.kt")
public void testIllegal_sharing_with_weak() throws Exception {
runTest("compiler/testData/codegen/box/cinterop/objc/illegal_sharing_with_weak.kt");
}
@Test
@TestMetadata("kt34467.kt")
public void testKt34467() throws Exception {
@@ -4952,6 +4952,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/cinterop/objc"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("illegal_sharing_with_weak.kt")
public void testIllegal_sharing_with_weak() throws Exception {
runTest("compiler/testData/codegen/box/cinterop/objc/illegal_sharing_with_weak.kt");
}
@Test
@TestMetadata("kt34467.kt")
public void testKt34467() throws Exception {
@@ -5069,6 +5069,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/cinterop/objc"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("illegal_sharing_with_weak.kt")
public void testIllegal_sharing_with_weak() throws Exception {
runTest("compiler/testData/codegen/box/cinterop/objc/illegal_sharing_with_weak.kt");
}
@Test
@TestMetadata("kt34467.kt")
public void testKt34467() throws Exception {