K2 Scripting: disable K2 lightTree-based script tests
they were enabled by mistake and do not work properly until LT parsing is implemented depends on #KT-60127
This commit is contained in:
committed by
Space Team
parent
a5c2eb66a2
commit
d6c9a492ad
+1
-53
@@ -22,7 +22,7 @@ import java.util.regex.Pattern;
|
||||
public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBoxCodegenBasedTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, true, "cinterop");
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, true, "cinterop", "script");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -51607,58 +51607,6 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/script")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Script {
|
||||
@Test
|
||||
public void testAllFilesPresentInScript() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/script"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classReference.kt")
|
||||
public void testClassReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/script/classReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localCaptureTests.kt")
|
||||
public void testLocalCaptureTests() throws Exception {
|
||||
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 {
|
||||
runTest("compiler/testData/codegen/box/script/scripInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scriptNestedClassInstance.kt")
|
||||
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
|
||||
@TestMetadata("compiler/testData/codegen/box/sealed")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+1
-53
@@ -22,7 +22,7 @@ import java.util.regex.Pattern;
|
||||
public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFirReversedBlackBoxCodegenBasedTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, true, "cinterop");
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, true, "cinterop", "script");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -51607,58 +51607,6 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/script")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Script {
|
||||
@Test
|
||||
public void testAllFilesPresentInScript() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/script"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classReference.kt")
|
||||
public void testClassReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/script/classReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localCaptureTests.kt")
|
||||
public void testLocalCaptureTests() throws Exception {
|
||||
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 {
|
||||
runTest("compiler/testData/codegen/box/script/scripInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scriptNestedClassInstance.kt")
|
||||
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
|
||||
@TestMetadata("compiler/testData/codegen/box/sealed")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user