[Native][Tests] Move existing CExport tests under the InterfaceV1 dir

To avoid collisions with the future InterfaceNone tests
This commit is contained in:
Sergey Bogolepov
2024-02-16 11:03:41 +02:00
committed by Space Team
parent 06c0977408
commit dd25130464
10 changed files with 62 additions and 61 deletions
@@ -18,24 +18,24 @@ import java.util.regex.Pattern;
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("native/native.tests/testData/CExport") @TestMetadata("native/native.tests/testData/CExport/InterfaceV1")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@EnforcedProperty(property = ClassLevelProperty.BINARY_LIBRARY_KIND, propertyValue = "DYNAMIC") @EnforcedProperty(property = ClassLevelProperty.BINARY_LIBRARY_KIND, propertyValue = "DYNAMIC")
public class CExportDynamicTestGenerated extends AbstractNativeCExportTest { public class CExportDynamicTestGenerated extends AbstractNativeCExportTest {
@Test @Test
public void testAllFilesPresentInCExport() { public void testAllFilesPresentInInterfaceV1() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceV1"), Pattern.compile("^([^_](.+))$"), null, false);
} }
@Test @Test
@TestMetadata("kt36639") @TestMetadata("kt36639")
public void testKt36639() { public void testKt36639() {
runTest("native/native.tests/testData/CExport/kt36639/"); runTest("native/native.tests/testData/CExport/InterfaceV1/kt36639/");
} }
@Test @Test
@TestMetadata("smoke0") @TestMetadata("smoke0")
public void testSmoke0() { public void testSmoke0() {
runTest("native/native.tests/testData/CExport/smoke0/"); runTest("native/native.tests/testData/CExport/InterfaceV1/smoke0/");
} }
} }
@@ -18,24 +18,24 @@ import java.util.regex.Pattern;
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("native/native.tests/testData/CExport") @TestMetadata("native/native.tests/testData/CExport/InterfaceV1")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@EnforcedProperty(property = ClassLevelProperty.BINARY_LIBRARY_KIND, propertyValue = "STATIC") @EnforcedProperty(property = ClassLevelProperty.BINARY_LIBRARY_KIND, propertyValue = "STATIC")
public class CExportStaticTestGenerated extends AbstractNativeCExportTest { public class CExportStaticTestGenerated extends AbstractNativeCExportTest {
@Test @Test
public void testAllFilesPresentInCExport() { public void testAllFilesPresentInInterfaceV1() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceV1"), Pattern.compile("^([^_](.+))$"), null, false);
} }
@Test @Test
@TestMetadata("kt36639") @TestMetadata("kt36639")
public void testKt36639() { public void testKt36639() {
runTest("native/native.tests/testData/CExport/kt36639/"); runTest("native/native.tests/testData/CExport/InterfaceV1/kt36639/");
} }
@Test @Test
@TestMetadata("smoke0") @TestMetadata("smoke0")
public void testSmoke0() { public void testSmoke0() {
runTest("native/native.tests/testData/CExport/smoke0/"); runTest("native/native.tests/testData/CExport/InterfaceV1/smoke0/");
} }
} }
@@ -20,26 +20,26 @@ import java.util.regex.Pattern;
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("native/native.tests/testData/CExport") @TestMetadata("native/native.tests/testData/CExport/InterfaceV1")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@EnforcedProperty(property = ClassLevelProperty.BINARY_LIBRARY_KIND, propertyValue = "DYNAMIC") @EnforcedProperty(property = ClassLevelProperty.BINARY_LIBRARY_KIND, propertyValue = "DYNAMIC")
@Tag("frontend-fir") @Tag("frontend-fir")
@FirPipeline() @FirPipeline()
public class FirCExportDynamicTestGenerated extends AbstractNativeCExportTest { public class FirCExportDynamicTestGenerated extends AbstractNativeCExportTest {
@Test @Test
public void testAllFilesPresentInCExport() throws Exception { public void testAllFilesPresentInInterfaceV1() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceV1"), Pattern.compile("^([^_](.+))$"), null, false);
} }
@Test @Test
@TestMetadata("kt36639") @TestMetadata("kt36639")
public void testKt36639() { public void testKt36639() {
runTest("native/native.tests/testData/CExport/kt36639/"); runTest("native/native.tests/testData/CExport/InterfaceV1/kt36639/");
} }
@Test @Test
@TestMetadata("smoke0") @TestMetadata("smoke0")
public void testSmoke0() { public void testSmoke0() {
runTest("native/native.tests/testData/CExport/smoke0/"); runTest("native/native.tests/testData/CExport/InterfaceV1/smoke0/");
} }
} }
@@ -20,25 +20,26 @@ import java.util.regex.Pattern;
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("native/native.tests/testData/CExport") @TestMetadata("native/native.tests/testData/CExport/InterfaceV1")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@EnforcedProperty(property = ClassLevelProperty.BINARY_LIBRARY_KIND, propertyValue = "STATIC")
@Tag("frontend-fir") @Tag("frontend-fir")
@FirPipeline() @FirPipeline()
public class FirCExportStaticTestGenerated extends AbstractNativeCExportTest { public class FirCExportStaticTestGenerated extends AbstractNativeCExportTest {
@Test @Test
public void testAllFilesPresentInCExport() throws Exception { public void testAllFilesPresentInInterfaceV1() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceV1"), Pattern.compile("^([^_](.+))$"), null, false);
} }
@Test @Test
@TestMetadata("kt36639") @TestMetadata("kt36639")
public void testKt36639() { public void testKt36639() {
runTest("native/native.tests/testData/CExport/kt36639/"); runTest("native/native.tests/testData/CExport/InterfaceV1/kt36639/");
} }
@Test @Test
@TestMetadata("smoke0") @TestMetadata("smoke0")
public void testSmoke0() { public void testSmoke0() {
runTest("native/native.tests/testData/CExport/smoke0/"); runTest("native/native.tests/testData/CExport/InterfaceV1/smoke0/");
} }
} }
@@ -480,7 +480,7 @@ fun main() {
*frontend.value *frontend.value
) )
) { ) {
model("CExport", pattern = "^([^_](.+))$", recursive = false) model("CExport/InterfaceV1", pattern = "^([^_](.+))$", recursive = false)
} }
} }
} }