Drop unused test
^KT-27301 In Progress
This commit is contained in:
-23
@@ -1,23 +0,0 @@
|
|||||||
package org.jetbrains.kotlin.gradle.dsl
|
|
||||||
|
|
||||||
import org.jetbrains.kotlin.cli.common.arguments.K2JVMCompilerArguments
|
|
||||||
import org.junit.Assert.assertEquals
|
|
||||||
import org.junit.Test
|
|
||||||
|
|
||||||
class KotlinJvmOptionsTest {
|
|
||||||
@Test
|
|
||||||
fun testFreeArguments() {
|
|
||||||
val options = KotlinJvmOptionsImpl()
|
|
||||||
options.freeCompilerArgs = listOf(
|
|
||||||
"-Xreport-perf",
|
|
||||||
"-Xallow-kotlin-package",
|
|
||||||
"-Xmultifile-parts-inherit",
|
|
||||||
"-Xdump-declarations-to", "declarationsPath",
|
|
||||||
"-script-templates", "a,b,c"
|
|
||||||
)
|
|
||||||
|
|
||||||
val arguments = K2JVMCompilerArguments()
|
|
||||||
options.updateArguments(arguments)
|
|
||||||
assertEquals(options.freeCompilerArgs, arguments.freeArgs)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user