Drop deprecated KotlinPaths.getRuntimePath, use getStdlibPath instead
Original commit: 8b149db0ec
This commit is contained in:
+2
-2
@@ -32,7 +32,7 @@ import java.io.File
|
|||||||
*/
|
*/
|
||||||
class ClasspathOrderTest : TestCaseWithTmpdir() {
|
class ClasspathOrderTest : TestCaseWithTmpdir() {
|
||||||
companion object {
|
companion object {
|
||||||
val sourceDir = File(KotlinTestUtils.getTestDataPathBase() + "/classpathOrder").absoluteFile
|
private val sourceDir = File(KotlinTestUtils.getTestDataPathBase() + "/classpathOrder").absoluteFile
|
||||||
}
|
}
|
||||||
|
|
||||||
fun testClasspathOrderForCLI() {
|
fun testClasspathOrderForCLI() {
|
||||||
@@ -45,7 +45,7 @@ class ClasspathOrderTest : TestCaseWithTmpdir() {
|
|||||||
File(tmpdir, "output").absolutePath,
|
File(tmpdir, "output").absolutePath,
|
||||||
listOf(sourceDir),
|
listOf(sourceDir),
|
||||||
listOf(JvmSourceRoot(sourceDir)),
|
listOf(JvmSourceRoot(sourceDir)),
|
||||||
listOf(PathUtil.kotlinPathsForDistDirectory.runtimePath),
|
listOf(PathUtil.kotlinPathsForDistDirectory.stdlibPath),
|
||||||
null,
|
null,
|
||||||
JavaModuleBuildTargetType.PRODUCTION.typeId,
|
JavaModuleBuildTargetType.PRODUCTION.typeId,
|
||||||
JavaModuleBuildTargetType.PRODUCTION.isTests,
|
JavaModuleBuildTargetType.PRODUCTION.isTests,
|
||||||
|
|||||||
Reference in New Issue
Block a user