[CLI] Replace K2 -Xmodule by -Xfragments and -Xfragment-sources

KT-56210
This commit is contained in:
Sebastian Sellmair
2023-02-21 15:12:21 +01:00
committed by Space Team
parent 8e5b19fe96
commit 21bf497830
30 changed files with 157 additions and 92 deletions
@@ -127,14 +127,24 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/jvm/hmpp/dependsOnSingleModule.args");
}
@TestMetadata("dependsOnWithoutModules.args")
public void testDependsOnWithoutModules() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/dependsOnWithoutModules.args");
@TestMetadata("dependsOnWithoutFragments.args")
public void testDependsOnWithoutFragments() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/dependsOnWithoutFragments.args");
}
@TestMetadata("duplicatedModules.args")
public void testDuplicatedModules() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/duplicatedModules.args");
@TestMetadata("duplicatedFragments.args")
public void testDuplicatedFragments() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/duplicatedFragments.args");
}
@TestMetadata("fragmentSourcesIncorrectSyntax.args")
public void testFragmentSourcesIncorrectSyntax() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/fragmentSourcesIncorrectSyntax.args");
}
@TestMetadata("fragmentWithoutSources.args")
public void testFragmentWithoutSources() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/fragmentWithoutSources.args");
}
@TestMetadata("lowLanguageVersion.args")
@@ -142,35 +152,30 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/jvm/hmpp/lowLanguageVersion.args");
}
@TestMetadata("missingModule.args")
public void testMissingModule() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/missingModule.args");
@TestMetadata("missingFragment.args")
public void testMissingFragment() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/missingFragment.args");
}
@TestMetadata("moduleIncorrectSyntax.args")
public void testModuleIncorrectSyntax() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/moduleIncorrectSyntax.args");
@TestMetadata("sameSourceInDifferentFragments.args")
public void testSameSourceInDifferentFragments() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/sameSourceInDifferentFragments.args");
}
@TestMetadata("moduleWithoutSources.args")
public void testModuleWithoutSources() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/moduleWithoutSources.args");
}
@TestMetadata("sameSourceInDifferentModules.args")
public void testSameSourceInDifferentModules() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/sameSourceInDifferentModules.args");
}
@TestMetadata("sourceNotInAnyModule.args")
public void testSourceNotInAnyModule() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/sourceNotInAnyModule.args");
@TestMetadata("sourceNotInAnyFragment.args")
public void testSourceNotInAnyFragment() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/sourceNotInAnyFragment.args");
}
@TestMetadata("successfulCompilation.args")
public void testSuccessfulCompilation() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/successfulCompilation.args");
}
@TestMetadata("successfulCompilation2.args")
public void testSuccessfulCompilation2() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/successfulCompilation2.args");
}
}
@TestMetadata("compiler/testData/cli/jvm")