K2 Scripting: restore some codegen scripting tests for K2

This commit is contained in:
Ilya Chernikov
2023-12-21 17:34:32 +01:00
committed by Space Team
parent a83d2b7a67
commit 3b70b3d92d
17 changed files with 248 additions and 4 deletions
@@ -51628,6 +51628,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
runTest("compiler/testData/codegen/box/script/localCaptureTests.kt");
}
@Test
@TestMetadata("localCaptureTestsK2.kt")
public void testLocalCaptureTestsK2() throws Exception {
runTest("compiler/testData/codegen/box/script/localCaptureTestsK2.kt");
}
@Test
@TestMetadata("scripInstance.kt")
public void testScripInstance() throws Exception {
@@ -51639,6 +51645,18 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
public void testScriptNestedClassInstance() throws Exception {
runTest("compiler/testData/codegen/box/script/scriptNestedClassInstance.kt");
}
@Test
@TestMetadata("scriptNestedClassInstanceK2.kt")
public void testScriptNestedClassInstanceK2() throws Exception {
runTest("compiler/testData/codegen/box/script/scriptNestedClassInstanceK2.kt");
}
@Test
@TestMetadata("scriptPropFromAnotherModuleK2.kt")
public void testScriptPropFromAnotherModuleK2() throws Exception {
runTest("compiler/testData/codegen/box/script/scriptPropFromAnotherModuleK2.kt");
}
}
@Nested
@@ -51628,6 +51628,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
runTest("compiler/testData/codegen/box/script/localCaptureTests.kt");
}
@Test
@TestMetadata("localCaptureTestsK2.kt")
public void testLocalCaptureTestsK2() throws Exception {
runTest("compiler/testData/codegen/box/script/localCaptureTestsK2.kt");
}
@Test
@TestMetadata("scripInstance.kt")
public void testScripInstance() throws Exception {
@@ -51639,6 +51645,18 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
public void testScriptNestedClassInstance() throws Exception {
runTest("compiler/testData/codegen/box/script/scriptNestedClassInstance.kt");
}
@Test
@TestMetadata("scriptNestedClassInstanceK2.kt")
public void testScriptNestedClassInstanceK2() throws Exception {
runTest("compiler/testData/codegen/box/script/scriptNestedClassInstanceK2.kt");
}
@Test
@TestMetadata("scriptPropFromAnotherModuleK2.kt")
public void testScriptPropFromAnotherModuleK2() throws Exception {
runTest("compiler/testData/codegen/box/script/scriptPropFromAnotherModuleK2.kt");
}
}
@Nested