[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
@@ -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 {