[Test] Regenerate tests after two previous commits
This commit is contained in:
committed by
Space Team
parent
d9beae0556
commit
acf2296590
+14
-14
@@ -19,20 +19,20 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/native.tests/testData/CExport")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class CExportTestDynamicGenerated extends AbstractNativeCExportDynamicTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCExport() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCExport() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() throws Exception {
|
||||
runTest("native/native.tests/testData/CExport/kt36639/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() {
|
||||
runTest("native/native.tests/testData/CExport/kt36639/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() throws Exception {
|
||||
runTest("native/native.tests/testData/CExport/smoke0/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() {
|
||||
runTest("native/native.tests/testData/CExport/smoke0/");
|
||||
}
|
||||
}
|
||||
|
||||
+14
-14
@@ -19,20 +19,20 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/native.tests/testData/CExport")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class CExportTestStaticGenerated extends AbstractNativeCExportStaticTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCExport() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCExport() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() throws Exception {
|
||||
runTest("native/native.tests/testData/CExport/kt36639/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() {
|
||||
runTest("native/native.tests/testData/CExport/kt36639/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() throws Exception {
|
||||
runTest("native/native.tests/testData/CExport/smoke0/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() {
|
||||
runTest("native/native.tests/testData/CExport/smoke0/");
|
||||
}
|
||||
}
|
||||
|
||||
+49
-49
@@ -19,62 +19,62 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/native.tests/testData/CInterop/experimental/cases")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class CInteropExperimentalTestGenerated extends AbstractNativeCInteropExperimentalTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCases() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/experimental/cases"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCases() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/experimental/cases"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/enum/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enum")
|
||||
public void testEnum() {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/enum/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("function")
|
||||
public void testFunction() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/function/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("function")
|
||||
public void testFunction() {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/function/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("global")
|
||||
public void testGlobal() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/global/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("global")
|
||||
public void testGlobal() {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/global/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objccategory")
|
||||
public void testObjccategory() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/objccategory/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("objccategory")
|
||||
public void testObjccategory() {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/objccategory/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objcclass")
|
||||
public void testObjcclass() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/objcclass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("objcclass")
|
||||
public void testObjcclass() {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/objcclass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objcprotocol")
|
||||
public void testObjcprotocol() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/objcprotocol/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("objcprotocol")
|
||||
public void testObjcprotocol() {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/objcprotocol/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objctypedef")
|
||||
public void testObjctypedef() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/objctypedef/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("objctypedef")
|
||||
public void testObjctypedef() {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/objctypedef/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("struct")
|
||||
public void testStruct() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/struct/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("struct")
|
||||
public void testStruct() {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/struct/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typedef")
|
||||
public void testTypedef() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/typedef/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typedef")
|
||||
public void testTypedef() {
|
||||
runTest("native/native.tests/testData/CInterop/experimental/cases/typedef/");
|
||||
}
|
||||
}
|
||||
|
||||
+248
-248
@@ -17,259 +17,259 @@ import java.util.regex.Pattern;
|
||||
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
public class CInteropFModulesTestGenerated extends AbstractNativeCInteropFModulesTest {
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/simple/simpleDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SimpleDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInSimpleDefs() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/simple/simpleDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterA")
|
||||
public void testFilterA() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterAB")
|
||||
public void testFilterAB() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterAB/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterABC")
|
||||
public void testFilterABC() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterABC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterAC")
|
||||
public void testFilterAC() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterAC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterB")
|
||||
public void testFilterB() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterB/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterBC")
|
||||
public void testFilterBC() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterBC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterC")
|
||||
public void testFilterC() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("full")
|
||||
public void testFull() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/full/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesA")
|
||||
public void testModulesA() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/modulesA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesAB")
|
||||
public void testModulesAB() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/modulesAB/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesB")
|
||||
public void testModulesB() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/modulesB/");
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/simple/simpleDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SimpleDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInSimpleDefs() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/simple/simpleDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/framework/frameworkDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FrameworkDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInFrameworkDefs() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/framework/frameworkDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("childImportFModules")
|
||||
public void testChildImportFModules() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/childImportFModules/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excludePod1")
|
||||
public void testExcludePod1() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/excludePod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excludePod1Umbrella")
|
||||
public void testExcludePod1Umbrella() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/excludePod1Umbrella/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitSubmodule")
|
||||
public void testExplicitSubmodule() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/explicitSubmodule/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1")
|
||||
public void testFilterPod1() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1A")
|
||||
public void testFilterPod1A() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1A/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1Umbrella")
|
||||
public void testFilterPod1Umbrella() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1Umbrella/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1UmbrellaPod1A")
|
||||
public void testFilterPod1UmbrellaPod1A() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1UmbrellaPod1A/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forwardEnum")
|
||||
public void testForwardEnum() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/forwardEnum/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("full")
|
||||
public void testFull() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/full/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsAngleAngle")
|
||||
public void testImportsAngleAngle() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsAngleAngle/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsAngleQuote")
|
||||
public void testImportsAngleQuote() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsAngleQuote/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsQuoteAngle")
|
||||
public void testImportsQuoteAngle() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsQuoteAngle/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsQuoteQuote")
|
||||
public void testImportsQuoteQuote() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsQuoteQuote/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesPod1")
|
||||
public void testModulesPod1() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/modulesPod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("protocolDefs")
|
||||
public void testProtocolDefs() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/protocolDefs/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("twoChildren")
|
||||
public void testTwoChildren() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/twoChildren/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visitOtherModules")
|
||||
public void testVisitOtherModules() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/visitOtherModules/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("filterA")
|
||||
public void testFilterA() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterA/");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/framework.macros/macrosDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class MacrosDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInMacrosDefs() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/framework.macros/macrosDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesPod1")
|
||||
public void testModulesPod1() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework.macros/macrosDefs/modulesPod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("myMacroType")
|
||||
public void testMyMacroType() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework.macros/macrosDefs/myMacroType/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("filterAB")
|
||||
public void testFilterAB() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterAB/");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/builtins/builtinsDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class BuiltinsDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInBuiltinsDefs() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/builtins/builtinsDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterA")
|
||||
public void testFilterA() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/filterA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterStdargH")
|
||||
public void testFilterStdargH() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/filterStdargH/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fullA")
|
||||
public void testFullA() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/fullA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fullStdargH")
|
||||
public void testFullStdargH() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/fullStdargH/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesA")
|
||||
public void testModulesA() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/modulesA/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("filterABC")
|
||||
public void testFilterABC() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterABC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterAC")
|
||||
public void testFilterAC() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterAC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterB")
|
||||
public void testFilterB() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterB/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterBC")
|
||||
public void testFilterBC() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterBC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterC")
|
||||
public void testFilterC() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("full")
|
||||
public void testFull() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/full/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesA")
|
||||
public void testModulesA() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/modulesA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesAB")
|
||||
public void testModulesAB() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/modulesAB/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesB")
|
||||
public void testModulesB() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/modulesB/");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/framework/frameworkDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FrameworkDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInFrameworkDefs() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/framework/frameworkDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("childImportFModules")
|
||||
public void testChildImportFModules() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/childImportFModules/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excludePod1")
|
||||
public void testExcludePod1() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/excludePod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excludePod1Umbrella")
|
||||
public void testExcludePod1Umbrella() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/excludePod1Umbrella/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitSubmodule")
|
||||
public void testExplicitSubmodule() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/explicitSubmodule/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1")
|
||||
public void testFilterPod1() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1A")
|
||||
public void testFilterPod1A() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1A/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1Umbrella")
|
||||
public void testFilterPod1Umbrella() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1Umbrella/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1UmbrellaPod1A")
|
||||
public void testFilterPod1UmbrellaPod1A() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1UmbrellaPod1A/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forwardEnum")
|
||||
public void testForwardEnum() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/forwardEnum/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("full")
|
||||
public void testFull() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/full/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsAngleAngle")
|
||||
public void testImportsAngleAngle() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsAngleAngle/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsAngleQuote")
|
||||
public void testImportsAngleQuote() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsAngleQuote/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsQuoteAngle")
|
||||
public void testImportsQuoteAngle() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsQuoteAngle/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsQuoteQuote")
|
||||
public void testImportsQuoteQuote() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsQuoteQuote/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesPod1")
|
||||
public void testModulesPod1() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/modulesPod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("protocolDefs")
|
||||
public void testProtocolDefs() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/protocolDefs/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("twoChildren")
|
||||
public void testTwoChildren() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/twoChildren/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visitOtherModules")
|
||||
public void testVisitOtherModules() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/visitOtherModules/");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/framework.macros/macrosDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class MacrosDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInMacrosDefs() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/framework.macros/macrosDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesPod1")
|
||||
public void testModulesPod1() {
|
||||
runTest("native/native.tests/testData/CInterop/framework.macros/macrosDefs/modulesPod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("myMacroType")
|
||||
public void testMyMacroType() {
|
||||
runTest("native/native.tests/testData/CInterop/framework.macros/macrosDefs/myMacroType/");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/builtins/builtinsDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class BuiltinsDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInBuiltinsDefs() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/builtins/builtinsDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterA")
|
||||
public void testFilterA() {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/filterA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterStdargH")
|
||||
public void testFilterStdargH() {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/filterStdargH/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fullA")
|
||||
public void testFullA() {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/fullA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fullStdargH")
|
||||
public void testFullStdargH() {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/fullStdargH/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesA")
|
||||
public void testModulesA() {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/modulesA/");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+29
-29
@@ -19,38 +19,38 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/native.tests/testData/CInterop/frameworkIncludeCategories/cases")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class CInteropIncludeCategoriesTestGenerated extends AbstractNativeCInteropIncludeCategoriesTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCases() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/frameworkIncludeCategories/cases"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCases() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/frameworkIncludeCategories/cases"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/frameworkIncludeCategories/cases/smoke0/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() {
|
||||
runTest("native/native.tests/testData/CInterop/frameworkIncludeCategories/cases/smoke0/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smoke1")
|
||||
public void testSmoke1() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/frameworkIncludeCategories/cases/smoke1/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smoke1")
|
||||
public void testSmoke1() {
|
||||
runTest("native/native.tests/testData/CInterop/frameworkIncludeCategories/cases/smoke1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smoke2")
|
||||
public void testSmoke2() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/frameworkIncludeCategories/cases/smoke2/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smoke2")
|
||||
public void testSmoke2() {
|
||||
runTest("native/native.tests/testData/CInterop/frameworkIncludeCategories/cases/smoke2/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smoke3")
|
||||
public void testSmoke3() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/frameworkIncludeCategories/cases/smoke3/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smoke3")
|
||||
public void testSmoke3() {
|
||||
runTest("native/native.tests/testData/CInterop/frameworkIncludeCategories/cases/smoke3/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smoke4")
|
||||
public void testSmoke4() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/frameworkIncludeCategories/cases/smoke4/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smoke4")
|
||||
public void testSmoke4() {
|
||||
runTest("native/native.tests/testData/CInterop/frameworkIncludeCategories/cases/smoke4/");
|
||||
}
|
||||
}
|
||||
|
||||
+19
-19
@@ -19,26 +19,26 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/native.tests/testData/CInterop/KT-39120/defs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class CInteropKT39120TestGenerated extends AbstractNativeCInteropKT39120Test {
|
||||
@Test
|
||||
public void testAllFilesPresentInDefs() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/KT-39120/defs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDefs() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/KT-39120/defs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ForwardEnum")
|
||||
public void testForwardEnum() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/KT-39120/defs/ForwardEnum/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ForwardEnum")
|
||||
public void testForwardEnum() {
|
||||
runTest("native/native.tests/testData/CInterop/KT-39120/defs/ForwardEnum/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interModuleImport")
|
||||
public void testInterModuleImport() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/KT-39120/defs/interModuleImport/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("interModuleImport")
|
||||
public void testInterModuleImport() {
|
||||
runTest("native/native.tests/testData/CInterop/KT-39120/defs/interModuleImport/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("KT-39120")
|
||||
public void testKT_39120() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/KT-39120/defs/KT-39120/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("KT-39120")
|
||||
public void testKT_39120() {
|
||||
runTest("native/native.tests/testData/CInterop/KT-39120/defs/KT-39120/");
|
||||
}
|
||||
}
|
||||
|
||||
+248
-248
@@ -17,259 +17,259 @@ import java.util.regex.Pattern;
|
||||
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
public class CInteropNoFModulesTestGenerated extends AbstractNativeCInteropNoFModulesTest {
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/simple/simpleDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SimpleDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInSimpleDefs() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/simple/simpleDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterA")
|
||||
public void testFilterA() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterAB")
|
||||
public void testFilterAB() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterAB/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterABC")
|
||||
public void testFilterABC() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterABC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterAC")
|
||||
public void testFilterAC() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterAC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterB")
|
||||
public void testFilterB() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterB/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterBC")
|
||||
public void testFilterBC() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterBC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterC")
|
||||
public void testFilterC() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("full")
|
||||
public void testFull() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/full/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesA")
|
||||
public void testModulesA() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/modulesA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesAB")
|
||||
public void testModulesAB() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/modulesAB/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesB")
|
||||
public void testModulesB() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/modulesB/");
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/simple/simpleDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SimpleDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInSimpleDefs() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/simple/simpleDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/framework/frameworkDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FrameworkDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInFrameworkDefs() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/framework/frameworkDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("childImportFModules")
|
||||
public void testChildImportFModules() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/childImportFModules/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excludePod1")
|
||||
public void testExcludePod1() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/excludePod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excludePod1Umbrella")
|
||||
public void testExcludePod1Umbrella() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/excludePod1Umbrella/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitSubmodule")
|
||||
public void testExplicitSubmodule() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/explicitSubmodule/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1")
|
||||
public void testFilterPod1() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1A")
|
||||
public void testFilterPod1A() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1A/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1Umbrella")
|
||||
public void testFilterPod1Umbrella() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1Umbrella/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1UmbrellaPod1A")
|
||||
public void testFilterPod1UmbrellaPod1A() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1UmbrellaPod1A/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forwardEnum")
|
||||
public void testForwardEnum() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/forwardEnum/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("full")
|
||||
public void testFull() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/full/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsAngleAngle")
|
||||
public void testImportsAngleAngle() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsAngleAngle/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsAngleQuote")
|
||||
public void testImportsAngleQuote() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsAngleQuote/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsQuoteAngle")
|
||||
public void testImportsQuoteAngle() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsQuoteAngle/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsQuoteQuote")
|
||||
public void testImportsQuoteQuote() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsQuoteQuote/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesPod1")
|
||||
public void testModulesPod1() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/modulesPod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("protocolDefs")
|
||||
public void testProtocolDefs() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/protocolDefs/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("twoChildren")
|
||||
public void testTwoChildren() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/twoChildren/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visitOtherModules")
|
||||
public void testVisitOtherModules() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/visitOtherModules/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("filterA")
|
||||
public void testFilterA() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterA/");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/framework.macros/macrosDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class MacrosDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInMacrosDefs() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/framework.macros/macrosDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesPod1")
|
||||
public void testModulesPod1() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework.macros/macrosDefs/modulesPod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("myMacroType")
|
||||
public void testMyMacroType() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/framework.macros/macrosDefs/myMacroType/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("filterAB")
|
||||
public void testFilterAB() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterAB/");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/builtins/builtinsDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class BuiltinsDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInBuiltinsDefs() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/builtins/builtinsDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterA")
|
||||
public void testFilterA() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/filterA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterStdargH")
|
||||
public void testFilterStdargH() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/filterStdargH/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fullA")
|
||||
public void testFullA() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/fullA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fullStdargH")
|
||||
public void testFullStdargH() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/fullStdargH/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesA")
|
||||
public void testModulesA() throws Exception {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/modulesA/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("filterABC")
|
||||
public void testFilterABC() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterABC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterAC")
|
||||
public void testFilterAC() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterAC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterB")
|
||||
public void testFilterB() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterB/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterBC")
|
||||
public void testFilterBC() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterBC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterC")
|
||||
public void testFilterC() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/filterC/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("full")
|
||||
public void testFull() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/full/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesA")
|
||||
public void testModulesA() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/modulesA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesAB")
|
||||
public void testModulesAB() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/modulesAB/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesB")
|
||||
public void testModulesB() {
|
||||
runTest("native/native.tests/testData/CInterop/simple/simpleDefs/modulesB/");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/framework/frameworkDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FrameworkDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInFrameworkDefs() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/framework/frameworkDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("childImportFModules")
|
||||
public void testChildImportFModules() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/childImportFModules/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excludePod1")
|
||||
public void testExcludePod1() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/excludePod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excludePod1Umbrella")
|
||||
public void testExcludePod1Umbrella() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/excludePod1Umbrella/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitSubmodule")
|
||||
public void testExplicitSubmodule() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/explicitSubmodule/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1")
|
||||
public void testFilterPod1() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1A")
|
||||
public void testFilterPod1A() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1A/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1Umbrella")
|
||||
public void testFilterPod1Umbrella() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1Umbrella/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterPod1UmbrellaPod1A")
|
||||
public void testFilterPod1UmbrellaPod1A() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/filterPod1UmbrellaPod1A/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forwardEnum")
|
||||
public void testForwardEnum() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/forwardEnum/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("full")
|
||||
public void testFull() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/full/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsAngleAngle")
|
||||
public void testImportsAngleAngle() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsAngleAngle/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsAngleQuote")
|
||||
public void testImportsAngleQuote() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsAngleQuote/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsQuoteAngle")
|
||||
public void testImportsQuoteAngle() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsQuoteAngle/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsQuoteQuote")
|
||||
public void testImportsQuoteQuote() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/importsQuoteQuote/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesPod1")
|
||||
public void testModulesPod1() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/modulesPod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("protocolDefs")
|
||||
public void testProtocolDefs() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/protocolDefs/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("twoChildren")
|
||||
public void testTwoChildren() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/twoChildren/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visitOtherModules")
|
||||
public void testVisitOtherModules() {
|
||||
runTest("native/native.tests/testData/CInterop/framework/frameworkDefs/visitOtherModules/");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/framework.macros/macrosDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class MacrosDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInMacrosDefs() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/framework.macros/macrosDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesPod1")
|
||||
public void testModulesPod1() {
|
||||
runTest("native/native.tests/testData/CInterop/framework.macros/macrosDefs/modulesPod1/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("myMacroType")
|
||||
public void testMyMacroType() {
|
||||
runTest("native/native.tests/testData/CInterop/framework.macros/macrosDefs/myMacroType/");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/CInterop/builtins/builtinsDefs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class BuiltinsDefs {
|
||||
@Test
|
||||
public void testAllFilesPresentInBuiltinsDefs() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CInterop/builtins/builtinsDefs"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterA")
|
||||
public void testFilterA() {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/filterA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("filterStdargH")
|
||||
public void testFilterStdargH() {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/filterStdargH/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fullA")
|
||||
public void testFullA() {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/fullA/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fullStdargH")
|
||||
public void testFullStdargH() {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/fullStdargH/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modulesA")
|
||||
public void testModulesA() {
|
||||
runTest("native/native.tests/testData/CInterop/builtins/builtinsDefs/modulesA/");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+14
-14
@@ -23,20 +23,20 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirCExportTestDynamicGenerated extends AbstractNativeCExportDynamicTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCExport() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCExport() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() throws Exception {
|
||||
runTest("native/native.tests/testData/CExport/kt36639/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() {
|
||||
runTest("native/native.tests/testData/CExport/kt36639/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() throws Exception {
|
||||
runTest("native/native.tests/testData/CExport/smoke0/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() {
|
||||
runTest("native/native.tests/testData/CExport/smoke0/");
|
||||
}
|
||||
}
|
||||
|
||||
+14
-14
@@ -23,20 +23,20 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirCExportTestStaticGenerated extends AbstractNativeCExportStaticTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCExport() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCExport() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/CExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() throws Exception {
|
||||
runTest("native/native.tests/testData/CExport/kt36639/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt36639")
|
||||
public void testKt36639() {
|
||||
runTest("native/native.tests/testData/CExport/kt36639/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() throws Exception {
|
||||
runTest("native/native.tests/testData/CExport/smoke0/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smoke0")
|
||||
public void testSmoke0() {
|
||||
runTest("native/native.tests/testData/CExport/smoke0/");
|
||||
}
|
||||
}
|
||||
|
||||
+252
-252
@@ -20,267 +20,267 @@ import java.util.regex.Pattern;
|
||||
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
public class FirInfrastructureTestGenerated extends AbstractNativeBlackBoxTest {
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/samples")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("infrastructure")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Samples {
|
||||
@Test
|
||||
public void testAllFilesPresentInSamples() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/samples"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_custom_args.kt")
|
||||
public void testRegular_custom_args() {
|
||||
runTest("native/native.tests/testData/samples/regular_custom_args.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multifile.kt")
|
||||
public void testRegular_multifile() {
|
||||
runTest("native/native.tests/testData/samples/regular_multifile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multifile_with_explicit_packages.kt")
|
||||
public void testRegular_multifile_with_explicit_packages() {
|
||||
runTest("native/native.tests/testData/samples/regular_multifile_with_explicit_packages.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule.kt")
|
||||
public void testRegular_multimodule() {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_implicit_first_module.kt")
|
||||
public void testRegular_multimodule_implicit_first_module() {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_implicit_first_module.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_implicit_first_module_with_header_comment.kt")
|
||||
public void testRegular_multimodule_implicit_first_module_with_header_comment() {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_implicit_first_module_with_header_comment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_implicit_first_module_with_header_statement.kt")
|
||||
public void testRegular_multimodule_implicit_first_module_with_header_statement() {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_implicit_first_module_with_header_statement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_with_header_comment.kt")
|
||||
public void testRegular_multimodule_with_header_comment() {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_with_header_comment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_with_header_statement.kt")
|
||||
public void testRegular_multimodule_with_header_statement() {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_with_header_statement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple.kt")
|
||||
public void testRegular_simple() {
|
||||
runTest("native/native.tests/testData/samples/regular_simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_default_tr.kt")
|
||||
public void testRegular_simple_default_tr() {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_default_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_explicit_kind.kt")
|
||||
public void testRegular_simple_explicit_kind() {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_explicit_kind.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_noexit_tr.kt")
|
||||
public void testRegular_simple_noexit_tr() {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_noexit_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_with_output.kt")
|
||||
public void testRegular_simple_with_output() {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_with_output.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_worker_tr.kt")
|
||||
public void testRegular_simple_worker_tr() {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_worker_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_lldb_stepping.kt")
|
||||
public void testStandalone_lldb_stepping() {
|
||||
runTest("native/native.tests/testData/samples/standalone_lldb_stepping.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_multifile.kt")
|
||||
public void testStandalone_multifile() {
|
||||
runTest("native/native.tests/testData/samples/standalone_multifile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_long_running.kt")
|
||||
public void testStandalone_notr_long_running() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_long_running.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_long_running_and_verbose.kt")
|
||||
public void testStandalone_notr_long_running_and_verbose() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_long_running_and_verbose.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_multifile_entry_point.kt")
|
||||
public void testStandalone_notr_multifile_entry_point() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_multifile_entry_point.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_nonzero_exit_code.kt")
|
||||
public void testStandalone_notr_nonzero_exit_code() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_nonzero_exit_code.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_nonzero_exit_code2.kt")
|
||||
public void testStandalone_notr_nonzero_exit_code2() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_nonzero_exit_code2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple.kt")
|
||||
public void testStandalone_notr_simple() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple2.kt")
|
||||
public void testStandalone_notr_simple2() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_entry_point.kt")
|
||||
public void testStandalone_notr_simple_entry_point() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_entry_point.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_entry_point2.kt")
|
||||
public void testStandalone_notr_simple_entry_point2() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_entry_point2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_with_input_and_output.kt")
|
||||
public void testStandalone_notr_simple_with_input_and_output() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_with_input_and_output.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_with_output.kt")
|
||||
public void testStandalone_notr_simple_with_output() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_with_output.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_too_verbose.kt")
|
||||
public void testStandalone_notr_too_verbose() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_too_verbose.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_zero_exit_code.kt")
|
||||
public void testStandalone_notr_zero_exit_code() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_zero_exit_code.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple.kt")
|
||||
public void testStandalone_simple() {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_default_tr.kt")
|
||||
public void testStandalone_simple_default_tr() {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_default_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_noexit_tr.kt")
|
||||
public void testStandalone_simple_noexit_tr() {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_noexit_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_with_output.kt")
|
||||
public void testStandalone_simple_with_output() {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_with_output.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_worker_tr.kt")
|
||||
public void testStandalone_simple_worker_tr() {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_worker_tr.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/samples")
|
||||
@TestMetadata("native/native.tests/testData/samples/inner")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("infrastructure")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Samples {
|
||||
@Test
|
||||
public void testAllFilesPresentInSamples() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/samples"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
public class Inner {
|
||||
@Test
|
||||
public void testAllFilesPresentInInner() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/samples/inner"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_custom_args.kt")
|
||||
public void testRegular_custom_args() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_custom_args.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_simple.kt")
|
||||
public void testRegular_simple() {
|
||||
runTest("native/native.tests/testData/samples/inner/regular_simple.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multifile.kt")
|
||||
public void testRegular_multifile() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multifile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multifile_with_explicit_packages.kt")
|
||||
public void testRegular_multifile_with_explicit_packages() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multifile_with_explicit_packages.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule.kt")
|
||||
public void testRegular_multimodule() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_implicit_first_module.kt")
|
||||
public void testRegular_multimodule_implicit_first_module() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_implicit_first_module.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_implicit_first_module_with_header_comment.kt")
|
||||
public void testRegular_multimodule_implicit_first_module_with_header_comment() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_implicit_first_module_with_header_comment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_implicit_first_module_with_header_statement.kt")
|
||||
public void testRegular_multimodule_implicit_first_module_with_header_statement() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_implicit_first_module_with_header_statement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_with_header_comment.kt")
|
||||
public void testRegular_multimodule_with_header_comment() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_with_header_comment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_with_header_statement.kt")
|
||||
public void testRegular_multimodule_with_header_statement() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_with_header_statement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple.kt")
|
||||
public void testRegular_simple() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_default_tr.kt")
|
||||
public void testRegular_simple_default_tr() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_default_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_explicit_kind.kt")
|
||||
public void testRegular_simple_explicit_kind() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_explicit_kind.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_noexit_tr.kt")
|
||||
public void testRegular_simple_noexit_tr() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_noexit_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_with_output.kt")
|
||||
public void testRegular_simple_with_output() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_with_output.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_worker_tr.kt")
|
||||
public void testRegular_simple_worker_tr() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_worker_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_lldb_stepping.kt")
|
||||
public void testStandalone_lldb_stepping() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_lldb_stepping.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_multifile.kt")
|
||||
public void testStandalone_multifile() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_multifile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_long_running.kt")
|
||||
public void testStandalone_notr_long_running() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_long_running.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_long_running_and_verbose.kt")
|
||||
public void testStandalone_notr_long_running_and_verbose() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_long_running_and_verbose.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_multifile_entry_point.kt")
|
||||
public void testStandalone_notr_multifile_entry_point() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_multifile_entry_point.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_nonzero_exit_code.kt")
|
||||
public void testStandalone_notr_nonzero_exit_code() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_nonzero_exit_code.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_nonzero_exit_code2.kt")
|
||||
public void testStandalone_notr_nonzero_exit_code2() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_nonzero_exit_code2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple.kt")
|
||||
public void testStandalone_notr_simple() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple2.kt")
|
||||
public void testStandalone_notr_simple2() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_entry_point.kt")
|
||||
public void testStandalone_notr_simple_entry_point() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_entry_point.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_entry_point2.kt")
|
||||
public void testStandalone_notr_simple_entry_point2() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_entry_point2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_with_input_and_output.kt")
|
||||
public void testStandalone_notr_simple_with_input_and_output() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_with_input_and_output.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_with_output.kt")
|
||||
public void testStandalone_notr_simple_with_output() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_with_output.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_too_verbose.kt")
|
||||
public void testStandalone_notr_too_verbose() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_too_verbose.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_zero_exit_code.kt")
|
||||
public void testStandalone_notr_zero_exit_code() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_zero_exit_code.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple.kt")
|
||||
public void testStandalone_simple() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_default_tr.kt")
|
||||
public void testStandalone_simple_default_tr() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_default_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_noexit_tr.kt")
|
||||
public void testStandalone_simple_noexit_tr() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_noexit_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_with_output.kt")
|
||||
public void testStandalone_simple_with_output() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_with_output.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_worker_tr.kt")
|
||||
public void testStandalone_simple_worker_tr() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_worker_tr.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/samples/inner")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("infrastructure")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Inner {
|
||||
@Test
|
||||
public void testAllFilesPresentInInner() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/samples/inner"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple.kt")
|
||||
public void testRegular_simple() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/inner/regular_simple.kt");
|
||||
}
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/samples2")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("infrastructure")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Samples2 {
|
||||
@Test
|
||||
public void testAllFilesPresentInSamples2() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/samples2"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/samples2")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("infrastructure")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Samples2 {
|
||||
@Test
|
||||
public void testAllFilesPresentInSamples2() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/samples2"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple.kt")
|
||||
public void testRegular_simple() throws Exception {
|
||||
runTest("native/native.tests/testData/samples2/regular_simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_simple.kt")
|
||||
public void testRegular_simple() {
|
||||
runTest("native/native.tests/testData/samples2/regular_simple.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+84
-84
@@ -31,104 +31,104 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirLldbTestGenerated extends AbstractNativeBlackBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInLldb() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/lldb"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInLldb() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/lldb"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canInspectArrayChildren.kt")
|
||||
public void testCanInspectArrayChildren() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canInspectArrayChildren.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canInspectArrayChildren.kt")
|
||||
public void testCanInspectArrayChildren() {
|
||||
runTest("native/native.tests/testData/lldb/canInspectArrayChildren.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canInspectArrays.kt")
|
||||
public void testCanInspectArrays() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canInspectArrays.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canInspectArrays.kt")
|
||||
public void testCanInspectArrays() {
|
||||
runTest("native/native.tests/testData/lldb/canInspectArrays.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canInspectCatchParameter.kt")
|
||||
public void testCanInspectCatchParameter() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canInspectCatchParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canInspectCatchParameter.kt")
|
||||
public void testCanInspectCatchParameter() {
|
||||
runTest("native/native.tests/testData/lldb/canInspectCatchParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canInspectClasses.kt")
|
||||
public void testCanInspectClasses() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canInspectClasses.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canInspectClasses.kt")
|
||||
public void testCanInspectClasses() {
|
||||
runTest("native/native.tests/testData/lldb/canInspectClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canInspectStrings.kt")
|
||||
public void testCanInspectStrings() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canInspectStrings.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canInspectStrings.kt")
|
||||
public void testCanInspectStrings() {
|
||||
runTest("native/native.tests/testData/lldb/canInspectStrings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canInspectValuesOfPrimitiveTypes.kt")
|
||||
public void testCanInspectValuesOfPrimitiveTypes() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canInspectValuesOfPrimitiveTypes.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canInspectValuesOfPrimitiveTypes.kt")
|
||||
public void testCanInspectValuesOfPrimitiveTypes() {
|
||||
runTest("native/native.tests/testData/lldb/canInspectValuesOfPrimitiveTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canStepThroughCode.kt")
|
||||
public void testCanStepThroughCode() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canStepThroughCode.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canStepThroughCode.kt")
|
||||
public void testCanStepThroughCode() {
|
||||
runTest("native/native.tests/testData/lldb/canStepThroughCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt33055.kt")
|
||||
public void testKt33055() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt33055.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt33055.kt")
|
||||
public void testKt33055() {
|
||||
runTest("native/native.tests/testData/lldb/kt33055.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt33364.kt")
|
||||
public void testKt33364() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt33364.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt33364.kt")
|
||||
public void testKt33364() {
|
||||
runTest("native/native.tests/testData/lldb/kt33364.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42208.kt")
|
||||
public void testKt42208() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt42208.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt42208.kt")
|
||||
public void testKt42208() {
|
||||
runTest("native/native.tests/testData/lldb/kt42208.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42208WithPassingLambdaToAnotherFunction.kt")
|
||||
public void testKt42208WithPassingLambdaToAnotherFunction() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt42208WithPassingLambdaToAnotherFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt42208WithPassingLambdaToAnotherFunction.kt")
|
||||
public void testKt42208WithPassingLambdaToAnotherFunction() {
|
||||
runTest("native/native.tests/testData/lldb/kt42208WithPassingLambdaToAnotherFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42208WithVariable.kt")
|
||||
public void testKt42208WithVariable() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt42208WithVariable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt42208WithVariable.kt")
|
||||
public void testKt42208WithVariable() {
|
||||
runTest("native/native.tests/testData/lldb/kt42208WithVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47198.kt")
|
||||
public void testKt47198() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt47198.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt47198.kt")
|
||||
public void testKt47198() {
|
||||
runTest("native/native.tests/testData/lldb/kt47198.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47198WithBody.kt")
|
||||
public void testKt47198WithBody() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt47198WithBody.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt47198WithBody.kt")
|
||||
public void testKt47198WithBody() {
|
||||
runTest("native/native.tests/testData/lldb/kt47198WithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt61131.kt")
|
||||
public void testKt61131() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt61131.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt61131.kt")
|
||||
public void testKt61131() {
|
||||
runTest("native/native.tests/testData/lldb/kt61131.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stepThroughInlineArguments.kt")
|
||||
public void testStepThroughInlineArguments() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/stepThroughInlineArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("stepThroughInlineArguments.kt")
|
||||
public void testStepThroughInlineArguments() {
|
||||
runTest("native/native.tests/testData/lldb/stepThroughInlineArguments.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+9
-9
@@ -23,14 +23,14 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirNativeCInteropLibraryAbiReaderTest extends AbstractNativeCInteropLibraryAbiReaderTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCinterop() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/dump-abi/cinterop"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCinterop() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/dump-abi/cinterop"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interop_class_inheritor.kt")
|
||||
public void testInterop_class_inheritor() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/cinterop/interop_class_inheritor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("interop_class_inheritor.kt")
|
||||
public void testInterop_class_inheritor() {
|
||||
runTest("compiler/testData/klib/dump-abi/cinterop/interop_class_inheritor.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+47106
-47106
File diff suppressed because it is too large
Load Diff
+48277
-48277
File diff suppressed because it is too large
Load Diff
+4617
-4617
File diff suppressed because it is too large
Load Diff
+89
-89
@@ -23,110 +23,110 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirNativeHeaderKlibComparisonTestGenerated extends AbstractNativeHeaderKlibComparisonTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInComparison() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/header-klibs/comparison"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInComparison() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/header-klibs/comparison"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousObjects")
|
||||
public void testAnonymousObjects() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/anonymousObjects/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("anonymousObjects")
|
||||
public void testAnonymousObjects() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/anonymousObjects/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classFlags")
|
||||
public void testClassFlags() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/classFlags/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classFlags")
|
||||
public void testClassFlags() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/classFlags/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classPrivateMembers")
|
||||
public void testClassPrivateMembers() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/classPrivateMembers/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classPrivateMembers")
|
||||
public void testClassPrivateMembers() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/classPrivateMembers/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constant")
|
||||
public void testConstant() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/constant/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constant")
|
||||
public void testConstant() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/constant/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationOrderInline")
|
||||
public void testDeclarationOrderInline() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/declarationOrderInline/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("declarationOrderInline")
|
||||
public void testDeclarationOrderInline() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/declarationOrderInline/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionBody")
|
||||
public void testFunctionBody() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/functionBody/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("functionBody")
|
||||
public void testFunctionBody() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/functionBody/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunInPrivateClass")
|
||||
public void testInlineFunInPrivateClass() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/inlineFunInPrivateClass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineFunInPrivateClass")
|
||||
public void testInlineFunInPrivateClass() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/inlineFunInPrivateClass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunInPrivateNestedClass")
|
||||
public void testInlineFunInPrivateNestedClass() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/inlineFunInPrivateNestedClass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineFunInPrivateNestedClass")
|
||||
public void testInlineFunInPrivateNestedClass() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/inlineFunInPrivateNestedClass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunctionBody")
|
||||
public void testInlineFunctionBody() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/inlineFunctionBody/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineFunctionBody")
|
||||
public void testInlineFunctionBody() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/inlineFunctionBody/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdas")
|
||||
public void testLambdas() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/lambdas/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("lambdas")
|
||||
public void testLambdas() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/lambdas/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterName")
|
||||
public void testParameterName() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/parameterName/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("parameterName")
|
||||
public void testParameterName() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/parameterName/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateInterface")
|
||||
public void testPrivateInterface() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/privateInterface/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("privateInterface")
|
||||
public void testPrivateInterface() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/privateInterface/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateTypealias")
|
||||
public void testPrivateTypealias() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/privateTypealias/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("privateTypealias")
|
||||
public void testPrivateTypealias() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/privateTypealias/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnType")
|
||||
public void testReturnType() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/returnType/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("returnType")
|
||||
public void testReturnType() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/returnType/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superClass")
|
||||
public void testSuperClass() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/superClass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("superClass")
|
||||
public void testSuperClass() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/superClass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticAccessors")
|
||||
public void testSyntheticAccessors() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/syntheticAccessors/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("syntheticAccessors")
|
||||
public void testSyntheticAccessors() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/syntheticAccessors/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPrivateMembers")
|
||||
public void testTopLevelPrivateMembers() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/topLevelPrivateMembers/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("topLevelPrivateMembers")
|
||||
public void testTopLevelPrivateMembers() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/topLevelPrivateMembers/");
|
||||
}
|
||||
}
|
||||
|
||||
+74
-74
@@ -23,92 +23,92 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirNativeHeaderKlibCompilationTestGenerated extends AbstractNativeHeaderKlibCompilationTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCompilation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/header-klibs/compilation"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCompilation() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/header-klibs/compilation"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousObject")
|
||||
public void testAnonymousObject() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/anonymousObject/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("anonymousObject")
|
||||
public void testAnonymousObject() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/anonymousObject/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classes")
|
||||
public void testClasses() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/classes/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classes")
|
||||
public void testClasses() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/classes/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("clinit")
|
||||
public void testClinit() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/clinit/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("clinit")
|
||||
public void testClinit() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/clinit/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineAnnotationInstantiation")
|
||||
public void testInlineAnnotationInstantiation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineAnnotationInstantiation/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineAnnotationInstantiation")
|
||||
public void testInlineAnnotationInstantiation() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineAnnotationInstantiation/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineAnonymousObject")
|
||||
public void testInlineAnonymousObject() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineAnonymousObject/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineAnonymousObject")
|
||||
public void testInlineAnonymousObject() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineAnonymousObject/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineCapture")
|
||||
public void testInlineCapture() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineCapture/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineCapture")
|
||||
public void testInlineCapture() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineCapture/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineNoRegeneration")
|
||||
public void testInlineNoRegeneration() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineNoRegeneration/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineNoRegeneration")
|
||||
public void testInlineNoRegeneration() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineNoRegeneration/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineReifiedFunction")
|
||||
public void testInlineReifiedFunction() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineReifiedFunction/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineReifiedFunction")
|
||||
public void testInlineReifiedFunction() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineReifiedFunction/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineWhenMappings")
|
||||
public void testInlineWhenMappings() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineWhenMappings/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineWhenMappings")
|
||||
public void testInlineWhenMappings() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineWhenMappings/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerObjectRegeneration")
|
||||
public void testInnerObjectRegeneration() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/innerObjectRegeneration/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("innerObjectRegeneration")
|
||||
public void testInnerObjectRegeneration() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/innerObjectRegeneration/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-40133")
|
||||
public void testKt_40133() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/kt-40133/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt-40133")
|
||||
public void testKt_40133() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/kt-40133/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateOnlyConstructors")
|
||||
public void testPrivateOnlyConstructors() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/privateOnlyConstructors/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("privateOnlyConstructors")
|
||||
public void testPrivateOnlyConstructors() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/privateOnlyConstructors/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateValueClassConstructor")
|
||||
public void testPrivateValueClassConstructor() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/privateValueClassConstructor/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("privateValueClassConstructor")
|
||||
public void testPrivateValueClassConstructor() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/privateValueClassConstructor/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevel")
|
||||
public void testTopLevel() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/topLevel/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("topLevel")
|
||||
public void testTopLevel() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/topLevel/");
|
||||
}
|
||||
}
|
||||
|
||||
+29
-29
@@ -23,38 +23,38 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirNativeKlibDumpIrSignaturesTestGenerated extends AbstractNativeKlibDumpIrSignaturesTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_signatures() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-signatures"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_signatures() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-signatures"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callables.kt")
|
||||
public void testCallables() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/callables.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("callables.kt")
|
||||
public void testCallables() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/callables.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imported_declarations.kt")
|
||||
public void testImported_declarations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_declarations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("imported_declarations.kt")
|
||||
public void testImported_declarations() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_declarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imported_from_cinterop.kt")
|
||||
public void testImported_from_cinterop() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_from_cinterop.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("imported_from_cinterop.kt")
|
||||
public void testImported_from_cinterop() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_from_cinterop.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("type_parameters.kt")
|
||||
public void testType_parameters() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/type_parameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("type_parameters.kt")
|
||||
public void testType_parameters() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/type_parameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visibility.kt")
|
||||
public void testVisibility() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/visibility.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("visibility.kt")
|
||||
public void testVisibility() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/visibility.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+34
-34
@@ -23,44 +23,44 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirNativeKlibDumpIrTestGenerated extends AbstractNativeKlibDumpIrTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_ir() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-ir"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_ir() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-ir"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class.kt")
|
||||
public void testClass() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/class.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("class.kt")
|
||||
public void testClass() {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/constructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/enum.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("field.kt")
|
||||
public void testField() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/field.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("field.kt")
|
||||
public void testField() {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/field.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fun.kt")
|
||||
public void testFun() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/fun.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("fun.kt")
|
||||
public void testFun() {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/fun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typealias.kt")
|
||||
public void testTypealias() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/typealias.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typealias.kt")
|
||||
public void testTypealias() {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/typealias.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+44
-44
@@ -23,56 +23,56 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirNativeKlibDumpMetadataSignaturesTestGenerated extends AbstractNativeKlibDumpMetadataSignaturesTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_signatures() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-signatures"), Pattern.compile("^([^_](.+)).(kt|def)$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_signatures() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-signatures"), Pattern.compile("^([^_](.+)).(kt|def)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callables.kt")
|
||||
public void testCallables() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/callables.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("callables.kt")
|
||||
public void testCallables() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/callables.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imported_declarations.kt")
|
||||
public void testImported_declarations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_declarations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("imported_declarations.kt")
|
||||
public void testImported_declarations() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_declarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imported_from_cinterop.kt")
|
||||
public void testImported_from_cinterop() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_from_cinterop.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("imported_from_cinterop.kt")
|
||||
public void testImported_from_cinterop() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_from_cinterop.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imported_from_cinterop.lib.def")
|
||||
public void testImported_from_cinterop_lib() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_from_cinterop.lib.def");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("imported_from_cinterop.lib.def")
|
||||
public void testImported_from_cinterop_lib() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_from_cinterop.lib.def");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("just_cinterop_c.def")
|
||||
public void testJust_cinterop_c() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/just_cinterop_c.def");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("just_cinterop_c.def")
|
||||
public void testJust_cinterop_c() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/just_cinterop_c.def");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("just_cinterop_objc.def")
|
||||
public void testJust_cinterop_objc() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/just_cinterop_objc.def");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("just_cinterop_objc.def")
|
||||
public void testJust_cinterop_objc() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/just_cinterop_objc.def");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("type_parameters.kt")
|
||||
public void testType_parameters() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/type_parameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("type_parameters.kt")
|
||||
public void testType_parameters() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/type_parameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visibility.kt")
|
||||
public void testVisibility() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/visibility.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("visibility.kt")
|
||||
public void testVisibility() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/visibility.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+215
-215
@@ -23,266 +23,266 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirNativeKlibDumpMetadataTestGenerated extends AbstractNativeKlibDumpMetadataTest {
|
||||
@Test
|
||||
@TestMetadata("Accessors.kt")
|
||||
public void testAccessors() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Accessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_metadata() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/annotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations_source_retention.kt")
|
||||
public void testAnnotations_source_retention() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/annotations_source_retention.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Classes.kt")
|
||||
public void testClasses() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Classes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Constructors.kt")
|
||||
public void testConstructors() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Constructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("data_class.kt")
|
||||
public void testData_class() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/data_class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Enum.kt")
|
||||
public void testEnum() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("FunctionModifiers.kt")
|
||||
public void testFunctionModifiers() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/FunctionModifiers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt55464_serializeTypeAnnotation.kt")
|
||||
public void testKt55464_serializeTypeAnnotation() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/kt55464_serializeTypeAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56018_value_parameters_annotations.kt")
|
||||
public void testKt56018_value_parameters_annotations() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/kt56018_value_parameters_annotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MethodModality.kt")
|
||||
public void testMethodModality() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/MethodModality.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Objects.kt")
|
||||
public void testObjects() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Objects.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property_accessors.kt")
|
||||
public void testProperty_accessors() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/property_accessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelFunctions.kt")
|
||||
public void testTopLevelFunctions() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesCustomPackage.kt")
|
||||
public void testTopLevelPropertiesCustomPackage() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesCustomPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesRootPackage.kt")
|
||||
public void testTopLevelPropertiesRootPackage() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesRootPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesWithClassesCustomPackage.kt")
|
||||
public void testTopLevelPropertiesWithClassesCustomPackage() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesWithClassesCustomPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesWithClassesRootPackage.kt")
|
||||
public void testTopLevelPropertiesWithClassesRootPackage() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesWithClassesRootPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("type_annotations.kt")
|
||||
public void testType_annotations() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/type_annotations.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-metadata/builtinsSerializer")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class BuiltinsSerializer {
|
||||
@Test
|
||||
@TestMetadata("Accessors.kt")
|
||||
public void testAccessors() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Accessors.kt");
|
||||
public void testAllFilesPresentInBuiltinsSerializer() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata/builtinsSerializer"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_metadata() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
@TestMetadata("annotatedEnumEntry.kt")
|
||||
public void testAnnotatedEnumEntry() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotatedEnumEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/annotations.kt");
|
||||
@TestMetadata("annotationTargets.kt")
|
||||
public void testAnnotationTargets() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationTargets.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations_source_retention.kt")
|
||||
public void testAnnotations_source_retention() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/annotations_source_retention.kt");
|
||||
@TestMetadata("binaryRetainedAnnotation.kt")
|
||||
public void testBinaryRetainedAnnotation() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/binaryRetainedAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Classes.kt")
|
||||
public void testClasses() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Classes.kt");
|
||||
@TestMetadata("compileTimeConstants.kt")
|
||||
public void testCompileTimeConstants() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/compileTimeConstants.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Constructors.kt")
|
||||
public void testConstructors() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Constructors.kt");
|
||||
@TestMetadata("nestedClassesAndObjects.kt")
|
||||
public void testNestedClassesAndObjects() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/nestedClassesAndObjects.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("data_class.kt")
|
||||
public void testData_class() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/data_class.kt");
|
||||
@TestMetadata("propertyAccessorAnnotations.kt")
|
||||
public void testPropertyAccessorAnnotations() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/propertyAccessorAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Enum.kt");
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("FunctionModifiers.kt")
|
||||
public void testFunctionModifiers() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/FunctionModifiers.kt");
|
||||
@TestMetadata("sourceRetainedAnnotation.kt")
|
||||
public void testSourceRetainedAnnotation() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/sourceRetainedAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt55464_serializeTypeAnnotation.kt")
|
||||
public void testKt55464_serializeTypeAnnotation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/kt55464_serializeTypeAnnotation.kt");
|
||||
@TestMetadata("stringConcatenation.kt")
|
||||
public void testStringConcatenation() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/stringConcatenation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56018_value_parameters_annotations.kt")
|
||||
public void testKt56018_value_parameters_annotations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/kt56018_value_parameters_annotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MethodModality.kt")
|
||||
public void testMethodModality() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/MethodModality.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Objects.kt")
|
||||
public void testObjects() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Objects.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property_accessors.kt")
|
||||
public void testProperty_accessors() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/property_accessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelFunctions.kt")
|
||||
public void testTopLevelFunctions() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesCustomPackage.kt")
|
||||
public void testTopLevelPropertiesCustomPackage() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesCustomPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesRootPackage.kt")
|
||||
public void testTopLevelPropertiesRootPackage() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesRootPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesWithClassesCustomPackage.kt")
|
||||
public void testTopLevelPropertiesWithClassesCustomPackage() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesWithClassesCustomPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesWithClassesRootPackage.kt")
|
||||
public void testTopLevelPropertiesWithClassesRootPackage() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesWithClassesRootPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("type_annotations.kt")
|
||||
public void testType_annotations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/type_annotations.kt");
|
||||
@TestMetadata("typeParameterAnnotation.kt")
|
||||
public void testTypeParameterAnnotation() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/typeParameterAnnotation.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-metadata/builtinsSerializer")
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class BuiltinsSerializer {
|
||||
@Test
|
||||
public void testAllFilesPresentInBuiltinsSerializer() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata/builtinsSerializer"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
public class AnnotationArguments {
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationArguments() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotatedEnumEntry.kt")
|
||||
public void testAnnotatedEnumEntry() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotatedEnumEntry.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotation.kt")
|
||||
public void testAnnotation() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/annotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationTargets.kt")
|
||||
public void testAnnotationTargets() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationTargets.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("binaryRetainedAnnotation.kt")
|
||||
public void testBinaryRetainedAnnotation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/binaryRetainedAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("primitiveArrays.kt")
|
||||
public void testPrimitiveArrays() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/primitiveArrays.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("compileTimeConstants.kt")
|
||||
public void testCompileTimeConstants() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/compileTimeConstants.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("primitives.kt")
|
||||
public void testPrimitives() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/primitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClassesAndObjects.kt")
|
||||
public void testNestedClassesAndObjects() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/nestedClassesAndObjects.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("string.kt")
|
||||
public void testString() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/string.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessorAnnotations.kt")
|
||||
public void testPropertyAccessorAnnotations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/propertyAccessorAnnotations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("varargs.kt")
|
||||
public void testVarargs() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/varargs.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sourceRetainedAnnotation.kt")
|
||||
public void testSourceRetainedAnnotation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/sourceRetainedAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringConcatenation.kt")
|
||||
public void testStringConcatenation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/stringConcatenation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameterAnnotation.kt")
|
||||
public void testTypeParameterAnnotation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/typeParameterAnnotation.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class AnnotationArguments {
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationArguments() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotation.kt")
|
||||
public void testAnnotation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/annotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveArrays.kt")
|
||||
public void testPrimitiveArrays() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/primitiveArrays.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitives.kt")
|
||||
public void testPrimitives() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/primitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string.kt")
|
||||
public void testString() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/string.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargs.kt")
|
||||
public void testVarargs() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/varargs.kt");
|
||||
}
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-metadata/klib")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class Klib {
|
||||
@Test
|
||||
public void testAllFilesPresentInKlib() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata/klib"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-metadata/klib")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class Klib {
|
||||
@Test
|
||||
public void testAllFilesPresentInKlib() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata/klib"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fieldAnnotations.kt")
|
||||
public void testFieldAnnotations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/klib/fieldAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("receiverAnnotations.kt")
|
||||
public void testReceiverAnnotations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/klib/receiverAnnotations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("fieldAnnotations.kt")
|
||||
public void testFieldAnnotations() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/klib/fieldAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("receiverAnnotations.kt")
|
||||
public void testReceiverAnnotations() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/klib/receiverAnnotations.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+199
-199
@@ -23,242 +23,242 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirNativeKlibEvolutionTestGenerated extends AbstractNativeKlibEvolutionTest {
|
||||
@Test
|
||||
@TestMetadata("addAbstractMemberBody.kt")
|
||||
public void testAddAbstractMemberBody() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addAbstractMemberBody.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addAbstractMemberBody.kt")
|
||||
public void testAddAbstractMemberBody() {
|
||||
runTest("compiler/testData/klib/evolution/addAbstractMemberBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addCompanionObject.kt")
|
||||
public void testAddCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addCompanionObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addCompanionObject.kt")
|
||||
public void testAddCompanionObject() {
|
||||
runTest("compiler/testData/klib/evolution/addCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addDefaultImplementations.kt")
|
||||
public void testAddDefaultImplementations() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addDefaultImplementations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addDefaultImplementations.kt")
|
||||
public void testAddDefaultImplementations() {
|
||||
runTest("compiler/testData/klib/evolution/addDefaultImplementations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addEnumClassMember.kt")
|
||||
public void testAddEnumClassMember() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addEnumClassMember.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addEnumClassMember.kt")
|
||||
public void testAddEnumClassMember() {
|
||||
runTest("compiler/testData/klib/evolution/addEnumClassMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addLateinitToVar.kt")
|
||||
public void testAddLateinitToVar() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addLateinitToVar.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addLateinitToVar.kt")
|
||||
public void testAddLateinitToVar() {
|
||||
runTest("compiler/testData/klib/evolution/addLateinitToVar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addOpenToClass.kt")
|
||||
public void testAddOpenToClass() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addOpenToClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addOpenToClass.kt")
|
||||
public void testAddOpenToClass() {
|
||||
runTest("compiler/testData/klib/evolution/addOpenToClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addOpenToMember.kt")
|
||||
public void testAddOpenToMember() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addOpenToMember.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addOpenToMember.kt")
|
||||
public void testAddOpenToMember() {
|
||||
runTest("compiler/testData/klib/evolution/addOpenToMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addOrRemoveConst.kt")
|
||||
public void testAddOrRemoveConst() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addOrRemoveConst.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addOrRemoveConst.kt")
|
||||
public void testAddOrRemoveConst() {
|
||||
runTest("compiler/testData/klib/evolution/addOrRemoveConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addOrRemoveInitBlock.kt")
|
||||
public void testAddOrRemoveInitBlock() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addOrRemoveInitBlock.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addOrRemoveInitBlock.kt")
|
||||
public void testAddOrRemoveInitBlock() {
|
||||
runTest("compiler/testData/klib/evolution/addOrRemoveInitBlock.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addOverloads.kt")
|
||||
public void testAddOverloads() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addOverloads.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addOverloads.kt")
|
||||
public void testAddOverloads() {
|
||||
runTest("compiler/testData/klib/evolution/addOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addParameterDefaulValue.kt")
|
||||
public void testAddParameterDefaulValue() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addParameterDefaulValue.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addParameterDefaulValue.kt")
|
||||
public void testAddParameterDefaulValue() {
|
||||
runTest("compiler/testData/klib/evolution/addParameterDefaulValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addPropertyAccessor.kt")
|
||||
public void testAddPropertyAccessor() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addPropertyAccessor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addPropertyAccessor.kt")
|
||||
public void testAddPropertyAccessor() {
|
||||
runTest("compiler/testData/klib/evolution/addPropertyAccessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addingSealedClassMember.kt")
|
||||
public void testAddingSealedClassMember() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addingSealedClassMember.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addingSealedClassMember.kt")
|
||||
public void testAddingSealedClassMember() {
|
||||
runTest("compiler/testData/klib/evolution/addingSealedClassMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInEvolution() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/evolution"), Pattern.compile("^(.+)\\.kt$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInEvolution() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/evolution"), Pattern.compile("^(.+)\\.kt$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeBaseClassOrder.kt")
|
||||
public void testChangeBaseClassOrder() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changeBaseClassOrder.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeBaseClassOrder.kt")
|
||||
public void testChangeBaseClassOrder() {
|
||||
runTest("compiler/testData/klib/evolution/changeBaseClassOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeCompanionToNestedObject.kt")
|
||||
public void testChangeCompanionToNestedObject() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changeCompanionToNestedObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeCompanionToNestedObject.kt")
|
||||
public void testChangeCompanionToNestedObject() {
|
||||
runTest("compiler/testData/klib/evolution/changeCompanionToNestedObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeConstInitialization.kt")
|
||||
public void testChangeConstInitialization() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changeConstInitialization.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeConstInitialization.kt")
|
||||
public void testChangeConstInitialization() {
|
||||
runTest("compiler/testData/klib/evolution/changeConstInitialization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeNamesOfTypeParameters.kt")
|
||||
public void testChangeNamesOfTypeParameters() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changeNamesOfTypeParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeNamesOfTypeParameters.kt")
|
||||
public void testChangeNamesOfTypeParameters() {
|
||||
runTest("compiler/testData/klib/evolution/changeNamesOfTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeObjectToCompanion.kt")
|
||||
public void testChangeObjectToCompanion() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changeObjectToCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeObjectToCompanion.kt")
|
||||
public void testChangeObjectToCompanion() {
|
||||
runTest("compiler/testData/klib/evolution/changeObjectToCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeParameterDefaultValue.kt")
|
||||
public void testChangeParameterDefaultValue() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changeParameterDefaultValue.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeParameterDefaultValue.kt")
|
||||
public void testChangeParameterDefaultValue() {
|
||||
runTest("compiler/testData/klib/evolution/changeParameterDefaultValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changePropertyFromValToVar.kt")
|
||||
public void testChangePropertyFromValToVar() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changePropertyFromValToVar.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changePropertyFromValToVar.kt")
|
||||
public void testChangePropertyFromValToVar() {
|
||||
runTest("compiler/testData/klib/evolution/changePropertyFromValToVar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changePropertyInitialization.kt")
|
||||
public void testChangePropertyInitialization() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changePropertyInitialization.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changePropertyInitialization.kt")
|
||||
public void testChangePropertyInitialization() {
|
||||
runTest("compiler/testData/klib/evolution/changePropertyInitialization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameterMarkValVar.kt")
|
||||
public void testConstructorParameterMarkValVar() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/constructorParameterMarkValVar.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constructorParameterMarkValVar.kt")
|
||||
public void testConstructorParameterMarkValVar() {
|
||||
runTest("compiler/testData/klib/evolution/constructorParameterMarkValVar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deleteOverrideMember.kt")
|
||||
public void testDeleteOverrideMember() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/deleteOverrideMember.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("deleteOverrideMember.kt")
|
||||
public void testDeleteOverrideMember() {
|
||||
runTest("compiler/testData/klib/evolution/deleteOverrideMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deletePrivateMembers.kt")
|
||||
public void testDeletePrivateMembers() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/deletePrivateMembers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("deletePrivateMembers.kt")
|
||||
public void testDeletePrivateMembers() {
|
||||
runTest("compiler/testData/klib/evolution/deletePrivateMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineBodyChange.kt")
|
||||
public void testInlineBodyChange() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/inlineBodyChange.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineBodyChange.kt")
|
||||
public void testInlineBodyChange() {
|
||||
runTest("compiler/testData/klib/evolution/inlineBodyChange.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunction.kt")
|
||||
public void testInlineFunction() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/inlineFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineFunction.kt")
|
||||
public void testInlineFunction() {
|
||||
runTest("compiler/testData/klib/evolution/inlineFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("makeFunctionInfixOrTailrec.kt")
|
||||
public void testMakeFunctionInfixOrTailrec() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/makeFunctionInfixOrTailrec.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("makeFunctionInfixOrTailrec.kt")
|
||||
public void testMakeFunctionInfixOrTailrec() {
|
||||
runTest("compiler/testData/klib/evolution/makeFunctionInfixOrTailrec.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("moreSpecificBaseClass.kt")
|
||||
public void testMoreSpecificBaseClass() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/moreSpecificBaseClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("moreSpecificBaseClass.kt")
|
||||
public void testMoreSpecificBaseClass() {
|
||||
runTest("compiler/testData/klib/evolution/moreSpecificBaseClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("moveMemberUpInHierarchy.kt")
|
||||
public void testMoveMemberUpInHierarchy() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/moveMemberUpInHierarchy.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("moveMemberUpInHierarchy.kt")
|
||||
public void testMoveMemberUpInHierarchy() {
|
||||
runTest("compiler/testData/klib/evolution/moveMemberUpInHierarchy.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("newFakeOverride.kt")
|
||||
public void testNewFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/newFakeOverride.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("newFakeOverride.kt")
|
||||
public void testNewFakeOverride() {
|
||||
runTest("compiler/testData/klib/evolution/newFakeOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("newOverrideMember.kt")
|
||||
public void testNewOverrideMember() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/newOverrideMember.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("newOverrideMember.kt")
|
||||
public void testNewOverrideMember() {
|
||||
runTest("compiler/testData/klib/evolution/newOverrideMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeAbstractFromClass.kt")
|
||||
public void testRemoveAbstractFromClass() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/removeAbstractFromClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeAbstractFromClass.kt")
|
||||
public void testRemoveAbstractFromClass() {
|
||||
runTest("compiler/testData/klib/evolution/removeAbstractFromClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeInfixOrTailrecFromFunction.kt")
|
||||
public void testRemoveInfixOrTailrecFromFunction() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/removeInfixOrTailrecFromFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeInfixOrTailrecFromFunction.kt")
|
||||
public void testRemoveInfixOrTailrecFromFunction() {
|
||||
runTest("compiler/testData/klib/evolution/removeInfixOrTailrecFromFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeLateinitFromVar.kt")
|
||||
public void testRemoveLateinitFromVar() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/removeLateinitFromVar.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeLateinitFromVar.kt")
|
||||
public void testRemoveLateinitFromVar() {
|
||||
runTest("compiler/testData/klib/evolution/removeLateinitFromVar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removePropertyAccessor.kt")
|
||||
public void testRemovePropertyAccessor() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/removePropertyAccessor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removePropertyAccessor.kt")
|
||||
public void testRemovePropertyAccessor() {
|
||||
runTest("compiler/testData/klib/evolution/removePropertyAccessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("renameArguments.kt")
|
||||
public void testRenameArguments() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/renameArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("renameArguments.kt")
|
||||
public void testRenameArguments() {
|
||||
runTest("compiler/testData/klib/evolution/renameArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reorderClassConstructors.kt")
|
||||
public void testReorderClassConstructors() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/reorderClassConstructors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("reorderClassConstructors.kt")
|
||||
public void testReorderClassConstructors() {
|
||||
runTest("compiler/testData/klib/evolution/reorderClassConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("turnClassIntoDataClass.kt")
|
||||
public void testTurnClassIntoDataClass() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/turnClassIntoDataClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("turnClassIntoDataClass.kt")
|
||||
public void testTurnClassIntoDataClass() {
|
||||
runTest("compiler/testData/klib/evolution/turnClassIntoDataClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("widenSuperMemberVisibility.kt")
|
||||
public void testWidenSuperMemberVisibility() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/widenSuperMemberVisibility.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("widenSuperMemberVisibility.kt")
|
||||
public void testWidenSuperMemberVisibility() {
|
||||
runTest("compiler/testData/klib/evolution/widenSuperMemberVisibility.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+124
-124
@@ -24,152 +24,152 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirNativeLibraryAbiReaderTest extends AbstractNativeLibraryAbiReaderTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInContent() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/dump-abi/content"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContent() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/dump-abi/content"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callables.kt")
|
||||
public void testCallables() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/callables.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("callables.kt")
|
||||
public void testCallables() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/callables.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classifiers.kt")
|
||||
public void testClassifiers() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/classifiers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classifiers.kt")
|
||||
public void testClassifiers() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/classifiers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_classes_1.kt")
|
||||
public void testExcluded_classes_1() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_classes_1.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_classes_1.kt")
|
||||
public void testExcluded_classes_1() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_classes_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_classes_2.kt")
|
||||
public void testExcluded_classes_2() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_classes_2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_classes_2.kt")
|
||||
public void testExcluded_classes_2() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_classes_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_classes_3.kt")
|
||||
public void testExcluded_classes_3() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_classes_3.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_classes_3.kt")
|
||||
public void testExcluded_classes_3() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_classes_3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_1.kt")
|
||||
public void testExcluded_packages_non_root_1() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_1.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_1.kt")
|
||||
public void testExcluded_packages_non_root_1() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_2.kt")
|
||||
public void testExcluded_packages_non_root_2() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_2.kt")
|
||||
public void testExcluded_packages_non_root_2() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_3.kt")
|
||||
public void testExcluded_packages_non_root_3() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_3.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_3.kt")
|
||||
public void testExcluded_packages_non_root_3() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_4.kt")
|
||||
public void testExcluded_packages_non_root_4() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_4.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_4.kt")
|
||||
public void testExcluded_packages_non_root_4() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_root_1.kt")
|
||||
public void testExcluded_packages_root_1() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_root_1.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_root_1.kt")
|
||||
public void testExcluded_packages_root_1() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_root_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_root_2.kt")
|
||||
public void testExcluded_packages_root_2() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_root_2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_root_2.kt")
|
||||
public void testExcluded_packages_root_2() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_root_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritance.kt")
|
||||
public void testInheritance() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/inheritance.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inheritance.kt")
|
||||
public void testInheritance() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/inheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt64082-kt64085.kt")
|
||||
public void testKt64082_kt64085() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/kt64082-kt64085.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt64082-kt64085.kt")
|
||||
public void testKt64082_kt64085() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/kt64082-kt64085.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("root_package.kt")
|
||||
public void testRoot_package() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/root_package.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("root_package.kt")
|
||||
public void testRoot_package() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/root_package.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("specific_types_dnn.kt")
|
||||
public void testSpecific_types_dnn() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/specific_types_dnn.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("specific_types_dnn.kt")
|
||||
public void testSpecific_types_dnn() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/specific_types_dnn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("type_parameters.kt")
|
||||
public void testType_parameters() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/type_parameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("type_parameters.kt")
|
||||
public void testType_parameters() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/type_parameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("value_parameters.kt")
|
||||
public void testValue_parameters() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/value_parameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("value_parameters.kt")
|
||||
public void testValue_parameters() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/value_parameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visibilities.kt")
|
||||
public void testVisibilities() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/visibilities.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("visibilities.kt")
|
||||
public void testVisibilities() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/visibilities.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_1.kt")
|
||||
public void testWith_non_public_markers_1() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_1.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_1.kt")
|
||||
public void testWith_non_public_markers_1() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_2.kt")
|
||||
public void testWith_non_public_markers_2() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_2.kt")
|
||||
public void testWith_non_public_markers_2() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_3.kt")
|
||||
public void testWith_non_public_markers_3() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_3.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_3.kt")
|
||||
public void testWith_non_public_markers_3() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_4.kt")
|
||||
public void testWith_non_public_markers_4() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_4.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_4.kt")
|
||||
public void testWith_non_public_markers_4() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_5.kt")
|
||||
public void testWith_non_public_markers_5() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_5.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_5.kt")
|
||||
public void testWith_non_public_markers_5() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_private_annotations.kt")
|
||||
public void testWith_non_public_markers_private_annotations() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_private_annotations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_private_annotations.kt")
|
||||
public void testWith_non_public_markers_private_annotations() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_private_annotations.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+114
-114
@@ -23,140 +23,140 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirNativePartialLinkageTestGenerated extends AbstractNativePartialLinkageTest {
|
||||
@Test
|
||||
@TestMetadata("addEnumEntry")
|
||||
public void testAddEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/addEnumEntry/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addEnumEntry")
|
||||
public void testAddEnumEntry() {
|
||||
runTest("compiler/testData/klib/partial-linkage/addEnumEntry/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addSealedSubclass")
|
||||
public void testAddSealedSubclass() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/addSealedSubclass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addSealedSubclass")
|
||||
public void testAddSealedSubclass() {
|
||||
runTest("compiler/testData/klib/partial-linkage/addSealedSubclass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInPartial_linkage() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/partial-linkage"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInPartial_linkage() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/partial-linkage"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeClassVisibility")
|
||||
public void testChangeClassVisibility() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/changeClassVisibility/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeClassVisibility")
|
||||
public void testChangeClassVisibility() {
|
||||
runTest("compiler/testData/klib/partial-linkage/changeClassVisibility/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeFunctionVisibility")
|
||||
public void testChangeFunctionVisibility() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/changeFunctionVisibility/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeFunctionVisibility")
|
||||
public void testChangeFunctionVisibility() {
|
||||
runTest("compiler/testData/klib/partial-linkage/changeFunctionVisibility/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changePropertyVisibility")
|
||||
public void testChangePropertyVisibility() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/changePropertyVisibility/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changePropertyVisibility")
|
||||
public void testChangePropertyVisibility() {
|
||||
runTest("compiler/testData/klib/partial-linkage/changePropertyVisibility/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classTransformations")
|
||||
public void testClassTransformations() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/classTransformations/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classTransformations")
|
||||
public void testClassTransformations() {
|
||||
runTest("compiler/testData/klib/partial-linkage/classTransformations/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalDeclarations")
|
||||
public void testExternalDeclarations() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/externalDeclarations/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("externalDeclarations")
|
||||
public void testExternalDeclarations() {
|
||||
runTest("compiler/testData/klib/partial-linkage/externalDeclarations/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionTransformations")
|
||||
public void testFunctionTransformations() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/functionTransformations/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("functionTransformations")
|
||||
public void testFunctionTransformations() {
|
||||
runTest("compiler/testData/klib/partial-linkage/functionTransformations/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritanceIssues")
|
||||
public void testInheritanceIssues() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/inheritanceIssues/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inheritanceIssues")
|
||||
public void testInheritanceIssues() {
|
||||
runTest("compiler/testData/klib/partial-linkage/inheritanceIssues/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noNonImplementedCallableFalsePositives")
|
||||
public void testNoNonImplementedCallableFalsePositives() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/noNonImplementedCallableFalsePositives/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noNonImplementedCallableFalsePositives")
|
||||
public void testNoNonImplementedCallableFalsePositives() {
|
||||
runTest("compiler/testData/klib/partial-linkage/noNonImplementedCallableFalsePositives/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonAbstractCallableBecomesAbstract")
|
||||
public void testNonAbstractCallableBecomesAbstract() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/nonAbstractCallableBecomesAbstract/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonAbstractCallableBecomesAbstract")
|
||||
public void testNonAbstractCallableBecomesAbstract() {
|
||||
runTest("compiler/testData/klib/partial-linkage/nonAbstractCallableBecomesAbstract/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonExhaustivenessOfWhenClause")
|
||||
public void testNonExhaustivenessOfWhenClause() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/nonExhaustivenessOfWhenClause/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonExhaustivenessOfWhenClause")
|
||||
public void testNonExhaustivenessOfWhenClause() {
|
||||
runTest("compiler/testData/klib/partial-linkage/nonExhaustivenessOfWhenClause/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyTransformations")
|
||||
public void testPropertyTransformations() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/propertyTransformations/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("propertyTransformations")
|
||||
public void testPropertyTransformations() {
|
||||
runTest("compiler/testData/klib/partial-linkage/propertyTransformations/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("referencingUnusableDeclarations")
|
||||
public void testReferencingUnusableDeclarations() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/referencingUnusableDeclarations/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("referencingUnusableDeclarations")
|
||||
public void testReferencingUnusableDeclarations() {
|
||||
runTest("compiler/testData/klib/partial-linkage/referencingUnusableDeclarations/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeAbstractCallableFromAbstractClassOrInterface")
|
||||
public void testRemoveAbstractCallableFromAbstractClassOrInterface() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeAbstractCallableFromAbstractClassOrInterface/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeAbstractCallableFromAbstractClassOrInterface")
|
||||
public void testRemoveAbstractCallableFromAbstractClassOrInterface() {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeAbstractCallableFromAbstractClassOrInterface/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeCallable")
|
||||
public void testRemoveCallable() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeCallable/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeCallable")
|
||||
public void testRemoveCallable() {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeCallable/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeClass")
|
||||
public void testRemoveClass() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeClass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeClass")
|
||||
public void testRemoveClass() {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeClass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeEnumEntry")
|
||||
public void testRemoveEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeEnumEntry/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeEnumEntry")
|
||||
public void testRemoveEnumEntry() {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeEnumEntry/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeSealedSubclass")
|
||||
public void testRemoveSealedSubclass() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeSealedSubclass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeSealedSubclass")
|
||||
public void testRemoveSealedSubclass() {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeSealedSubclass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("replaceCallableReturnType")
|
||||
public void testReplaceCallableReturnType() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/replaceCallableReturnType/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("replaceCallableReturnType")
|
||||
public void testReplaceCallableReturnType() {
|
||||
runTest("compiler/testData/klib/partial-linkage/replaceCallableReturnType/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("severalInheritedImplementations")
|
||||
public void testSeveralInheritedImplementations() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/severalInheritedImplementations/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("severalInheritedImplementations")
|
||||
public void testSeveralInheritedImplementations() {
|
||||
runTest("compiler/testData/klib/partial-linkage/severalInheritedImplementations/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliasChanges")
|
||||
public void testTypeAliasChanges() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/typeAliasChanges/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeAliasChanges")
|
||||
public void testTypeAliasChanges() {
|
||||
runTest("compiler/testData/klib/partial-linkage/typeAliasChanges/");
|
||||
}
|
||||
}
|
||||
|
||||
+233
-233
@@ -29,251 +29,251 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirNativeStandaloneTestGenerated extends AbstractNativeBlackBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInStandalone() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funptr.kt")
|
||||
public void testFunptr() {
|
||||
runTest("native/native.tests/testData/standalone/funptr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56048.kt")
|
||||
public void testKt56048() {
|
||||
runTest("native/native.tests/testData/standalone/kt56048.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/standalone/console")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("standalone")
|
||||
@EnforcedProperty(property = ClassLevelProperty.TEST_KIND, propertyValue = "STANDALONE_NO_TR")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class Console {
|
||||
@Test
|
||||
public void testAllFilesPresentInStandalone() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
public void testAllFilesPresentInConsole() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone/console"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funptr.kt")
|
||||
public void testFunptr() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/funptr.kt");
|
||||
@TestMetadata("fprintf.kt")
|
||||
public void testFprintf() {
|
||||
runTest("native/native.tests/testData/standalone/console/fprintf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56048.kt")
|
||||
public void testKt56048() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/kt56048.kt");
|
||||
@TestMetadata("printf.kt")
|
||||
public void testPrintf() {
|
||||
runTest("native/native.tests/testData/standalone/console/printf.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/standalone/console")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("standalone")
|
||||
@EnforcedProperty(property = ClassLevelProperty.TEST_KIND, propertyValue = "STANDALONE_NO_TR")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class Console {
|
||||
@Test
|
||||
public void testAllFilesPresentInConsole() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone/console"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fprintf.kt")
|
||||
public void testFprintf() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/fprintf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("printf.kt")
|
||||
public void testPrintf() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/printf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("println.kt")
|
||||
public void testPrintln() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/println.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("puts.kt")
|
||||
public void testPuts() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/puts.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readLine.kt")
|
||||
public void testReadLine() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/readLine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readLineEmpty.kt")
|
||||
public void testReadLineEmpty() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/readLineEmpty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readLineSingleEmptyLine.kt")
|
||||
public void testReadLineSingleEmptyLine() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/readLineSingleEmptyLine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readln.kt")
|
||||
public void testReadln() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/readln.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readlnEmpty.kt")
|
||||
public void testReadlnEmpty() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/readlnEmpty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readlnOrNullEmpty.kt")
|
||||
public void testReadlnOrNullEmpty() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/readlnOrNullEmpty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("println.kt")
|
||||
public void testPrintln() {
|
||||
runTest("native/native.tests/testData/standalone/console/println.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/standalone/entryPoint")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("standalone")
|
||||
@EnforcedProperty(property = ClassLevelProperty.TEST_KIND, propertyValue = "STANDALONE_NO_TR")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class EntryPoint {
|
||||
@Test
|
||||
public void testAllFilesPresentInEntryPoint() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone/entryPoint"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("args.kt")
|
||||
public void testArgs() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/args.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("differentEntry.kt")
|
||||
public void testDifferentEntry() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/differentEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("differentEntryMultiModule.kt")
|
||||
public void testDifferentEntryMultiModule() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/differentEntryMultiModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("differentEntryNoArgs.kt")
|
||||
public void testDifferentEntryNoArgs() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/differentEntryNoArgs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mainOverloading.kt")
|
||||
public void testMainOverloading() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/mainOverloading.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mainOverloadingNoArgs.kt")
|
||||
public void testMainOverloadingNoArgs() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/mainOverloadingNoArgs.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("puts.kt")
|
||||
public void testPuts() {
|
||||
runTest("native/native.tests/testData/standalone/console/puts.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/standalone/termination")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("standalone")
|
||||
@EnforcedProperty(property = ClassLevelProperty.TEST_KIND, propertyValue = "STANDALONE_NO_TR")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class Termination {
|
||||
@Test
|
||||
public void testAllFilesPresentInTermination() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone/termination"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concurrentTerminate.kt")
|
||||
public void testConcurrentTerminate() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/concurrentTerminate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("exitProcess.kt")
|
||||
public void testExitProcess() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/exitProcess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("globalThrow.kt")
|
||||
public void testGlobalThrow() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/globalThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mainThrow.kt")
|
||||
public void testMainThrow() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/mainThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("processUnhandledException.kt")
|
||||
public void testProcessUnhandledException() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/processUnhandledException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("terminateWithUnhandledException.kt")
|
||||
public void testTerminateWithUnhandledException() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/terminateWithUnhandledException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledException.kt")
|
||||
public void testUnhandledException() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookClosure.kt")
|
||||
public void testUnhandledExceptionHookClosure() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookFun.kt")
|
||||
public void testUnhandledExceptionHookFun() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookGet.kt")
|
||||
public void testUnhandledExceptionHookGet() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookGet.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookTerminate.kt")
|
||||
public void testUnhandledExceptionHookTerminate() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookTerminate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookTerminateWithProcess.kt")
|
||||
public void testUnhandledExceptionHookTerminateWithProcess() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookTerminateWithProcess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookThrow.kt")
|
||||
public void testUnhandledExceptionHookThrow() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookWithProcess.kt")
|
||||
public void testUnhandledExceptionHookWithProcess() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookWithProcess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionInForeignThread.kt")
|
||||
public void testUnhandledExceptionInForeignThread() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionInForeignThread.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("readLine.kt")
|
||||
public void testReadLine() {
|
||||
runTest("native/native.tests/testData/standalone/console/readLine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readLineEmpty.kt")
|
||||
public void testReadLineEmpty() {
|
||||
runTest("native/native.tests/testData/standalone/console/readLineEmpty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readLineSingleEmptyLine.kt")
|
||||
public void testReadLineSingleEmptyLine() {
|
||||
runTest("native/native.tests/testData/standalone/console/readLineSingleEmptyLine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readln.kt")
|
||||
public void testReadln() {
|
||||
runTest("native/native.tests/testData/standalone/console/readln.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readlnEmpty.kt")
|
||||
public void testReadlnEmpty() {
|
||||
runTest("native/native.tests/testData/standalone/console/readlnEmpty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readlnOrNullEmpty.kt")
|
||||
public void testReadlnOrNullEmpty() {
|
||||
runTest("native/native.tests/testData/standalone/console/readlnOrNullEmpty.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/standalone/entryPoint")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("standalone")
|
||||
@EnforcedProperty(property = ClassLevelProperty.TEST_KIND, propertyValue = "STANDALONE_NO_TR")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class EntryPoint {
|
||||
@Test
|
||||
public void testAllFilesPresentInEntryPoint() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone/entryPoint"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("args.kt")
|
||||
public void testArgs() {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/args.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("differentEntry.kt")
|
||||
public void testDifferentEntry() {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/differentEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("differentEntryMultiModule.kt")
|
||||
public void testDifferentEntryMultiModule() {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/differentEntryMultiModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("differentEntryNoArgs.kt")
|
||||
public void testDifferentEntryNoArgs() {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/differentEntryNoArgs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mainOverloading.kt")
|
||||
public void testMainOverloading() {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/mainOverloading.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mainOverloadingNoArgs.kt")
|
||||
public void testMainOverloadingNoArgs() {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/mainOverloadingNoArgs.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/standalone/termination")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("standalone")
|
||||
@EnforcedProperty(property = ClassLevelProperty.TEST_KIND, propertyValue = "STANDALONE_NO_TR")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class Termination {
|
||||
@Test
|
||||
public void testAllFilesPresentInTermination() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone/termination"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concurrentTerminate.kt")
|
||||
public void testConcurrentTerminate() {
|
||||
runTest("native/native.tests/testData/standalone/termination/concurrentTerminate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("exitProcess.kt")
|
||||
public void testExitProcess() {
|
||||
runTest("native/native.tests/testData/standalone/termination/exitProcess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("globalThrow.kt")
|
||||
public void testGlobalThrow() {
|
||||
runTest("native/native.tests/testData/standalone/termination/globalThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mainThrow.kt")
|
||||
public void testMainThrow() {
|
||||
runTest("native/native.tests/testData/standalone/termination/mainThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("processUnhandledException.kt")
|
||||
public void testProcessUnhandledException() {
|
||||
runTest("native/native.tests/testData/standalone/termination/processUnhandledException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("terminateWithUnhandledException.kt")
|
||||
public void testTerminateWithUnhandledException() {
|
||||
runTest("native/native.tests/testData/standalone/termination/terminateWithUnhandledException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledException.kt")
|
||||
public void testUnhandledException() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookClosure.kt")
|
||||
public void testUnhandledExceptionHookClosure() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookFun.kt")
|
||||
public void testUnhandledExceptionHookFun() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookGet.kt")
|
||||
public void testUnhandledExceptionHookGet() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookGet.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookTerminate.kt")
|
||||
public void testUnhandledExceptionHookTerminate() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookTerminate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookTerminateWithProcess.kt")
|
||||
public void testUnhandledExceptionHookTerminateWithProcess() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookTerminateWithProcess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookThrow.kt")
|
||||
public void testUnhandledExceptionHookThrow() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookWithProcess.kt")
|
||||
public void testUnhandledExceptionHookWithProcess() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookWithProcess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionInForeignThread.kt")
|
||||
public void testUnhandledExceptionInForeignThread() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionInForeignThread.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+9
-9
@@ -23,14 +23,14 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirObjCExportTestGenerated extends AbstractNativeObjCExportTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInObjCExport() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/ObjCExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInObjCExport() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/ObjCExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kdocExport")
|
||||
public void testKdocExport() throws Exception {
|
||||
runTest("native/native.tests/testData/ObjCExport/kdocExport/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kdocExport")
|
||||
public void testKdocExport() {
|
||||
runTest("native/native.tests/testData/ObjCExport/kdocExport/");
|
||||
}
|
||||
}
|
||||
|
||||
+9
-9
@@ -23,14 +23,14 @@ import java.util.regex.Pattern;
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
public class FirSwiftExportTestGenerated extends AbstractNativeSwiftExportTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInSwiftExport() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/SwiftExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInSwiftExport() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/SwiftExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smokes")
|
||||
public void testSmokes() throws Exception {
|
||||
runTest("native/native.tests/testData/SwiftExport/smokes/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smokes")
|
||||
public void testSmokes() {
|
||||
runTest("native/native.tests/testData/SwiftExport/smokes/");
|
||||
}
|
||||
}
|
||||
|
||||
+214
-214
@@ -19,261 +19,261 @@ import java.util.regex.Pattern;
|
||||
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
public class InfrastructureTestGenerated extends AbstractNativeBlackBoxTest {
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/samples")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("infrastructure")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Samples {
|
||||
@Test
|
||||
public void testAllFilesPresentInSamples() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/samples"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/samples")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("infrastructure")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Samples {
|
||||
@Test
|
||||
public void testAllFilesPresentInSamples() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/samples"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_custom_args.kt")
|
||||
public void testRegular_custom_args() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_custom_args.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_custom_args.kt")
|
||||
public void testRegular_custom_args() {
|
||||
runTest("native/native.tests/testData/samples/regular_custom_args.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multifile.kt")
|
||||
public void testRegular_multifile() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multifile.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_multifile.kt")
|
||||
public void testRegular_multifile() {
|
||||
runTest("native/native.tests/testData/samples/regular_multifile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multifile_with_explicit_packages.kt")
|
||||
public void testRegular_multifile_with_explicit_packages() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multifile_with_explicit_packages.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_multifile_with_explicit_packages.kt")
|
||||
public void testRegular_multifile_with_explicit_packages() {
|
||||
runTest("native/native.tests/testData/samples/regular_multifile_with_explicit_packages.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule.kt")
|
||||
public void testRegular_multimodule() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule.kt")
|
||||
public void testRegular_multimodule() {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_implicit_first_module.kt")
|
||||
public void testRegular_multimodule_implicit_first_module() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_implicit_first_module.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_implicit_first_module.kt")
|
||||
public void testRegular_multimodule_implicit_first_module() {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_implicit_first_module.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_implicit_first_module_with_header_comment.kt")
|
||||
public void testRegular_multimodule_implicit_first_module_with_header_comment() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_implicit_first_module_with_header_comment.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_implicit_first_module_with_header_comment.kt")
|
||||
public void testRegular_multimodule_implicit_first_module_with_header_comment() {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_implicit_first_module_with_header_comment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_implicit_first_module_with_header_statement.kt")
|
||||
public void testRegular_multimodule_implicit_first_module_with_header_statement() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_implicit_first_module_with_header_statement.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_implicit_first_module_with_header_statement.kt")
|
||||
public void testRegular_multimodule_implicit_first_module_with_header_statement() {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_implicit_first_module_with_header_statement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_with_header_comment.kt")
|
||||
public void testRegular_multimodule_with_header_comment() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_with_header_comment.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_with_header_comment.kt")
|
||||
public void testRegular_multimodule_with_header_comment() {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_with_header_comment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_with_header_statement.kt")
|
||||
public void testRegular_multimodule_with_header_statement() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_with_header_statement.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_multimodule_with_header_statement.kt")
|
||||
public void testRegular_multimodule_with_header_statement() {
|
||||
runTest("native/native.tests/testData/samples/regular_multimodule_with_header_statement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple.kt")
|
||||
public void testRegular_simple() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_simple.kt")
|
||||
public void testRegular_simple() {
|
||||
runTest("native/native.tests/testData/samples/regular_simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_default_tr.kt")
|
||||
public void testRegular_simple_default_tr() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_default_tr.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_simple_default_tr.kt")
|
||||
public void testRegular_simple_default_tr() {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_default_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_explicit_kind.kt")
|
||||
public void testRegular_simple_explicit_kind() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_explicit_kind.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_simple_explicit_kind.kt")
|
||||
public void testRegular_simple_explicit_kind() {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_explicit_kind.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_noexit_tr.kt")
|
||||
public void testRegular_simple_noexit_tr() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_noexit_tr.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_simple_noexit_tr.kt")
|
||||
public void testRegular_simple_noexit_tr() {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_noexit_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_with_output.kt")
|
||||
public void testRegular_simple_with_output() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_with_output.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_simple_with_output.kt")
|
||||
public void testRegular_simple_with_output() {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_with_output.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple_worker_tr.kt")
|
||||
public void testRegular_simple_worker_tr() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_worker_tr.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_simple_worker_tr.kt")
|
||||
public void testRegular_simple_worker_tr() {
|
||||
runTest("native/native.tests/testData/samples/regular_simple_worker_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_lldb_stepping.kt")
|
||||
public void testStandalone_lldb_stepping() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_lldb_stepping.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_lldb_stepping.kt")
|
||||
public void testStandalone_lldb_stepping() {
|
||||
runTest("native/native.tests/testData/samples/standalone_lldb_stepping.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_multifile.kt")
|
||||
public void testStandalone_multifile() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_multifile.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_multifile.kt")
|
||||
public void testStandalone_multifile() {
|
||||
runTest("native/native.tests/testData/samples/standalone_multifile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_long_running.kt")
|
||||
public void testStandalone_notr_long_running() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_long_running.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_long_running.kt")
|
||||
public void testStandalone_notr_long_running() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_long_running.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_long_running_and_verbose.kt")
|
||||
public void testStandalone_notr_long_running_and_verbose() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_long_running_and_verbose.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_long_running_and_verbose.kt")
|
||||
public void testStandalone_notr_long_running_and_verbose() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_long_running_and_verbose.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_multifile_entry_point.kt")
|
||||
public void testStandalone_notr_multifile_entry_point() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_multifile_entry_point.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_multifile_entry_point.kt")
|
||||
public void testStandalone_notr_multifile_entry_point() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_multifile_entry_point.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_nonzero_exit_code.kt")
|
||||
public void testStandalone_notr_nonzero_exit_code() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_nonzero_exit_code.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_nonzero_exit_code.kt")
|
||||
public void testStandalone_notr_nonzero_exit_code() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_nonzero_exit_code.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_nonzero_exit_code2.kt")
|
||||
public void testStandalone_notr_nonzero_exit_code2() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_nonzero_exit_code2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_nonzero_exit_code2.kt")
|
||||
public void testStandalone_notr_nonzero_exit_code2() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_nonzero_exit_code2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple.kt")
|
||||
public void testStandalone_notr_simple() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple.kt")
|
||||
public void testStandalone_notr_simple() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple2.kt")
|
||||
public void testStandalone_notr_simple2() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple2.kt")
|
||||
public void testStandalone_notr_simple2() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_entry_point.kt")
|
||||
public void testStandalone_notr_simple_entry_point() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_entry_point.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_entry_point.kt")
|
||||
public void testStandalone_notr_simple_entry_point() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_entry_point.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_entry_point2.kt")
|
||||
public void testStandalone_notr_simple_entry_point2() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_entry_point2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_entry_point2.kt")
|
||||
public void testStandalone_notr_simple_entry_point2() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_entry_point2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_with_input_and_output.kt")
|
||||
public void testStandalone_notr_simple_with_input_and_output() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_with_input_and_output.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_with_input_and_output.kt")
|
||||
public void testStandalone_notr_simple_with_input_and_output() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_with_input_and_output.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_with_output.kt")
|
||||
public void testStandalone_notr_simple_with_output() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_with_output.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_simple_with_output.kt")
|
||||
public void testStandalone_notr_simple_with_output() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_simple_with_output.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_too_verbose.kt")
|
||||
public void testStandalone_notr_too_verbose() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_too_verbose.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_too_verbose.kt")
|
||||
public void testStandalone_notr_too_verbose() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_too_verbose.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_zero_exit_code.kt")
|
||||
public void testStandalone_notr_zero_exit_code() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_zero_exit_code.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_notr_zero_exit_code.kt")
|
||||
public void testStandalone_notr_zero_exit_code() {
|
||||
runTest("native/native.tests/testData/samples/standalone_notr_zero_exit_code.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple.kt")
|
||||
public void testStandalone_simple() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_simple.kt")
|
||||
public void testStandalone_simple() {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_default_tr.kt")
|
||||
public void testStandalone_simple_default_tr() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_default_tr.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_default_tr.kt")
|
||||
public void testStandalone_simple_default_tr() {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_default_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_noexit_tr.kt")
|
||||
public void testStandalone_simple_noexit_tr() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_noexit_tr.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_noexit_tr.kt")
|
||||
public void testStandalone_simple_noexit_tr() {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_noexit_tr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_with_output.kt")
|
||||
public void testStandalone_simple_with_output() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_with_output.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_with_output.kt")
|
||||
public void testStandalone_simple_with_output() {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_with_output.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_worker_tr.kt")
|
||||
public void testStandalone_simple_worker_tr() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_worker_tr.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/samples/inner")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("infrastructure")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Inner {
|
||||
@Test
|
||||
public void testAllFilesPresentInInner() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/samples/inner"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple.kt")
|
||||
public void testRegular_simple() throws Exception {
|
||||
runTest("native/native.tests/testData/samples/inner/regular_simple.kt");
|
||||
}
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("standalone_simple_worker_tr.kt")
|
||||
public void testStandalone_simple_worker_tr() {
|
||||
runTest("native/native.tests/testData/samples/standalone_simple_worker_tr.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/samples2")
|
||||
@TestMetadata("native/native.tests/testData/samples/inner")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("infrastructure")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Samples2 {
|
||||
@Test
|
||||
public void testAllFilesPresentInSamples2() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/samples2"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
public class Inner {
|
||||
@Test
|
||||
public void testAllFilesPresentInInner() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/samples/inner"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple.kt")
|
||||
public void testRegular_simple() throws Exception {
|
||||
runTest("native/native.tests/testData/samples2/regular_simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular_simple.kt")
|
||||
public void testRegular_simple() {
|
||||
runTest("native/native.tests/testData/samples/inner/regular_simple.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/samples2")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("infrastructure")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Samples2 {
|
||||
@Test
|
||||
public void testAllFilesPresentInSamples2() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/samples2"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular_simple.kt")
|
||||
public void testRegular_simple() {
|
||||
runTest("native/native.tests/testData/samples2/regular_simple.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+84
-84
@@ -28,104 +28,104 @@ import java.util.regex.Pattern;
|
||||
@EnforcedProperty(property = ClassLevelProperty.OPTIMIZATION_MODE, propertyValue = "DEBUG")
|
||||
@EnforcedHostTarget()
|
||||
public class LldbTestGenerated extends AbstractNativeBlackBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInLldb() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/lldb"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInLldb() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/lldb"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canInspectArrayChildren.kt")
|
||||
public void testCanInspectArrayChildren() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canInspectArrayChildren.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canInspectArrayChildren.kt")
|
||||
public void testCanInspectArrayChildren() {
|
||||
runTest("native/native.tests/testData/lldb/canInspectArrayChildren.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canInspectArrays.kt")
|
||||
public void testCanInspectArrays() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canInspectArrays.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canInspectArrays.kt")
|
||||
public void testCanInspectArrays() {
|
||||
runTest("native/native.tests/testData/lldb/canInspectArrays.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canInspectCatchParameter.kt")
|
||||
public void testCanInspectCatchParameter() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canInspectCatchParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canInspectCatchParameter.kt")
|
||||
public void testCanInspectCatchParameter() {
|
||||
runTest("native/native.tests/testData/lldb/canInspectCatchParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canInspectClasses.kt")
|
||||
public void testCanInspectClasses() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canInspectClasses.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canInspectClasses.kt")
|
||||
public void testCanInspectClasses() {
|
||||
runTest("native/native.tests/testData/lldb/canInspectClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canInspectStrings.kt")
|
||||
public void testCanInspectStrings() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canInspectStrings.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canInspectStrings.kt")
|
||||
public void testCanInspectStrings() {
|
||||
runTest("native/native.tests/testData/lldb/canInspectStrings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canInspectValuesOfPrimitiveTypes.kt")
|
||||
public void testCanInspectValuesOfPrimitiveTypes() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canInspectValuesOfPrimitiveTypes.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canInspectValuesOfPrimitiveTypes.kt")
|
||||
public void testCanInspectValuesOfPrimitiveTypes() {
|
||||
runTest("native/native.tests/testData/lldb/canInspectValuesOfPrimitiveTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("canStepThroughCode.kt")
|
||||
public void testCanStepThroughCode() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/canStepThroughCode.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("canStepThroughCode.kt")
|
||||
public void testCanStepThroughCode() {
|
||||
runTest("native/native.tests/testData/lldb/canStepThroughCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt33055.kt")
|
||||
public void testKt33055() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt33055.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt33055.kt")
|
||||
public void testKt33055() {
|
||||
runTest("native/native.tests/testData/lldb/kt33055.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt33364.kt")
|
||||
public void testKt33364() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt33364.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt33364.kt")
|
||||
public void testKt33364() {
|
||||
runTest("native/native.tests/testData/lldb/kt33364.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42208.kt")
|
||||
public void testKt42208() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt42208.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt42208.kt")
|
||||
public void testKt42208() {
|
||||
runTest("native/native.tests/testData/lldb/kt42208.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42208WithPassingLambdaToAnotherFunction.kt")
|
||||
public void testKt42208WithPassingLambdaToAnotherFunction() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt42208WithPassingLambdaToAnotherFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt42208WithPassingLambdaToAnotherFunction.kt")
|
||||
public void testKt42208WithPassingLambdaToAnotherFunction() {
|
||||
runTest("native/native.tests/testData/lldb/kt42208WithPassingLambdaToAnotherFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42208WithVariable.kt")
|
||||
public void testKt42208WithVariable() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt42208WithVariable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt42208WithVariable.kt")
|
||||
public void testKt42208WithVariable() {
|
||||
runTest("native/native.tests/testData/lldb/kt42208WithVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47198.kt")
|
||||
public void testKt47198() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt47198.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt47198.kt")
|
||||
public void testKt47198() {
|
||||
runTest("native/native.tests/testData/lldb/kt47198.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47198WithBody.kt")
|
||||
public void testKt47198WithBody() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt47198WithBody.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt47198WithBody.kt")
|
||||
public void testKt47198WithBody() {
|
||||
runTest("native/native.tests/testData/lldb/kt47198WithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt61131.kt")
|
||||
public void testKt61131() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/kt61131.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt61131.kt")
|
||||
public void testKt61131() {
|
||||
runTest("native/native.tests/testData/lldb/kt61131.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stepThroughInlineArguments.kt")
|
||||
public void testStepThroughInlineArguments() throws Exception {
|
||||
runTest("native/native.tests/testData/lldb/stepThroughInlineArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("stepThroughInlineArguments.kt")
|
||||
public void testStepThroughInlineArguments() {
|
||||
runTest("native/native.tests/testData/lldb/stepThroughInlineArguments.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+9
-9
@@ -19,14 +19,14 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/klib/dump-abi/cinterop")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NativeCInteropLibraryAbiReaderTest extends AbstractNativeCInteropLibraryAbiReaderTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCinterop() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/dump-abi/cinterop"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCinterop() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/dump-abi/cinterop"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interop_class_inheritor.kt")
|
||||
public void testInterop_class_inheritor() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/cinterop/interop_class_inheritor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("interop_class_inheritor.kt")
|
||||
public void testInterop_class_inheritor() {
|
||||
runTest("compiler/testData/klib/dump-abi/cinterop/interop_class_inheritor.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+45858
-45858
File diff suppressed because it is too large
Load Diff
+46518
-46518
File diff suppressed because it is too large
Load Diff
+4505
-4505
File diff suppressed because it is too large
Load Diff
+89
-89
@@ -19,110 +19,110 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/native.tests/testData/klib/header-klibs/comparison")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NativeHeaderKlibComparisonTestGenerated extends AbstractNativeHeaderKlibComparisonTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInComparison() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/header-klibs/comparison"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInComparison() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/header-klibs/comparison"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousObjects")
|
||||
public void testAnonymousObjects() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/anonymousObjects/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("anonymousObjects")
|
||||
public void testAnonymousObjects() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/anonymousObjects/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classFlags")
|
||||
public void testClassFlags() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/classFlags/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classFlags")
|
||||
public void testClassFlags() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/classFlags/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classPrivateMembers")
|
||||
public void testClassPrivateMembers() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/classPrivateMembers/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classPrivateMembers")
|
||||
public void testClassPrivateMembers() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/classPrivateMembers/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constant")
|
||||
public void testConstant() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/constant/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constant")
|
||||
public void testConstant() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/constant/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationOrderInline")
|
||||
public void testDeclarationOrderInline() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/declarationOrderInline/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("declarationOrderInline")
|
||||
public void testDeclarationOrderInline() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/declarationOrderInline/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionBody")
|
||||
public void testFunctionBody() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/functionBody/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("functionBody")
|
||||
public void testFunctionBody() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/functionBody/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunInPrivateClass")
|
||||
public void testInlineFunInPrivateClass() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/inlineFunInPrivateClass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineFunInPrivateClass")
|
||||
public void testInlineFunInPrivateClass() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/inlineFunInPrivateClass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunInPrivateNestedClass")
|
||||
public void testInlineFunInPrivateNestedClass() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/inlineFunInPrivateNestedClass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineFunInPrivateNestedClass")
|
||||
public void testInlineFunInPrivateNestedClass() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/inlineFunInPrivateNestedClass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunctionBody")
|
||||
public void testInlineFunctionBody() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/inlineFunctionBody/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineFunctionBody")
|
||||
public void testInlineFunctionBody() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/inlineFunctionBody/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdas")
|
||||
public void testLambdas() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/lambdas/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("lambdas")
|
||||
public void testLambdas() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/lambdas/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterName")
|
||||
public void testParameterName() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/parameterName/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("parameterName")
|
||||
public void testParameterName() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/parameterName/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateInterface")
|
||||
public void testPrivateInterface() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/privateInterface/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("privateInterface")
|
||||
public void testPrivateInterface() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/privateInterface/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateTypealias")
|
||||
public void testPrivateTypealias() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/privateTypealias/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("privateTypealias")
|
||||
public void testPrivateTypealias() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/privateTypealias/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnType")
|
||||
public void testReturnType() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/returnType/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("returnType")
|
||||
public void testReturnType() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/returnType/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superClass")
|
||||
public void testSuperClass() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/superClass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("superClass")
|
||||
public void testSuperClass() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/superClass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticAccessors")
|
||||
public void testSyntheticAccessors() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/syntheticAccessors/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("syntheticAccessors")
|
||||
public void testSyntheticAccessors() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/syntheticAccessors/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPrivateMembers")
|
||||
public void testTopLevelPrivateMembers() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/topLevelPrivateMembers/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("topLevelPrivateMembers")
|
||||
public void testTopLevelPrivateMembers() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/comparison/topLevelPrivateMembers/");
|
||||
}
|
||||
}
|
||||
|
||||
+74
-74
@@ -19,92 +19,92 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/native.tests/testData/klib/header-klibs/compilation")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NativeHeaderKlibCompilationTestGenerated extends AbstractNativeHeaderKlibCompilationTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCompilation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/header-klibs/compilation"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCompilation() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/header-klibs/compilation"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousObject")
|
||||
public void testAnonymousObject() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/anonymousObject/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("anonymousObject")
|
||||
public void testAnonymousObject() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/anonymousObject/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classes")
|
||||
public void testClasses() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/classes/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classes")
|
||||
public void testClasses() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/classes/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("clinit")
|
||||
public void testClinit() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/clinit/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("clinit")
|
||||
public void testClinit() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/clinit/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineAnnotationInstantiation")
|
||||
public void testInlineAnnotationInstantiation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineAnnotationInstantiation/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineAnnotationInstantiation")
|
||||
public void testInlineAnnotationInstantiation() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineAnnotationInstantiation/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineAnonymousObject")
|
||||
public void testInlineAnonymousObject() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineAnonymousObject/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineAnonymousObject")
|
||||
public void testInlineAnonymousObject() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineAnonymousObject/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineCapture")
|
||||
public void testInlineCapture() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineCapture/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineCapture")
|
||||
public void testInlineCapture() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineCapture/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineNoRegeneration")
|
||||
public void testInlineNoRegeneration() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineNoRegeneration/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineNoRegeneration")
|
||||
public void testInlineNoRegeneration() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineNoRegeneration/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineReifiedFunction")
|
||||
public void testInlineReifiedFunction() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineReifiedFunction/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineReifiedFunction")
|
||||
public void testInlineReifiedFunction() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineReifiedFunction/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineWhenMappings")
|
||||
public void testInlineWhenMappings() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineWhenMappings/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineWhenMappings")
|
||||
public void testInlineWhenMappings() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/inlineWhenMappings/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerObjectRegeneration")
|
||||
public void testInnerObjectRegeneration() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/innerObjectRegeneration/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("innerObjectRegeneration")
|
||||
public void testInnerObjectRegeneration() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/innerObjectRegeneration/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-40133")
|
||||
public void testKt_40133() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/kt-40133/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt-40133")
|
||||
public void testKt_40133() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/kt-40133/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateOnlyConstructors")
|
||||
public void testPrivateOnlyConstructors() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/privateOnlyConstructors/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("privateOnlyConstructors")
|
||||
public void testPrivateOnlyConstructors() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/privateOnlyConstructors/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateValueClassConstructor")
|
||||
public void testPrivateValueClassConstructor() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/privateValueClassConstructor/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("privateValueClassConstructor")
|
||||
public void testPrivateValueClassConstructor() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/privateValueClassConstructor/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevel")
|
||||
public void testTopLevel() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/topLevel/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("topLevel")
|
||||
public void testTopLevel() {
|
||||
runTest("native/native.tests/testData/klib/header-klibs/compilation/topLevel/");
|
||||
}
|
||||
}
|
||||
|
||||
+29
-29
@@ -19,38 +19,38 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-signatures")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NativeKlibDumpIrSignaturesTestGenerated extends AbstractNativeKlibDumpIrSignaturesTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_signatures() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-signatures"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_signatures() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-signatures"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callables.kt")
|
||||
public void testCallables() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/callables.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("callables.kt")
|
||||
public void testCallables() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/callables.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imported_declarations.kt")
|
||||
public void testImported_declarations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_declarations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("imported_declarations.kt")
|
||||
public void testImported_declarations() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_declarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imported_from_cinterop.kt")
|
||||
public void testImported_from_cinterop() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_from_cinterop.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("imported_from_cinterop.kt")
|
||||
public void testImported_from_cinterop() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_from_cinterop.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("type_parameters.kt")
|
||||
public void testType_parameters() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/type_parameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("type_parameters.kt")
|
||||
public void testType_parameters() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/type_parameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visibility.kt")
|
||||
public void testVisibility() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/visibility.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("visibility.kt")
|
||||
public void testVisibility() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/visibility.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+34
-34
@@ -19,44 +19,44 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-ir")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NativeKlibDumpIrTestGenerated extends AbstractNativeKlibDumpIrTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_ir() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-ir"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_ir() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-ir"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class.kt")
|
||||
public void testClass() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/class.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("class.kt")
|
||||
public void testClass() {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/constructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/enum.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("field.kt")
|
||||
public void testField() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/field.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("field.kt")
|
||||
public void testField() {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/field.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fun.kt")
|
||||
public void testFun() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/fun.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("fun.kt")
|
||||
public void testFun() {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/fun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typealias.kt")
|
||||
public void testTypealias() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/typealias.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typealias.kt")
|
||||
public void testTypealias() {
|
||||
runTest("native/native.tests/testData/klib/dump-ir/typealias.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+44
-44
@@ -19,56 +19,56 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-signatures")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NativeKlibDumpMetadataSignaturesTestGenerated extends AbstractNativeKlibDumpMetadataSignaturesTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_signatures() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-signatures"), Pattern.compile("^([^_](.+)).(kt|def)$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_signatures() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-signatures"), Pattern.compile("^([^_](.+)).(kt|def)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callables.kt")
|
||||
public void testCallables() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/callables.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("callables.kt")
|
||||
public void testCallables() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/callables.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imported_declarations.kt")
|
||||
public void testImported_declarations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_declarations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("imported_declarations.kt")
|
||||
public void testImported_declarations() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_declarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imported_from_cinterop.kt")
|
||||
public void testImported_from_cinterop() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_from_cinterop.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("imported_from_cinterop.kt")
|
||||
public void testImported_from_cinterop() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_from_cinterop.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imported_from_cinterop.lib.def")
|
||||
public void testImported_from_cinterop_lib() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_from_cinterop.lib.def");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("imported_from_cinterop.lib.def")
|
||||
public void testImported_from_cinterop_lib() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/imported_from_cinterop.lib.def");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("just_cinterop_c.def")
|
||||
public void testJust_cinterop_c() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/just_cinterop_c.def");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("just_cinterop_c.def")
|
||||
public void testJust_cinterop_c() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/just_cinterop_c.def");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("just_cinterop_objc.def")
|
||||
public void testJust_cinterop_objc() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/just_cinterop_objc.def");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("just_cinterop_objc.def")
|
||||
public void testJust_cinterop_objc() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/just_cinterop_objc.def");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("type_parameters.kt")
|
||||
public void testType_parameters() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/type_parameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("type_parameters.kt")
|
||||
public void testType_parameters() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/type_parameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visibility.kt")
|
||||
public void testVisibility() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/visibility.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("visibility.kt")
|
||||
public void testVisibility() {
|
||||
runTest("native/native.tests/testData/klib/dump-signatures/visibility.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+211
-211
@@ -19,260 +19,260 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-metadata")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NativeKlibDumpMetadataTestGenerated extends AbstractNativeKlibDumpMetadataTest {
|
||||
@Test
|
||||
@TestMetadata("Accessors.kt")
|
||||
public void testAccessors() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Accessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_metadata() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/annotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations_source_retention.kt")
|
||||
public void testAnnotations_source_retention() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/annotations_source_retention.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Classes.kt")
|
||||
public void testClasses() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Classes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Constructors.kt")
|
||||
public void testConstructors() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Constructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("data_class.kt")
|
||||
public void testData_class() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/data_class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Enum.kt")
|
||||
public void testEnum() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("FunctionModifiers.kt")
|
||||
public void testFunctionModifiers() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/FunctionModifiers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt55464_serializeTypeAnnotation.kt")
|
||||
public void testKt55464_serializeTypeAnnotation() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/kt55464_serializeTypeAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56018_value_parameters_annotations.kt")
|
||||
public void testKt56018_value_parameters_annotations() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/kt56018_value_parameters_annotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MethodModality.kt")
|
||||
public void testMethodModality() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/MethodModality.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Objects.kt")
|
||||
public void testObjects() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Objects.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property_accessors.kt")
|
||||
public void testProperty_accessors() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/property_accessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelFunctions.kt")
|
||||
public void testTopLevelFunctions() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesCustomPackage.kt")
|
||||
public void testTopLevelPropertiesCustomPackage() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesCustomPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesRootPackage.kt")
|
||||
public void testTopLevelPropertiesRootPackage() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesRootPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesWithClassesCustomPackage.kt")
|
||||
public void testTopLevelPropertiesWithClassesCustomPackage() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesWithClassesCustomPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesWithClassesRootPackage.kt")
|
||||
public void testTopLevelPropertiesWithClassesRootPackage() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesWithClassesRootPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("type_annotations.kt")
|
||||
public void testType_annotations() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/type_annotations.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-metadata/builtinsSerializer")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class BuiltinsSerializer {
|
||||
@Test
|
||||
@TestMetadata("Accessors.kt")
|
||||
public void testAccessors() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Accessors.kt");
|
||||
public void testAllFilesPresentInBuiltinsSerializer() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata/builtinsSerializer"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDump_metadata() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
@TestMetadata("annotatedEnumEntry.kt")
|
||||
public void testAnnotatedEnumEntry() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotatedEnumEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/annotations.kt");
|
||||
@TestMetadata("annotationTargets.kt")
|
||||
public void testAnnotationTargets() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationTargets.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations_source_retention.kt")
|
||||
public void testAnnotations_source_retention() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/annotations_source_retention.kt");
|
||||
@TestMetadata("binaryRetainedAnnotation.kt")
|
||||
public void testBinaryRetainedAnnotation() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/binaryRetainedAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Classes.kt")
|
||||
public void testClasses() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Classes.kt");
|
||||
@TestMetadata("compileTimeConstants.kt")
|
||||
public void testCompileTimeConstants() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/compileTimeConstants.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Constructors.kt")
|
||||
public void testConstructors() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Constructors.kt");
|
||||
@TestMetadata("nestedClassesAndObjects.kt")
|
||||
public void testNestedClassesAndObjects() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/nestedClassesAndObjects.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("data_class.kt")
|
||||
public void testData_class() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/data_class.kt");
|
||||
@TestMetadata("propertyAccessorAnnotations.kt")
|
||||
public void testPropertyAccessorAnnotations() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/propertyAccessorAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Enum.kt");
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("FunctionModifiers.kt")
|
||||
public void testFunctionModifiers() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/FunctionModifiers.kt");
|
||||
@TestMetadata("sourceRetainedAnnotation.kt")
|
||||
public void testSourceRetainedAnnotation() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/sourceRetainedAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt55464_serializeTypeAnnotation.kt")
|
||||
public void testKt55464_serializeTypeAnnotation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/kt55464_serializeTypeAnnotation.kt");
|
||||
@TestMetadata("stringConcatenation.kt")
|
||||
public void testStringConcatenation() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/stringConcatenation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56018_value_parameters_annotations.kt")
|
||||
public void testKt56018_value_parameters_annotations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/kt56018_value_parameters_annotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MethodModality.kt")
|
||||
public void testMethodModality() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/MethodModality.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Objects.kt")
|
||||
public void testObjects() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/Objects.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property_accessors.kt")
|
||||
public void testProperty_accessors() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/property_accessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelFunctions.kt")
|
||||
public void testTopLevelFunctions() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesCustomPackage.kt")
|
||||
public void testTopLevelPropertiesCustomPackage() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesCustomPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesRootPackage.kt")
|
||||
public void testTopLevelPropertiesRootPackage() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesRootPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesWithClassesCustomPackage.kt")
|
||||
public void testTopLevelPropertiesWithClassesCustomPackage() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesWithClassesCustomPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelPropertiesWithClassesRootPackage.kt")
|
||||
public void testTopLevelPropertiesWithClassesRootPackage() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/TopLevelPropertiesWithClassesRootPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("type_annotations.kt")
|
||||
public void testType_annotations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/type_annotations.kt");
|
||||
@TestMetadata("typeParameterAnnotation.kt")
|
||||
public void testTypeParameterAnnotation() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/typeParameterAnnotation.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-metadata/builtinsSerializer")
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class BuiltinsSerializer {
|
||||
@Test
|
||||
public void testAllFilesPresentInBuiltinsSerializer() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata/builtinsSerializer"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
public class AnnotationArguments {
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationArguments() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotatedEnumEntry.kt")
|
||||
public void testAnnotatedEnumEntry() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotatedEnumEntry.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotation.kt")
|
||||
public void testAnnotation() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/annotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationTargets.kt")
|
||||
public void testAnnotationTargets() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationTargets.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("binaryRetainedAnnotation.kt")
|
||||
public void testBinaryRetainedAnnotation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/binaryRetainedAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("primitiveArrays.kt")
|
||||
public void testPrimitiveArrays() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/primitiveArrays.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("compileTimeConstants.kt")
|
||||
public void testCompileTimeConstants() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/compileTimeConstants.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("primitives.kt")
|
||||
public void testPrimitives() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/primitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClassesAndObjects.kt")
|
||||
public void testNestedClassesAndObjects() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/nestedClassesAndObjects.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("string.kt")
|
||||
public void testString() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/string.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessorAnnotations.kt")
|
||||
public void testPropertyAccessorAnnotations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/propertyAccessorAnnotations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("varargs.kt")
|
||||
public void testVarargs() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/varargs.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sourceRetainedAnnotation.kt")
|
||||
public void testSourceRetainedAnnotation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/sourceRetainedAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringConcatenation.kt")
|
||||
public void testStringConcatenation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/stringConcatenation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameterAnnotation.kt")
|
||||
public void testTypeParameterAnnotation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/typeParameterAnnotation.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class AnnotationArguments {
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationArguments() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotation.kt")
|
||||
public void testAnnotation() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/annotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveArrays.kt")
|
||||
public void testPrimitiveArrays() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/primitiveArrays.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitives.kt")
|
||||
public void testPrimitives() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/primitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string.kt")
|
||||
public void testString() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/string.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargs.kt")
|
||||
public void testVarargs() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/varargs.kt");
|
||||
}
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-metadata/klib")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Klib {
|
||||
@Test
|
||||
public void testAllFilesPresentInKlib() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata/klib"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/klib/dump-metadata/klib")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Klib {
|
||||
@Test
|
||||
public void testAllFilesPresentInKlib() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/klib/dump-metadata/klib"), Pattern.compile("^([^_](.+)).kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fieldAnnotations.kt")
|
||||
public void testFieldAnnotations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/klib/fieldAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("receiverAnnotations.kt")
|
||||
public void testReceiverAnnotations() throws Exception {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/klib/receiverAnnotations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("fieldAnnotations.kt")
|
||||
public void testFieldAnnotations() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/klib/fieldAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("receiverAnnotations.kt")
|
||||
public void testReceiverAnnotations() {
|
||||
runTest("native/native.tests/testData/klib/dump-metadata/klib/receiverAnnotations.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+199
-199
@@ -19,242 +19,242 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/klib/evolution")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NativeKlibEvolutionTestGenerated extends AbstractNativeKlibEvolutionTest {
|
||||
@Test
|
||||
@TestMetadata("addAbstractMemberBody.kt")
|
||||
public void testAddAbstractMemberBody() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addAbstractMemberBody.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addAbstractMemberBody.kt")
|
||||
public void testAddAbstractMemberBody() {
|
||||
runTest("compiler/testData/klib/evolution/addAbstractMemberBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addCompanionObject.kt")
|
||||
public void testAddCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addCompanionObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addCompanionObject.kt")
|
||||
public void testAddCompanionObject() {
|
||||
runTest("compiler/testData/klib/evolution/addCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addDefaultImplementations.kt")
|
||||
public void testAddDefaultImplementations() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addDefaultImplementations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addDefaultImplementations.kt")
|
||||
public void testAddDefaultImplementations() {
|
||||
runTest("compiler/testData/klib/evolution/addDefaultImplementations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addEnumClassMember.kt")
|
||||
public void testAddEnumClassMember() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addEnumClassMember.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addEnumClassMember.kt")
|
||||
public void testAddEnumClassMember() {
|
||||
runTest("compiler/testData/klib/evolution/addEnumClassMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addLateinitToVar.kt")
|
||||
public void testAddLateinitToVar() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addLateinitToVar.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addLateinitToVar.kt")
|
||||
public void testAddLateinitToVar() {
|
||||
runTest("compiler/testData/klib/evolution/addLateinitToVar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addOpenToClass.kt")
|
||||
public void testAddOpenToClass() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addOpenToClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addOpenToClass.kt")
|
||||
public void testAddOpenToClass() {
|
||||
runTest("compiler/testData/klib/evolution/addOpenToClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addOpenToMember.kt")
|
||||
public void testAddOpenToMember() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addOpenToMember.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addOpenToMember.kt")
|
||||
public void testAddOpenToMember() {
|
||||
runTest("compiler/testData/klib/evolution/addOpenToMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addOrRemoveConst.kt")
|
||||
public void testAddOrRemoveConst() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addOrRemoveConst.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addOrRemoveConst.kt")
|
||||
public void testAddOrRemoveConst() {
|
||||
runTest("compiler/testData/klib/evolution/addOrRemoveConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addOrRemoveInitBlock.kt")
|
||||
public void testAddOrRemoveInitBlock() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addOrRemoveInitBlock.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addOrRemoveInitBlock.kt")
|
||||
public void testAddOrRemoveInitBlock() {
|
||||
runTest("compiler/testData/klib/evolution/addOrRemoveInitBlock.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addOverloads.kt")
|
||||
public void testAddOverloads() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addOverloads.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addOverloads.kt")
|
||||
public void testAddOverloads() {
|
||||
runTest("compiler/testData/klib/evolution/addOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addParameterDefaulValue.kt")
|
||||
public void testAddParameterDefaulValue() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addParameterDefaulValue.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addParameterDefaulValue.kt")
|
||||
public void testAddParameterDefaulValue() {
|
||||
runTest("compiler/testData/klib/evolution/addParameterDefaulValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addPropertyAccessor.kt")
|
||||
public void testAddPropertyAccessor() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addPropertyAccessor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addPropertyAccessor.kt")
|
||||
public void testAddPropertyAccessor() {
|
||||
runTest("compiler/testData/klib/evolution/addPropertyAccessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addingSealedClassMember.kt")
|
||||
public void testAddingSealedClassMember() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/addingSealedClassMember.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addingSealedClassMember.kt")
|
||||
public void testAddingSealedClassMember() {
|
||||
runTest("compiler/testData/klib/evolution/addingSealedClassMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInEvolution() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/evolution"), Pattern.compile("^(.+)\\.kt$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInEvolution() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/evolution"), Pattern.compile("^(.+)\\.kt$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeBaseClassOrder.kt")
|
||||
public void testChangeBaseClassOrder() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changeBaseClassOrder.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeBaseClassOrder.kt")
|
||||
public void testChangeBaseClassOrder() {
|
||||
runTest("compiler/testData/klib/evolution/changeBaseClassOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeCompanionToNestedObject.kt")
|
||||
public void testChangeCompanionToNestedObject() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changeCompanionToNestedObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeCompanionToNestedObject.kt")
|
||||
public void testChangeCompanionToNestedObject() {
|
||||
runTest("compiler/testData/klib/evolution/changeCompanionToNestedObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeConstInitialization.kt")
|
||||
public void testChangeConstInitialization() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changeConstInitialization.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeConstInitialization.kt")
|
||||
public void testChangeConstInitialization() {
|
||||
runTest("compiler/testData/klib/evolution/changeConstInitialization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeNamesOfTypeParameters.kt")
|
||||
public void testChangeNamesOfTypeParameters() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changeNamesOfTypeParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeNamesOfTypeParameters.kt")
|
||||
public void testChangeNamesOfTypeParameters() {
|
||||
runTest("compiler/testData/klib/evolution/changeNamesOfTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeObjectToCompanion.kt")
|
||||
public void testChangeObjectToCompanion() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changeObjectToCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeObjectToCompanion.kt")
|
||||
public void testChangeObjectToCompanion() {
|
||||
runTest("compiler/testData/klib/evolution/changeObjectToCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeParameterDefaultValue.kt")
|
||||
public void testChangeParameterDefaultValue() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changeParameterDefaultValue.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeParameterDefaultValue.kt")
|
||||
public void testChangeParameterDefaultValue() {
|
||||
runTest("compiler/testData/klib/evolution/changeParameterDefaultValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changePropertyFromValToVar.kt")
|
||||
public void testChangePropertyFromValToVar() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changePropertyFromValToVar.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changePropertyFromValToVar.kt")
|
||||
public void testChangePropertyFromValToVar() {
|
||||
runTest("compiler/testData/klib/evolution/changePropertyFromValToVar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changePropertyInitialization.kt")
|
||||
public void testChangePropertyInitialization() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/changePropertyInitialization.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changePropertyInitialization.kt")
|
||||
public void testChangePropertyInitialization() {
|
||||
runTest("compiler/testData/klib/evolution/changePropertyInitialization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameterMarkValVar.kt")
|
||||
public void testConstructorParameterMarkValVar() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/constructorParameterMarkValVar.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constructorParameterMarkValVar.kt")
|
||||
public void testConstructorParameterMarkValVar() {
|
||||
runTest("compiler/testData/klib/evolution/constructorParameterMarkValVar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deleteOverrideMember.kt")
|
||||
public void testDeleteOverrideMember() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/deleteOverrideMember.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("deleteOverrideMember.kt")
|
||||
public void testDeleteOverrideMember() {
|
||||
runTest("compiler/testData/klib/evolution/deleteOverrideMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deletePrivateMembers.kt")
|
||||
public void testDeletePrivateMembers() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/deletePrivateMembers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("deletePrivateMembers.kt")
|
||||
public void testDeletePrivateMembers() {
|
||||
runTest("compiler/testData/klib/evolution/deletePrivateMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineBodyChange.kt")
|
||||
public void testInlineBodyChange() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/inlineBodyChange.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineBodyChange.kt")
|
||||
public void testInlineBodyChange() {
|
||||
runTest("compiler/testData/klib/evolution/inlineBodyChange.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunction.kt")
|
||||
public void testInlineFunction() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/inlineFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineFunction.kt")
|
||||
public void testInlineFunction() {
|
||||
runTest("compiler/testData/klib/evolution/inlineFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("makeFunctionInfixOrTailrec.kt")
|
||||
public void testMakeFunctionInfixOrTailrec() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/makeFunctionInfixOrTailrec.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("makeFunctionInfixOrTailrec.kt")
|
||||
public void testMakeFunctionInfixOrTailrec() {
|
||||
runTest("compiler/testData/klib/evolution/makeFunctionInfixOrTailrec.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("moreSpecificBaseClass.kt")
|
||||
public void testMoreSpecificBaseClass() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/moreSpecificBaseClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("moreSpecificBaseClass.kt")
|
||||
public void testMoreSpecificBaseClass() {
|
||||
runTest("compiler/testData/klib/evolution/moreSpecificBaseClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("moveMemberUpInHierarchy.kt")
|
||||
public void testMoveMemberUpInHierarchy() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/moveMemberUpInHierarchy.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("moveMemberUpInHierarchy.kt")
|
||||
public void testMoveMemberUpInHierarchy() {
|
||||
runTest("compiler/testData/klib/evolution/moveMemberUpInHierarchy.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("newFakeOverride.kt")
|
||||
public void testNewFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/newFakeOverride.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("newFakeOverride.kt")
|
||||
public void testNewFakeOverride() {
|
||||
runTest("compiler/testData/klib/evolution/newFakeOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("newOverrideMember.kt")
|
||||
public void testNewOverrideMember() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/newOverrideMember.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("newOverrideMember.kt")
|
||||
public void testNewOverrideMember() {
|
||||
runTest("compiler/testData/klib/evolution/newOverrideMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeAbstractFromClass.kt")
|
||||
public void testRemoveAbstractFromClass() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/removeAbstractFromClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeAbstractFromClass.kt")
|
||||
public void testRemoveAbstractFromClass() {
|
||||
runTest("compiler/testData/klib/evolution/removeAbstractFromClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeInfixOrTailrecFromFunction.kt")
|
||||
public void testRemoveInfixOrTailrecFromFunction() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/removeInfixOrTailrecFromFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeInfixOrTailrecFromFunction.kt")
|
||||
public void testRemoveInfixOrTailrecFromFunction() {
|
||||
runTest("compiler/testData/klib/evolution/removeInfixOrTailrecFromFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeLateinitFromVar.kt")
|
||||
public void testRemoveLateinitFromVar() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/removeLateinitFromVar.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeLateinitFromVar.kt")
|
||||
public void testRemoveLateinitFromVar() {
|
||||
runTest("compiler/testData/klib/evolution/removeLateinitFromVar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removePropertyAccessor.kt")
|
||||
public void testRemovePropertyAccessor() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/removePropertyAccessor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removePropertyAccessor.kt")
|
||||
public void testRemovePropertyAccessor() {
|
||||
runTest("compiler/testData/klib/evolution/removePropertyAccessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("renameArguments.kt")
|
||||
public void testRenameArguments() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/renameArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("renameArguments.kt")
|
||||
public void testRenameArguments() {
|
||||
runTest("compiler/testData/klib/evolution/renameArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reorderClassConstructors.kt")
|
||||
public void testReorderClassConstructors() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/reorderClassConstructors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("reorderClassConstructors.kt")
|
||||
public void testReorderClassConstructors() {
|
||||
runTest("compiler/testData/klib/evolution/reorderClassConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("turnClassIntoDataClass.kt")
|
||||
public void testTurnClassIntoDataClass() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/turnClassIntoDataClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("turnClassIntoDataClass.kt")
|
||||
public void testTurnClassIntoDataClass() {
|
||||
runTest("compiler/testData/klib/evolution/turnClassIntoDataClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("widenSuperMemberVisibility.kt")
|
||||
public void testWidenSuperMemberVisibility() throws Exception {
|
||||
runTest("compiler/testData/klib/evolution/widenSuperMemberVisibility.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("widenSuperMemberVisibility.kt")
|
||||
public void testWidenSuperMemberVisibility() {
|
||||
runTest("compiler/testData/klib/evolution/widenSuperMemberVisibility.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+124
-124
@@ -20,152 +20,152 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/klib/dump-abi/content")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NativeLibraryAbiReaderTest extends AbstractNativeLibraryAbiReaderTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInContent() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/dump-abi/content"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContent() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/dump-abi/content"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callables.kt")
|
||||
public void testCallables() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/callables.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("callables.kt")
|
||||
public void testCallables() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/callables.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classifiers.kt")
|
||||
public void testClassifiers() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/classifiers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classifiers.kt")
|
||||
public void testClassifiers() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/classifiers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_classes_1.kt")
|
||||
public void testExcluded_classes_1() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_classes_1.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_classes_1.kt")
|
||||
public void testExcluded_classes_1() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_classes_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_classes_2.kt")
|
||||
public void testExcluded_classes_2() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_classes_2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_classes_2.kt")
|
||||
public void testExcluded_classes_2() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_classes_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_classes_3.kt")
|
||||
public void testExcluded_classes_3() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_classes_3.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_classes_3.kt")
|
||||
public void testExcluded_classes_3() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_classes_3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_1.kt")
|
||||
public void testExcluded_packages_non_root_1() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_1.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_1.kt")
|
||||
public void testExcluded_packages_non_root_1() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_2.kt")
|
||||
public void testExcluded_packages_non_root_2() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_2.kt")
|
||||
public void testExcluded_packages_non_root_2() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_3.kt")
|
||||
public void testExcluded_packages_non_root_3() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_3.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_3.kt")
|
||||
public void testExcluded_packages_non_root_3() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_4.kt")
|
||||
public void testExcluded_packages_non_root_4() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_4.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_non_root_4.kt")
|
||||
public void testExcluded_packages_non_root_4() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_non_root_4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_root_1.kt")
|
||||
public void testExcluded_packages_root_1() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_root_1.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_root_1.kt")
|
||||
public void testExcluded_packages_root_1() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_root_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_root_2.kt")
|
||||
public void testExcluded_packages_root_2() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_root_2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excluded_packages_root_2.kt")
|
||||
public void testExcluded_packages_root_2() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/excluded_packages_root_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritance.kt")
|
||||
public void testInheritance() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/inheritance.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inheritance.kt")
|
||||
public void testInheritance() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/inheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt64082-kt64085.kt")
|
||||
public void testKt64082_kt64085() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/kt64082-kt64085.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt64082-kt64085.kt")
|
||||
public void testKt64082_kt64085() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/kt64082-kt64085.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("root_package.kt")
|
||||
public void testRoot_package() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/root_package.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("root_package.kt")
|
||||
public void testRoot_package() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/root_package.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("specific_types_dnn.kt")
|
||||
public void testSpecific_types_dnn() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/specific_types_dnn.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("specific_types_dnn.kt")
|
||||
public void testSpecific_types_dnn() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/specific_types_dnn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("type_parameters.kt")
|
||||
public void testType_parameters() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/type_parameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("type_parameters.kt")
|
||||
public void testType_parameters() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/type_parameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("value_parameters.kt")
|
||||
public void testValue_parameters() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/value_parameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("value_parameters.kt")
|
||||
public void testValue_parameters() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/value_parameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visibilities.kt")
|
||||
public void testVisibilities() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/visibilities.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("visibilities.kt")
|
||||
public void testVisibilities() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/visibilities.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_1.kt")
|
||||
public void testWith_non_public_markers_1() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_1.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_1.kt")
|
||||
public void testWith_non_public_markers_1() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_2.kt")
|
||||
public void testWith_non_public_markers_2() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_2.kt")
|
||||
public void testWith_non_public_markers_2() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_3.kt")
|
||||
public void testWith_non_public_markers_3() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_3.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_3.kt")
|
||||
public void testWith_non_public_markers_3() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_4.kt")
|
||||
public void testWith_non_public_markers_4() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_4.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_4.kt")
|
||||
public void testWith_non_public_markers_4() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_5.kt")
|
||||
public void testWith_non_public_markers_5() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_5.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_5.kt")
|
||||
public void testWith_non_public_markers_5() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_private_annotations.kt")
|
||||
public void testWith_non_public_markers_private_annotations() throws Exception {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_private_annotations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with_non_public_markers_private_annotations.kt")
|
||||
public void testWith_non_public_markers_private_annotations() {
|
||||
runTest("compiler/testData/klib/dump-abi/content/with_non_public_markers_private_annotations.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+114
-114
@@ -19,140 +19,140 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/klib/partial-linkage")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NativePartialLinkageTestGenerated extends AbstractNativePartialLinkageTest {
|
||||
@Test
|
||||
@TestMetadata("addEnumEntry")
|
||||
public void testAddEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/addEnumEntry/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addEnumEntry")
|
||||
public void testAddEnumEntry() {
|
||||
runTest("compiler/testData/klib/partial-linkage/addEnumEntry/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addSealedSubclass")
|
||||
public void testAddSealedSubclass() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/addSealedSubclass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("addSealedSubclass")
|
||||
public void testAddSealedSubclass() {
|
||||
runTest("compiler/testData/klib/partial-linkage/addSealedSubclass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInPartial_linkage() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/partial-linkage"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInPartial_linkage() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/partial-linkage"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeClassVisibility")
|
||||
public void testChangeClassVisibility() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/changeClassVisibility/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeClassVisibility")
|
||||
public void testChangeClassVisibility() {
|
||||
runTest("compiler/testData/klib/partial-linkage/changeClassVisibility/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changeFunctionVisibility")
|
||||
public void testChangeFunctionVisibility() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/changeFunctionVisibility/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changeFunctionVisibility")
|
||||
public void testChangeFunctionVisibility() {
|
||||
runTest("compiler/testData/klib/partial-linkage/changeFunctionVisibility/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("changePropertyVisibility")
|
||||
public void testChangePropertyVisibility() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/changePropertyVisibility/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("changePropertyVisibility")
|
||||
public void testChangePropertyVisibility() {
|
||||
runTest("compiler/testData/klib/partial-linkage/changePropertyVisibility/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classTransformations")
|
||||
public void testClassTransformations() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/classTransformations/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classTransformations")
|
||||
public void testClassTransformations() {
|
||||
runTest("compiler/testData/klib/partial-linkage/classTransformations/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalDeclarations")
|
||||
public void testExternalDeclarations() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/externalDeclarations/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("externalDeclarations")
|
||||
public void testExternalDeclarations() {
|
||||
runTest("compiler/testData/klib/partial-linkage/externalDeclarations/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionTransformations")
|
||||
public void testFunctionTransformations() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/functionTransformations/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("functionTransformations")
|
||||
public void testFunctionTransformations() {
|
||||
runTest("compiler/testData/klib/partial-linkage/functionTransformations/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritanceIssues")
|
||||
public void testInheritanceIssues() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/inheritanceIssues/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inheritanceIssues")
|
||||
public void testInheritanceIssues() {
|
||||
runTest("compiler/testData/klib/partial-linkage/inheritanceIssues/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noNonImplementedCallableFalsePositives")
|
||||
public void testNoNonImplementedCallableFalsePositives() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/noNonImplementedCallableFalsePositives/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noNonImplementedCallableFalsePositives")
|
||||
public void testNoNonImplementedCallableFalsePositives() {
|
||||
runTest("compiler/testData/klib/partial-linkage/noNonImplementedCallableFalsePositives/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonAbstractCallableBecomesAbstract")
|
||||
public void testNonAbstractCallableBecomesAbstract() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/nonAbstractCallableBecomesAbstract/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonAbstractCallableBecomesAbstract")
|
||||
public void testNonAbstractCallableBecomesAbstract() {
|
||||
runTest("compiler/testData/klib/partial-linkage/nonAbstractCallableBecomesAbstract/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonExhaustivenessOfWhenClause")
|
||||
public void testNonExhaustivenessOfWhenClause() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/nonExhaustivenessOfWhenClause/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonExhaustivenessOfWhenClause")
|
||||
public void testNonExhaustivenessOfWhenClause() {
|
||||
runTest("compiler/testData/klib/partial-linkage/nonExhaustivenessOfWhenClause/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyTransformations")
|
||||
public void testPropertyTransformations() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/propertyTransformations/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("propertyTransformations")
|
||||
public void testPropertyTransformations() {
|
||||
runTest("compiler/testData/klib/partial-linkage/propertyTransformations/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("referencingUnusableDeclarations")
|
||||
public void testReferencingUnusableDeclarations() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/referencingUnusableDeclarations/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("referencingUnusableDeclarations")
|
||||
public void testReferencingUnusableDeclarations() {
|
||||
runTest("compiler/testData/klib/partial-linkage/referencingUnusableDeclarations/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeAbstractCallableFromAbstractClassOrInterface")
|
||||
public void testRemoveAbstractCallableFromAbstractClassOrInterface() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeAbstractCallableFromAbstractClassOrInterface/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeAbstractCallableFromAbstractClassOrInterface")
|
||||
public void testRemoveAbstractCallableFromAbstractClassOrInterface() {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeAbstractCallableFromAbstractClassOrInterface/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeCallable")
|
||||
public void testRemoveCallable() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeCallable/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeCallable")
|
||||
public void testRemoveCallable() {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeCallable/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeClass")
|
||||
public void testRemoveClass() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeClass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeClass")
|
||||
public void testRemoveClass() {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeClass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeEnumEntry")
|
||||
public void testRemoveEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeEnumEntry/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeEnumEntry")
|
||||
public void testRemoveEnumEntry() {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeEnumEntry/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeSealedSubclass")
|
||||
public void testRemoveSealedSubclass() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeSealedSubclass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("removeSealedSubclass")
|
||||
public void testRemoveSealedSubclass() {
|
||||
runTest("compiler/testData/klib/partial-linkage/removeSealedSubclass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("replaceCallableReturnType")
|
||||
public void testReplaceCallableReturnType() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/replaceCallableReturnType/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("replaceCallableReturnType")
|
||||
public void testReplaceCallableReturnType() {
|
||||
runTest("compiler/testData/klib/partial-linkage/replaceCallableReturnType/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("severalInheritedImplementations")
|
||||
public void testSeveralInheritedImplementations() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/severalInheritedImplementations/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("severalInheritedImplementations")
|
||||
public void testSeveralInheritedImplementations() {
|
||||
runTest("compiler/testData/klib/partial-linkage/severalInheritedImplementations/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliasChanges")
|
||||
public void testTypeAliasChanges() throws Exception {
|
||||
runTest("compiler/testData/klib/partial-linkage/typeAliasChanges/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeAliasChanges")
|
||||
public void testTypeAliasChanges() {
|
||||
runTest("compiler/testData/klib/partial-linkage/typeAliasChanges/");
|
||||
}
|
||||
}
|
||||
|
||||
+227
-227
@@ -26,245 +26,245 @@ import java.util.regex.Pattern;
|
||||
@EnforcedProperty(property = ClassLevelProperty.TEST_KIND, propertyValue = "STANDALONE_NO_TR")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class NativeStandaloneTestGenerated extends AbstractNativeBlackBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInStandalone() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funptr.kt")
|
||||
public void testFunptr() {
|
||||
runTest("native/native.tests/testData/standalone/funptr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56048.kt")
|
||||
public void testKt56048() {
|
||||
runTest("native/native.tests/testData/standalone/kt56048.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/standalone/console")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("standalone")
|
||||
@EnforcedProperty(property = ClassLevelProperty.TEST_KIND, propertyValue = "STANDALONE_NO_TR")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Console {
|
||||
@Test
|
||||
public void testAllFilesPresentInStandalone() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
public void testAllFilesPresentInConsole() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone/console"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funptr.kt")
|
||||
public void testFunptr() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/funptr.kt");
|
||||
@TestMetadata("fprintf.kt")
|
||||
public void testFprintf() {
|
||||
runTest("native/native.tests/testData/standalone/console/fprintf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56048.kt")
|
||||
public void testKt56048() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/kt56048.kt");
|
||||
@TestMetadata("printf.kt")
|
||||
public void testPrintf() {
|
||||
runTest("native/native.tests/testData/standalone/console/printf.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/standalone/console")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("standalone")
|
||||
@EnforcedProperty(property = ClassLevelProperty.TEST_KIND, propertyValue = "STANDALONE_NO_TR")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Console {
|
||||
@Test
|
||||
public void testAllFilesPresentInConsole() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone/console"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fprintf.kt")
|
||||
public void testFprintf() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/fprintf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("printf.kt")
|
||||
public void testPrintf() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/printf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("println.kt")
|
||||
public void testPrintln() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/println.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("puts.kt")
|
||||
public void testPuts() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/puts.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readLine.kt")
|
||||
public void testReadLine() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/readLine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readLineEmpty.kt")
|
||||
public void testReadLineEmpty() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/readLineEmpty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readLineSingleEmptyLine.kt")
|
||||
public void testReadLineSingleEmptyLine() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/readLineSingleEmptyLine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readln.kt")
|
||||
public void testReadln() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/readln.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readlnEmpty.kt")
|
||||
public void testReadlnEmpty() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/readlnEmpty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readlnOrNullEmpty.kt")
|
||||
public void testReadlnOrNullEmpty() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/console/readlnOrNullEmpty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("println.kt")
|
||||
public void testPrintln() {
|
||||
runTest("native/native.tests/testData/standalone/console/println.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/standalone/entryPoint")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("standalone")
|
||||
@EnforcedProperty(property = ClassLevelProperty.TEST_KIND, propertyValue = "STANDALONE_NO_TR")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class EntryPoint {
|
||||
@Test
|
||||
public void testAllFilesPresentInEntryPoint() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone/entryPoint"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("args.kt")
|
||||
public void testArgs() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/args.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("differentEntry.kt")
|
||||
public void testDifferentEntry() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/differentEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("differentEntryMultiModule.kt")
|
||||
public void testDifferentEntryMultiModule() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/differentEntryMultiModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("differentEntryNoArgs.kt")
|
||||
public void testDifferentEntryNoArgs() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/differentEntryNoArgs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mainOverloading.kt")
|
||||
public void testMainOverloading() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/mainOverloading.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mainOverloadingNoArgs.kt")
|
||||
public void testMainOverloadingNoArgs() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/mainOverloadingNoArgs.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("puts.kt")
|
||||
public void testPuts() {
|
||||
runTest("native/native.tests/testData/standalone/console/puts.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/standalone/termination")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("standalone")
|
||||
@EnforcedProperty(property = ClassLevelProperty.TEST_KIND, propertyValue = "STANDALONE_NO_TR")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Termination {
|
||||
@Test
|
||||
public void testAllFilesPresentInTermination() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone/termination"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concurrentTerminate.kt")
|
||||
public void testConcurrentTerminate() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/concurrentTerminate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("exitProcess.kt")
|
||||
public void testExitProcess() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/exitProcess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("globalThrow.kt")
|
||||
public void testGlobalThrow() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/globalThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mainThrow.kt")
|
||||
public void testMainThrow() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/mainThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("processUnhandledException.kt")
|
||||
public void testProcessUnhandledException() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/processUnhandledException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("terminateWithUnhandledException.kt")
|
||||
public void testTerminateWithUnhandledException() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/terminateWithUnhandledException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledException.kt")
|
||||
public void testUnhandledException() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookClosure.kt")
|
||||
public void testUnhandledExceptionHookClosure() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookFun.kt")
|
||||
public void testUnhandledExceptionHookFun() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookGet.kt")
|
||||
public void testUnhandledExceptionHookGet() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookGet.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookTerminate.kt")
|
||||
public void testUnhandledExceptionHookTerminate() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookTerminate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookTerminateWithProcess.kt")
|
||||
public void testUnhandledExceptionHookTerminateWithProcess() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookTerminateWithProcess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookThrow.kt")
|
||||
public void testUnhandledExceptionHookThrow() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookWithProcess.kt")
|
||||
public void testUnhandledExceptionHookWithProcess() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookWithProcess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionInForeignThread.kt")
|
||||
public void testUnhandledExceptionInForeignThread() throws Exception {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionInForeignThread.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("readLine.kt")
|
||||
public void testReadLine() {
|
||||
runTest("native/native.tests/testData/standalone/console/readLine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readLineEmpty.kt")
|
||||
public void testReadLineEmpty() {
|
||||
runTest("native/native.tests/testData/standalone/console/readLineEmpty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readLineSingleEmptyLine.kt")
|
||||
public void testReadLineSingleEmptyLine() {
|
||||
runTest("native/native.tests/testData/standalone/console/readLineSingleEmptyLine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readln.kt")
|
||||
public void testReadln() {
|
||||
runTest("native/native.tests/testData/standalone/console/readln.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readlnEmpty.kt")
|
||||
public void testReadlnEmpty() {
|
||||
runTest("native/native.tests/testData/standalone/console/readlnEmpty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readlnOrNullEmpty.kt")
|
||||
public void testReadlnOrNullEmpty() {
|
||||
runTest("native/native.tests/testData/standalone/console/readlnOrNullEmpty.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/standalone/entryPoint")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("standalone")
|
||||
@EnforcedProperty(property = ClassLevelProperty.TEST_KIND, propertyValue = "STANDALONE_NO_TR")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class EntryPoint {
|
||||
@Test
|
||||
public void testAllFilesPresentInEntryPoint() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone/entryPoint"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("args.kt")
|
||||
public void testArgs() {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/args.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("differentEntry.kt")
|
||||
public void testDifferentEntry() {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/differentEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("differentEntryMultiModule.kt")
|
||||
public void testDifferentEntryMultiModule() {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/differentEntryMultiModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("differentEntryNoArgs.kt")
|
||||
public void testDifferentEntryNoArgs() {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/differentEntryNoArgs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mainOverloading.kt")
|
||||
public void testMainOverloading() {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/mainOverloading.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mainOverloadingNoArgs.kt")
|
||||
public void testMainOverloadingNoArgs() {
|
||||
runTest("native/native.tests/testData/standalone/entryPoint/mainOverloadingNoArgs.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/native.tests/testData/standalone/termination")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("standalone")
|
||||
@EnforcedProperty(property = ClassLevelProperty.TEST_KIND, propertyValue = "STANDALONE_NO_TR")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Termination {
|
||||
@Test
|
||||
public void testAllFilesPresentInTermination() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/standalone/termination"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concurrentTerminate.kt")
|
||||
public void testConcurrentTerminate() {
|
||||
runTest("native/native.tests/testData/standalone/termination/concurrentTerminate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("exitProcess.kt")
|
||||
public void testExitProcess() {
|
||||
runTest("native/native.tests/testData/standalone/termination/exitProcess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("globalThrow.kt")
|
||||
public void testGlobalThrow() {
|
||||
runTest("native/native.tests/testData/standalone/termination/globalThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mainThrow.kt")
|
||||
public void testMainThrow() {
|
||||
runTest("native/native.tests/testData/standalone/termination/mainThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("processUnhandledException.kt")
|
||||
public void testProcessUnhandledException() {
|
||||
runTest("native/native.tests/testData/standalone/termination/processUnhandledException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("terminateWithUnhandledException.kt")
|
||||
public void testTerminateWithUnhandledException() {
|
||||
runTest("native/native.tests/testData/standalone/termination/terminateWithUnhandledException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledException.kt")
|
||||
public void testUnhandledException() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookClosure.kt")
|
||||
public void testUnhandledExceptionHookClosure() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookFun.kt")
|
||||
public void testUnhandledExceptionHookFun() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookGet.kt")
|
||||
public void testUnhandledExceptionHookGet() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookGet.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookTerminate.kt")
|
||||
public void testUnhandledExceptionHookTerminate() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookTerminate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookTerminateWithProcess.kt")
|
||||
public void testUnhandledExceptionHookTerminateWithProcess() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookTerminateWithProcess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookThrow.kt")
|
||||
public void testUnhandledExceptionHookThrow() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionHookWithProcess.kt")
|
||||
public void testUnhandledExceptionHookWithProcess() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionHookWithProcess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unhandledExceptionInForeignThread.kt")
|
||||
public void testUnhandledExceptionInForeignThread() {
|
||||
runTest("native/native.tests/testData/standalone/termination/unhandledExceptionInForeignThread.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+9
-9
@@ -19,14 +19,14 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/native.tests/testData/ObjCExport")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ObjCExportTestGenerated extends AbstractNativeObjCExportTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInObjCExport() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/ObjCExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInObjCExport() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/ObjCExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kdocExport")
|
||||
public void testKdocExport() throws Exception {
|
||||
runTest("native/native.tests/testData/ObjCExport/kdocExport/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kdocExport")
|
||||
public void testKdocExport() {
|
||||
runTest("native/native.tests/testData/ObjCExport/kdocExport/");
|
||||
}
|
||||
}
|
||||
|
||||
native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/SwiftExportTestGenerated.java
Generated
+9
-9
@@ -19,14 +19,14 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/native.tests/testData/SwiftExport")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SwiftExportTestGenerated extends AbstractNativeSwiftExportTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInSwiftExport() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/SwiftExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInSwiftExport() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/SwiftExport"), Pattern.compile("^([^_](.+))$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smokes")
|
||||
public void testSmokes() throws Exception {
|
||||
runTest("native/native.tests/testData/SwiftExport/smokes/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smokes")
|
||||
public void testSmokes() {
|
||||
runTest("native/native.tests/testData/SwiftExport/smokes/");
|
||||
}
|
||||
}
|
||||
|
||||
+127
-127
@@ -19,152 +19,152 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TypeCheckSwiftExportGoldenData extends SwiftTypeCheckBaseTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestData() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/documentation")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Documentation {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestData() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
public void testAllFilesPresentInDocumentation() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/documentation"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/documentation")
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/documentation/golden_result")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Documentation {
|
||||
@Test
|
||||
public void testAllFilesPresentInDocumentation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/documentation"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
public class Golden_result {
|
||||
@Test
|
||||
public void testAllFilesPresentInGolden_result() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/documentation/golden_result"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/documentation/golden_result")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Golden_result {
|
||||
@Test
|
||||
public void testAllFilesPresentInGolden_result() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/documentation/golden_result"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("result.swift")
|
||||
public void testResult() throws Exception {
|
||||
runTest("native/swift/swift-export-standalone/testData/documentation/golden_result/result.swift");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/documentation/input_root")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Input_root {
|
||||
@Test
|
||||
public void testAllFilesPresentInInput_root() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/documentation/input_root"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("result.swift")
|
||||
public void testResult() {
|
||||
runTest("native/swift/swift-export-standalone/testData/documentation/golden_result/result.swift");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/functions")
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/documentation/input_root")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Functions {
|
||||
@Test
|
||||
public void testAllFilesPresentInFunctions() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/functions"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
public class Input_root {
|
||||
@Test
|
||||
public void testAllFilesPresentInInput_root() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/documentation/input_root"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/functions/golden_result")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Golden_result {
|
||||
@Test
|
||||
public void testAllFilesPresentInGolden_result() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/functions/golden_result"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("result.swift")
|
||||
public void testResult() throws Exception {
|
||||
runTest("native/swift/swift-export-standalone/testData/functions/golden_result/result.swift");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/functions/input_root")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Input_root {
|
||||
@Test
|
||||
public void testAllFilesPresentInInput_root() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/functions/input_root"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/functions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Functions {
|
||||
@Test
|
||||
public void testAllFilesPresentInFunctions() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/functions"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/no_package")
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/functions/golden_result")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class No_package {
|
||||
@Test
|
||||
public void testAllFilesPresentInNo_package() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/no_package"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
public class Golden_result {
|
||||
@Test
|
||||
public void testAllFilesPresentInGolden_result() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/functions/golden_result"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/no_package/golden_result")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Golden_result {
|
||||
@Test
|
||||
public void testAllFilesPresentInGolden_result() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/no_package/golden_result"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("result.swift")
|
||||
public void testResult() throws Exception {
|
||||
runTest("native/swift/swift-export-standalone/testData/no_package/golden_result/result.swift");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/no_package/input_root")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Input_root {
|
||||
@Test
|
||||
public void testAllFilesPresentInInput_root() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/no_package/input_root"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("result.swift")
|
||||
public void testResult() {
|
||||
runTest("native/swift/swift-export-standalone/testData/functions/golden_result/result.swift");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/variables")
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/functions/input_root")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Variables {
|
||||
@Test
|
||||
public void testAllFilesPresentInVariables() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/variables"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/variables/golden_result")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Golden_result {
|
||||
@Test
|
||||
public void testAllFilesPresentInGolden_result() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/variables/golden_result"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("result.swift")
|
||||
public void testResult() throws Exception {
|
||||
runTest("native/swift/swift-export-standalone/testData/variables/golden_result/result.swift");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/variables/input_root")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Input_root {
|
||||
@Test
|
||||
public void testAllFilesPresentInInput_root() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/variables/input_root"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
}
|
||||
public class Input_root {
|
||||
@Test
|
||||
public void testAllFilesPresentInInput_root() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/functions/input_root"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/no_package")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class No_package {
|
||||
@Test
|
||||
public void testAllFilesPresentInNo_package() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/no_package"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/no_package/golden_result")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Golden_result {
|
||||
@Test
|
||||
public void testAllFilesPresentInGolden_result() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/no_package/golden_result"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("result.swift")
|
||||
public void testResult() {
|
||||
runTest("native/swift/swift-export-standalone/testData/no_package/golden_result/result.swift");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/no_package/input_root")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Input_root {
|
||||
@Test
|
||||
public void testAllFilesPresentInInput_root() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/no_package/input_root"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/variables")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Variables {
|
||||
@Test
|
||||
public void testAllFilesPresentInVariables() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/variables"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/variables/golden_result")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Golden_result {
|
||||
@Test
|
||||
public void testAllFilesPresentInGolden_result() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/variables/golden_result"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("result.swift")
|
||||
public void testResult() {
|
||||
runTest("native/swift/swift-export-standalone/testData/variables/golden_result/result.swift");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("native/swift/swift-export-standalone/testData/variables/input_root")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Input_root {
|
||||
@Test
|
||||
public void testAllFilesPresentInInput_root() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/swift/swift-export-standalone/testData/variables/input_root"), Pattern.compile("^(.+)\\.swift$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+119
-119
@@ -19,146 +19,146 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/diagnostics/nativeTests")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DiagnosticsNativeTestGenerated extends AbstractDiagnosticsNativeTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInNativeTests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/nativeTests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "specialBackendChecks");
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInNativeTests() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/nativeTests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "specialBackendChecks");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrays_after.kt")
|
||||
public void testArrays_after() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/arrays_after.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("arrays_after.kt")
|
||||
public void testArrays_after() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/arrays_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("cloneableInNative.kt")
|
||||
public void testCloneableInNative() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/cloneableInNative.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("cloneableInNative.kt")
|
||||
public void testCloneableInNative() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/cloneableInNative.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forwardDeclarations.kt")
|
||||
public void testForwardDeclarations() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/forwardDeclarations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("forwardDeclarations.kt")
|
||||
public void testForwardDeclarations() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/forwardDeclarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("identifiers.kt")
|
||||
public void testIdentifiers() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/identifiers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("identifiers.kt")
|
||||
public void testIdentifiers() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/identifiers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("isInitialized.kt")
|
||||
public void testIsInitialized() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/isInitialized.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("isInitialized.kt")
|
||||
public void testIsInitialized() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/isInitialized.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("isInitializedError.kt")
|
||||
public void testIsInitializedError() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/isInitializedError.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("isInitializedError.kt")
|
||||
public void testIsInitializedError() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/isInitializedError.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nativeProtectedFunCall.kt")
|
||||
public void testNativeProtectedFunCall() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/nativeProtectedFunCall.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nativeProtectedFunCall.kt")
|
||||
public void testNativeProtectedFunCall() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/nativeProtectedFunCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noObjcOverrideConflictingOverloadsDisabled.kt")
|
||||
public void testNoObjcOverrideConflictingOverloadsDisabled() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/noObjcOverrideConflictingOverloadsDisabled.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noObjcOverrideConflictingOverloadsDisabled.kt")
|
||||
public void testNoObjcOverrideConflictingOverloadsDisabled() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/noObjcOverrideConflictingOverloadsDisabled.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noObjcOverrideConflictingOverloadsEnabled.kt")
|
||||
public void testNoObjcOverrideConflictingOverloadsEnabled() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/noObjcOverrideConflictingOverloadsEnabled.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noObjcOverrideConflictingOverloadsEnabled.kt")
|
||||
public void testNoObjcOverrideConflictingOverloadsEnabled() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/noObjcOverrideConflictingOverloadsEnabled.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCName.kt")
|
||||
public void testObjCName() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCName.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("objCName.kt")
|
||||
public void testObjCName() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCName2.kt")
|
||||
public void testObjCName2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCName2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("objCName2.kt")
|
||||
public void testObjCName2() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCName2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCName3.kt")
|
||||
public void testObjCName3() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCName3.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("objCName3.kt")
|
||||
public void testObjCName3() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCName3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCName4.kt")
|
||||
public void testObjCName4() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCName4.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("objCName4.kt")
|
||||
public void testObjCName4() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCName4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCName5.kt")
|
||||
public void testObjCName5() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCName5.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("objCName5.kt")
|
||||
public void testObjCName5() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCName5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCRefinement.kt")
|
||||
public void testObjCRefinement() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCRefinement.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("objCRefinement.kt")
|
||||
public void testObjCRefinement() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCRefinement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objcOverrideApplicability.kt")
|
||||
public void testObjcOverrideApplicability() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objcOverrideApplicability.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("objcOverrideApplicability.kt")
|
||||
public void testObjcOverrideApplicability() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objcOverrideApplicability.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("resolveToDelegatedProperty.kt")
|
||||
public void testResolveToDelegatedProperty() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/resolveToDelegatedProperty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("resolveToDelegatedProperty.kt")
|
||||
public void testResolveToDelegatedProperty() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/resolveToDelegatedProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sharedImmutable.kt")
|
||||
public void testSharedImmutable() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/sharedImmutable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sharedImmutable.kt")
|
||||
public void testSharedImmutable() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/sharedImmutable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stdClassAndTypealiasAmbiguity.kt")
|
||||
public void testStdClassAndTypealiasAmbiguity() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/stdClassAndTypealiasAmbiguity.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("stdClassAndTypealiasAmbiguity.kt")
|
||||
public void testStdClassAndTypealiasAmbiguity() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/stdClassAndTypealiasAmbiguity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("threadLocal.kt")
|
||||
public void testThreadLocal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/threadLocal.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("threadLocal.kt")
|
||||
public void testThreadLocal() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/threadLocal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("throws.kt")
|
||||
public void testThrows() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/throws.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("throws.kt")
|
||||
public void testThrows() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/throws.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("throwsClash.kt")
|
||||
public void testThrowsClash() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/throwsClash.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("throwsClash.kt")
|
||||
public void testThrowsClash() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/throwsClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelSingleton.kt")
|
||||
public void testTopLevelSingleton() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/topLevelSingleton.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("topLevelSingleton.kt")
|
||||
public void testTopLevelSingleton() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/topLevelSingleton.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+579
-579
File diff suppressed because it is too large
Load Diff
+579
-579
File diff suppressed because it is too large
Load Diff
+2878
-2878
File diff suppressed because it is too large
Load Diff
+2878
-2878
File diff suppressed because it is too large
Load Diff
+2878
-2878
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user