Remove CLI tests that become duplicated/unneeded after switching to 2.0
This commit is contained in:
committed by
Space Team
parent
88f0acfc79
commit
30899e4bbf
@@ -1,5 +0,0 @@
|
||||
$TESTDATA_DIR$/anonymousObjectType.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
-language-version
|
||||
2.0
|
||||
@@ -1 +0,0 @@
|
||||
OK
|
||||
@@ -1,13 +0,0 @@
|
||||
$TESTDATA_DIR$/inheritorOfExpectSealedClass/common-1.kt
|
||||
$TESTDATA_DIR$/inheritorOfExpectSealedClass/common-2.kt
|
||||
$TESTDATA_DIR$/inheritorOfExpectSealedClass/common-3.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
-language-version
|
||||
2.0
|
||||
-Xfragments=a,b,c
|
||||
-Xfragment-sources=a\:$TESTDATA_DIR$/inheritorOfExpectSealedClass/common-1.kt
|
||||
-Xfragment-sources=b\:$TESTDATA_DIR$/inheritorOfExpectSealedClass/common-2.kt
|
||||
-Xfragment-sources=c\:$TESTDATA_DIR$/inheritorOfExpectSealedClass/common-3.kt
|
||||
-Xfragment-refines=b\:a
|
||||
-Xfragment-refines=c\:b
|
||||
@@ -1,2 +0,0 @@
|
||||
error: HMPP module structure should not be passed during metadata compilation. Please remove `-Xfragments` and related flags
|
||||
COMPILATION_ERROR
|
||||
@@ -1,5 +0,0 @@
|
||||
$TESTDATA_DIR$/../kotlinPackage.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
-language-version
|
||||
2.0
|
||||
@@ -1,4 +0,0 @@
|
||||
compiler/testData/cli/kotlinPackage.kt:1:1: error: only the Kotlin standard library is allowed to use the 'kotlin' package
|
||||
package kotlin.mylibrary
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
@@ -1,7 +0,0 @@
|
||||
$TESTDATA_DIR$/lambdaWithReceiver.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
-cp
|
||||
$TESTDATA_DIR$/../../../../dist/common/kotlin-stdlib-common.jar
|
||||
-language-version
|
||||
2.0
|
||||
@@ -1 +0,0 @@
|
||||
OK
|
||||
@@ -1,7 +0,0 @@
|
||||
$TESTDATA_DIR$/moduleName.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
-module-name
|
||||
foo
|
||||
-language-version
|
||||
2.0
|
||||
@@ -1 +0,0 @@
|
||||
OK
|
||||
@@ -1,7 +0,0 @@
|
||||
$TESTDATA_DIR$/optionalAnnotationsFromMetadata.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
-cp
|
||||
$TESTDATA_DIR$/../../../../dist/common/kotlin-stdlib-common.jar
|
||||
-language-version
|
||||
2.0
|
||||
@@ -1 +0,0 @@
|
||||
OK
|
||||
@@ -1,7 +0,0 @@
|
||||
$TESTDATA_DIR$/optionalExpectationUsage.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
-cp
|
||||
$TESTDATA_DIR$/../../../../dist/common/kotlin-stdlib-common.jar
|
||||
-language-version
|
||||
2.0
|
||||
@@ -1 +0,0 @@
|
||||
OK
|
||||
@@ -1564,11 +1564,6 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/metadata/anonymousObjectType.args");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectTypeWithFir.args")
|
||||
public void testAnonymousObjectTypeWithFir() throws Exception {
|
||||
runTest("compiler/testData/cli/metadata/anonymousObjectTypeWithFir.args");
|
||||
}
|
||||
|
||||
@TestMetadata("hmppModules.args")
|
||||
public void testHmppModules() throws Exception {
|
||||
runTest("compiler/testData/cli/metadata/hmppModules.args");
|
||||
@@ -1579,21 +1574,11 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/metadata/inheritorOfExpectSealedClass.args");
|
||||
}
|
||||
|
||||
@TestMetadata("inheritorOfExpectSealedClassWithFir.args")
|
||||
public void testInheritorOfExpectSealedClassWithFir() throws Exception {
|
||||
runTest("compiler/testData/cli/metadata/inheritorOfExpectSealedClassWithFir.args");
|
||||
}
|
||||
|
||||
@TestMetadata("kotlinPackage.args")
|
||||
public void testKotlinPackage() throws Exception {
|
||||
runTest("compiler/testData/cli/metadata/kotlinPackage.args");
|
||||
}
|
||||
|
||||
@TestMetadata("kotlinPackageWithFir.args")
|
||||
public void testKotlinPackageWithFir() throws Exception {
|
||||
runTest("compiler/testData/cli/metadata/kotlinPackageWithFir.args");
|
||||
}
|
||||
|
||||
@TestMetadata("kt58139.args")
|
||||
public void testKt58139() throws Exception {
|
||||
runTest("compiler/testData/cli/metadata/kt58139.args");
|
||||
@@ -1604,21 +1589,11 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/metadata/lambdaWithReceiver.args");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaWithReceiverWithFir.args")
|
||||
public void testLambdaWithReceiverWithFir() throws Exception {
|
||||
runTest("compiler/testData/cli/metadata/lambdaWithReceiverWithFir.args");
|
||||
}
|
||||
|
||||
@TestMetadata("moduleName.args")
|
||||
public void testModuleName() throws Exception {
|
||||
runTest("compiler/testData/cli/metadata/moduleName.args");
|
||||
}
|
||||
|
||||
@TestMetadata("moduleNameWithFir.args")
|
||||
public void testModuleNameWithFir() throws Exception {
|
||||
runTest("compiler/testData/cli/metadata/moduleNameWithFir.args");
|
||||
}
|
||||
|
||||
@TestMetadata("noVirtualFileHiddenForMemberWithPlatformDependentAnnotation.args")
|
||||
public void testNoVirtualFileHiddenForMemberWithPlatformDependentAnnotation() throws Exception {
|
||||
runTest("compiler/testData/cli/metadata/noVirtualFileHiddenForMemberWithPlatformDependentAnnotation.args");
|
||||
@@ -1629,19 +1604,9 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/metadata/optionalAnnotationsFromMetadata.args");
|
||||
}
|
||||
|
||||
@TestMetadata("optionalAnnotationsFromMetadataWithFir.args")
|
||||
public void testOptionalAnnotationsFromMetadataWithFir() throws Exception {
|
||||
runTest("compiler/testData/cli/metadata/optionalAnnotationsFromMetadataWithFir.args");
|
||||
}
|
||||
|
||||
@TestMetadata("optionalExpectationUsage.args")
|
||||
public void testOptionalExpectationUsage() throws Exception {
|
||||
runTest("compiler/testData/cli/metadata/optionalExpectationUsage.args");
|
||||
}
|
||||
|
||||
@TestMetadata("optionalExpectationUsageWithFir.args")
|
||||
public void testOptionalExpectationUsageWithFir() throws Exception {
|
||||
runTest("compiler/testData/cli/metadata/optionalExpectationUsageWithFir.args");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user