[Native][Tests] Adapt CExport tests to generator changes
This commit is contained in:
committed by
Space Team
parent
4f9c1860b1
commit
8ae6e98295
+3
-3
@@ -24,19 +24,19 @@ import java.util.regex.Pattern;
|
|||||||
@EnforcedProperty(property = ClassLevelProperty.C_INTERFACE_MODE, propertyValue = "NONE")
|
@EnforcedProperty(property = ClassLevelProperty.C_INTERFACE_MODE, propertyValue = "NONE")
|
||||||
public class CExportDynamicInterfaceNoneTestGenerated extends AbstractNativeCExportTest {
|
public class CExportDynamicInterfaceNoneTestGenerated extends AbstractNativeCExportTest {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInInterfaceNone() throws Exception {
|
public void testAllFilesPresentInInterfaceNone() {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceNone"), Pattern.compile("^([^_](.+))$"), null, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceNone"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("primitiveTypes")
|
@TestMetadata("primitiveTypes")
|
||||||
public void testPrimitiveTypes() throws Exception {
|
public void testPrimitiveTypes() {
|
||||||
runTest("native/native.tests/testData/CExport/InterfaceNone/primitiveTypes/");
|
runTest("native/native.tests/testData/CExport/InterfaceNone/primitiveTypes/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("smoke0")
|
@TestMetadata("smoke0")
|
||||||
public void testSmoke0() throws Exception {
|
public void testSmoke0() {
|
||||||
runTest("native/native.tests/testData/CExport/InterfaceNone/smoke0/");
|
runTest("native/native.tests/testData/CExport/InterfaceNone/smoke0/");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -24,19 +24,19 @@ import java.util.regex.Pattern;
|
|||||||
@EnforcedProperty(property = ClassLevelProperty.C_INTERFACE_MODE, propertyValue = "NONE")
|
@EnforcedProperty(property = ClassLevelProperty.C_INTERFACE_MODE, propertyValue = "NONE")
|
||||||
public class CExportStaticInterfaceNoneTestGenerated extends AbstractNativeCExportTest {
|
public class CExportStaticInterfaceNoneTestGenerated extends AbstractNativeCExportTest {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInInterfaceNone() throws Exception {
|
public void testAllFilesPresentInInterfaceNone() {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceNone"), Pattern.compile("^([^_](.+))$"), null, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceNone"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("primitiveTypes")
|
@TestMetadata("primitiveTypes")
|
||||||
public void testPrimitiveTypes() throws Exception {
|
public void testPrimitiveTypes() {
|
||||||
runTest("native/native.tests/testData/CExport/InterfaceNone/primitiveTypes/");
|
runTest("native/native.tests/testData/CExport/InterfaceNone/primitiveTypes/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("smoke0")
|
@TestMetadata("smoke0")
|
||||||
public void testSmoke0() throws Exception {
|
public void testSmoke0() {
|
||||||
runTest("native/native.tests/testData/CExport/InterfaceNone/smoke0/");
|
runTest("native/native.tests/testData/CExport/InterfaceNone/smoke0/");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -28,19 +28,19 @@ import java.util.regex.Pattern;
|
|||||||
@FirPipeline()
|
@FirPipeline()
|
||||||
public class FirCExportDynamicInterfaceNoneTestGenerated extends AbstractNativeCExportTest {
|
public class FirCExportDynamicInterfaceNoneTestGenerated extends AbstractNativeCExportTest {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInInterfaceNone() throws Exception {
|
public void testAllFilesPresentInInterfaceNone() {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceNone"), Pattern.compile("^([^_](.+))$"), null, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceNone"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("primitiveTypes")
|
@TestMetadata("primitiveTypes")
|
||||||
public void testPrimitiveTypes() throws Exception {
|
public void testPrimitiveTypes() {
|
||||||
runTest("native/native.tests/testData/CExport/InterfaceNone/primitiveTypes/");
|
runTest("native/native.tests/testData/CExport/InterfaceNone/primitiveTypes/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("smoke0")
|
@TestMetadata("smoke0")
|
||||||
public void testSmoke0() throws Exception {
|
public void testSmoke0() {
|
||||||
runTest("native/native.tests/testData/CExport/InterfaceNone/smoke0/");
|
runTest("native/native.tests/testData/CExport/InterfaceNone/smoke0/");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -28,19 +28,19 @@ import java.util.regex.Pattern;
|
|||||||
@FirPipeline()
|
@FirPipeline()
|
||||||
public class FirCExportStaticInterfaceNoneTestGenerated extends AbstractNativeCExportTest {
|
public class FirCExportStaticInterfaceNoneTestGenerated extends AbstractNativeCExportTest {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInInterfaceNone() throws Exception {
|
public void testAllFilesPresentInInterfaceNone() {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceNone"), Pattern.compile("^([^_](.+))$"), null, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport/InterfaceNone"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("primitiveTypes")
|
@TestMetadata("primitiveTypes")
|
||||||
public void testPrimitiveTypes() throws Exception {
|
public void testPrimitiveTypes() {
|
||||||
runTest("native/native.tests/testData/CExport/InterfaceNone/primitiveTypes/");
|
runTest("native/native.tests/testData/CExport/InterfaceNone/primitiveTypes/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("smoke0")
|
@TestMetadata("smoke0")
|
||||||
public void testSmoke0() throws Exception {
|
public void testSmoke0() {
|
||||||
runTest("native/native.tests/testData/CExport/InterfaceNone/smoke0/");
|
runTest("native/native.tests/testData/CExport/InterfaceNone/smoke0/");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user