Tests: remove actualTypealiasToCompiledInlineClass test
This test uses multiple features which are obsolete and will be discontinued soon: - Language version 1.4 - Expect/actual declarations in the same module - Declaring inline classes via "inline class"
This commit is contained in:
committed by
Space Team
parent
bad7fa597b
commit
21c7325dbe
-32
@@ -696,38 +696,6 @@ class CompileKotlinAgainstCustomBinariesTest : AbstractKotlinCompilerIntegration
|
||||
)
|
||||
}
|
||||
|
||||
fun testActualTypealiasToCompiledInlineClass() {
|
||||
val library14 = compileLibrary(
|
||||
"library14",
|
||||
additionalOptions = listOf("-language-version", "1.4"),
|
||||
checkKotlinOutput = { result ->
|
||||
KotlinTestUtils.assertEqualsToFile(
|
||||
"Expected output check failed",
|
||||
File(testDataDirectory, "output14.txt"),
|
||||
result
|
||||
)
|
||||
}
|
||||
)
|
||||
val library16 = compileLibrary(
|
||||
"library16",
|
||||
additionalOptions = listOf("-language-version", "1.6")
|
||||
)
|
||||
compileKotlin(
|
||||
"expectActualLv14.kt",
|
||||
output = tmpdir,
|
||||
classpath = listOf(library14, library16),
|
||||
additionalOptions = listOf("-language-version", "1.4", "-Xmulti-platform"),
|
||||
expectedFileName = "output14.txt",
|
||||
)
|
||||
compileKotlin(
|
||||
"expectActualLv16.kt",
|
||||
output = tmpdir,
|
||||
classpath = listOf(library14, library16),
|
||||
additionalOptions = listOf("-language-version", "1.6", "-Xmulti-platform"),
|
||||
expectedFileName = "output16.txt",
|
||||
)
|
||||
}
|
||||
|
||||
fun testDeserializedAnnotationReferencesJava() {
|
||||
// Only Java
|
||||
val libraryAnnotation = compileLibrary("libraryAnnotation")
|
||||
|
||||
Reference in New Issue
Block a user