Add regression tests for KT-46890 and other stuff
This commit is contained in:
+46
@@ -20196,6 +20196,52 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/inlineClasses/result")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Result {
|
||||
@Test
|
||||
public void testAllFilesPresentInResult() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/result"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("directCall1.kt")
|
||||
public void testDirectCall1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/result/directCall1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("directCall2.kt")
|
||||
public void testDirectCall2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/result/directCall2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doubleOverride.kt")
|
||||
public void testDoubleOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/result/doubleOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionOverride.kt")
|
||||
public void testExtensionOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/result/extensionOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineMethodOnResult.kt")
|
||||
public void testInlineMethodOnResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/result/inlineMethodOnResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaTakesResultThroughBridge.kt")
|
||||
public void testLambdaTakesResultThroughBridge() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/result/lambdaTakesResultThroughBridge.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/inlineClasses/returnResult")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user