LV 2.0: remove CLI tests covering quite obsolete legacy
This commit is contained in:
committed by
Space Team
parent
e5ee364419
commit
e5906a8a3a
@@ -1,5 +0,0 @@
|
|||||||
$TESTDATA_DIR$/legacySmartCastsAfterTry.kt
|
|
||||||
-d
|
|
||||||
$TEMP_DIR$
|
|
||||||
-XXLanguage\:+SoundSmartCastsAfterTry
|
|
||||||
-Xlegacy-smart-cast-after-try
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
warning: ATTENTION!
|
|
||||||
This build uses unsafe internal compiler arguments:
|
|
||||||
|
|
||||||
-XXLanguage:+SoundSmartCastsAfterTry
|
|
||||||
|
|
||||||
This mode is not recommended for production use,
|
|
||||||
as no stability/compatibility guarantees are given on
|
|
||||||
compiler or generated code. Use it at your own risk!
|
|
||||||
|
|
||||||
OK
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
$TESTDATA_DIR$/newInferenceImpliesProgressiveModeForNI.kt
|
|
||||||
-d
|
|
||||||
$TEMP_DIR$
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
fun bar(): Int = 0
|
|
||||||
|
|
||||||
object Scope {
|
|
||||||
fun <T> foo(f: () -> T): T = f()
|
|
||||||
|
|
||||||
fun bar(x: Int = 0): String = ""
|
|
||||||
|
|
||||||
fun test() {
|
|
||||||
val r1 = foo(::bar)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
OK
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
$TESTDATA_DIR$/newInferenceImpliesSamConversions.kt
|
|
||||||
-d
|
|
||||||
$TEMP_DIR$
|
|
||||||
@@ -2,4 +2,4 @@ fun foo(r: Runnable) {}
|
|||||||
|
|
||||||
fun test() {
|
fun test() {
|
||||||
foo { }
|
foo { }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
OK
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
$TESTDATA_DIR$/newInferenceImpliesSamConversions.kt
|
|
||||||
-d
|
|
||||||
$TEMP_DIR$
|
|
||||||
-Xnew-inference
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
OK
|
|
||||||
@@ -720,11 +720,6 @@ public class CliTestGenerated extends AbstractCliTest {
|
|||||||
runTest("compiler/testData/cli/jvm/internalArgWrongPrefix.args");
|
runTest("compiler/testData/cli/jvm/internalArgWrongPrefix.args");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("internalArgumentOverrideExtraArgument.args")
|
|
||||||
public void testInternalArgumentOverrideExtraArgument() throws Exception {
|
|
||||||
runTest("compiler/testData/cli/jvm/internalArgumentOverrideExtraArgument.args");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("invalidMetadataVersion.args")
|
@TestMetadata("invalidMetadataVersion.args")
|
||||||
public void testInvalidMetadataVersion() throws Exception {
|
public void testInvalidMetadataVersion() throws Exception {
|
||||||
runTest("compiler/testData/cli/jvm/invalidMetadataVersion.args");
|
runTest("compiler/testData/cli/jvm/invalidMetadataVersion.args");
|
||||||
@@ -980,21 +975,6 @@ public class CliTestGenerated extends AbstractCliTest {
|
|||||||
runTest("compiler/testData/cli/jvm/multipleTextRangesInDiagnosticsOrder.args");
|
runTest("compiler/testData/cli/jvm/multipleTextRangesInDiagnosticsOrder.args");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("newInferenceImpliesProgressiveModeForNI.args")
|
|
||||||
public void testNewInferenceImpliesProgressiveModeForNI() throws Exception {
|
|
||||||
runTest("compiler/testData/cli/jvm/newInferenceImpliesProgressiveModeForNI.args");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("newInferenceImpliesSamConversions.args")
|
|
||||||
public void testNewInferenceImpliesSamConversions() throws Exception {
|
|
||||||
runTest("compiler/testData/cli/jvm/newInferenceImpliesSamConversions.args");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("newInferenceWithOldFlagImpliesSamConversions.args")
|
|
||||||
public void testNewInferenceWithOldFlagImpliesSamConversions() throws Exception {
|
|
||||||
runTest("compiler/testData/cli/jvm/newInferenceWithOldFlagImpliesSamConversions.args");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("newLineInPackage.args")
|
@TestMetadata("newLineInPackage.args")
|
||||||
public void testNewLineInPackage() throws Exception {
|
public void testNewLineInPackage() throws Exception {
|
||||||
runTest("compiler/testData/cli/jvm/newLineInPackage.args");
|
runTest("compiler/testData/cli/jvm/newLineInPackage.args");
|
||||||
|
|||||||
Reference in New Issue
Block a user