[Test] Update CLI tests according to new default language version

This commit is contained in:
Dmitriy Novozhilov
2021-01-13 14:35:44 +03:00
parent 5122e748c1
commit 73e6d42224
75 changed files with 616 additions and 324 deletions
@@ -32,11 +32,6 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/jvm/abiStabilityIncorrectValue.args");
}
@TestMetadata("abiStabilityUnstableWithOldBackend.args")
public void testAbiStabilityUnstableWithOldBackend() throws Exception {
runTest("compiler/testData/cli/jvm/abiStabilityUnstableWithOldBackend.args");
}
public void testAllFilesPresentInJvm() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm"), Pattern.compile("^(.+)\\.args$"), null, false);
}
@@ -576,11 +571,6 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/jvm/kotlinPackage.args");
}
@TestMetadata("kt19628_12.args")
public void testKt19628_12() throws Exception {
runTest("compiler/testData/cli/jvm/kt19628_12.args");
}
@TestMetadata("kt19628_13.args")
public void testKt19628_13() throws Exception {
runTest("compiler/testData/cli/jvm/kt19628_13.args");
@@ -706,11 +696,6 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/jvm/progressiveModeOn.args");
}
@TestMetadata("releaseCoroutinesApiVersion1.2.args")
public void testReleaseCoroutinesApiVersion1_2() throws Exception {
runTest("compiler/testData/cli/jvm/releaseCoroutinesApiVersion1.2.args");
}
@TestMetadata("resultInReturnTypeUnsupportedByDefault14.args")
public void testResultInReturnTypeUnsupportedByDefault14() throws Exception {
runTest("compiler/testData/cli/jvm/resultInReturnTypeUnsupportedByDefault14.args");
@@ -751,11 +736,6 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/jvm/singleJavaFileRoots.args");
}
@TestMetadata("standaloneSamConversionsAreDisabledExplicitlyWithNewInference.args")
public void testStandaloneSamConversionsAreDisabledExplicitlyWithNewInference() throws Exception {
runTest("compiler/testData/cli/jvm/standaloneSamConversionsAreDisabledExplicitlyWithNewInference.args");
}
@TestMetadata("standaloneSamConversionsAreEnabledWithNewInference.args")
public void testStandaloneSamConversionsAreEnabledWithNewInference() throws Exception {
runTest("compiler/testData/cli/jvm/standaloneSamConversionsAreEnabledWithNewInference.args");