K2 Scripting: report error on attempt to use scripts in common roots
#KT-65967 fixed
This commit is contained in:
committed by
Space Team
parent
cdf4b17052
commit
10dbe73828
@@ -162,6 +162,11 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/jvm/hmpp/sameSourceInDifferentFragments.args");
|
||||
}
|
||||
|
||||
@TestMetadata("scriptInCommonFragment.args")
|
||||
public void testScriptInCommonFragment() {
|
||||
runTest("compiler/testData/cli/jvm/hmpp/scriptInCommonFragment.args");
|
||||
}
|
||||
|
||||
@TestMetadata("sourceNotInAnyFragment.args")
|
||||
public void testSourceNotInAnyFragment() {
|
||||
runTest("compiler/testData/cli/jvm/hmpp/sourceNotInAnyFragment.args");
|
||||
@@ -176,6 +181,11 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
public void testSuccessfulCompilation2() {
|
||||
runTest("compiler/testData/cli/jvm/hmpp/successfulCompilation2.args");
|
||||
}
|
||||
|
||||
@TestMetadata("successfulCompilationWithScript.args")
|
||||
public void testSuccessfulCompilationWithScript() {
|
||||
runTest("compiler/testData/cli/jvm/hmpp/successfulCompilationWithScript.args");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/cli/jvm")
|
||||
@@ -1000,6 +1010,16 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/jvm/modulesWithDependencyCycle.args");
|
||||
}
|
||||
|
||||
@TestMetadata("multiplatformCompilationWithCommonScript.args")
|
||||
public void testMultiplatformCompilationWithCommonScript() {
|
||||
runTest("compiler/testData/cli/jvm/multiplatformCompilationWithCommonScript.args");
|
||||
}
|
||||
|
||||
@TestMetadata("multiplatformCompilationWithScript.args")
|
||||
public void testMultiplatformCompilationWithScript() {
|
||||
runTest("compiler/testData/cli/jvm/multiplatformCompilationWithScript.args");
|
||||
}
|
||||
|
||||
@TestMetadata("multipleTextRangesInDiagnosticsOrder.args")
|
||||
public void testMultipleTextRangesInDiagnosticsOrder() {
|
||||
runTest("compiler/testData/cli/jvm/multipleTextRangesInDiagnosticsOrder.args");
|
||||
|
||||
Reference in New Issue
Block a user