[Native][Tests] Move existing CExport tests under the InterfaceV1 dir
To avoid collisions with the future InterfaceNone tests
This commit is contained in:
committed by
Space Team
parent
06c0977408
commit
dd25130464
+15
-15
@@ -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 */
|
||||
@SuppressWarnings("all")
|
||||
@TestMetadata("native/native.tests/testData/CExport")
|
||||
@TestMetadata("native/native.tests/testData/CExport/InterfaceV1")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@EnforcedProperty(property = ClassLevelProperty.BINARY_LIBRARY_KIND, propertyValue = "DYNAMIC")
|
||||
public class CExportDynamicTestGenerated extends AbstractNativeCExportTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCExport() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInInterfaceV1() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceV1"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() {
|
||||
runTest("native/native.tests/testData/CExport/kt36639/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() {
|
||||
runTest("native/native.tests/testData/CExport/InterfaceV1/kt36639/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() {
|
||||
runTest("native/native.tests/testData/CExport/smoke0/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() {
|
||||
runTest("native/native.tests/testData/CExport/InterfaceV1/smoke0/");
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -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 */
|
||||
@SuppressWarnings("all")
|
||||
@TestMetadata("native/native.tests/testData/CExport")
|
||||
@TestMetadata("native/native.tests/testData/CExport/InterfaceV1")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@EnforcedProperty(property = ClassLevelProperty.BINARY_LIBRARY_KIND, propertyValue = "STATIC")
|
||||
public class CExportStaticTestGenerated extends AbstractNativeCExportTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCExport() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInInterfaceV1() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceV1"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() {
|
||||
runTest("native/native.tests/testData/CExport/kt36639/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() {
|
||||
runTest("native/native.tests/testData/CExport/InterfaceV1/kt36639/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() {
|
||||
runTest("native/native.tests/testData/CExport/smoke0/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() {
|
||||
runTest("native/native.tests/testData/CExport/InterfaceV1/smoke0/");
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -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 */
|
||||
@SuppressWarnings("all")
|
||||
@TestMetadata("native/native.tests/testData/CExport")
|
||||
@TestMetadata("native/native.tests/testData/CExport/InterfaceV1")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@EnforcedProperty(property = ClassLevelProperty.BINARY_LIBRARY_KIND, propertyValue = "DYNAMIC")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirCExportDynamicTestGenerated extends AbstractNativeCExportTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCExport() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInInterfaceV1() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceV1"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() {
|
||||
runTest("native/native.tests/testData/CExport/kt36639/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() {
|
||||
runTest("native/native.tests/testData/CExport/InterfaceV1/kt36639/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() {
|
||||
runTest("native/native.tests/testData/CExport/smoke0/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() {
|
||||
runTest("native/native.tests/testData/CExport/InterfaceV1/smoke0/");
|
||||
}
|
||||
}
|
||||
|
||||
+16
-15
@@ -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 */
|
||||
@SuppressWarnings("all")
|
||||
@TestMetadata("native/native.tests/testData/CExport")
|
||||
@TestMetadata("native/native.tests/testData/CExport/InterfaceV1")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@EnforcedProperty(property = ClassLevelProperty.BINARY_LIBRARY_KIND, propertyValue = "STATIC")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirCExportStaticTestGenerated extends AbstractNativeCExportTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCExport() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInInterfaceV1() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceV1"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() {
|
||||
runTest("native/native.tests/testData/CExport/kt36639/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() {
|
||||
runTest("native/native.tests/testData/CExport/InterfaceV1/kt36639/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() {
|
||||
runTest("native/native.tests/testData/CExport/smoke0/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() {
|
||||
runTest("native/native.tests/testData/CExport/InterfaceV1/smoke0/");
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -480,7 +480,7 @@ fun main() {
|
||||
*frontend.value
|
||||
)
|
||||
) {
|
||||
model("CExport", pattern = "^([^_](.+))$", recursive = false)
|
||||
model("CExport/InterfaceV1", pattern = "^([^_](.+))$", recursive = false)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user