Fix missing changes in bunch files in ConfigureKotlinTest
This commit is contained in:
@@ -118,8 +118,8 @@ public class ConfigureKotlinTest extends AbstractConfigureKotlinTest {
|
|||||||
|
|
||||||
// Move fake runtime jar to default library path to pretend library is already configured
|
// Move fake runtime jar to default library path to pretend library is already configured
|
||||||
FileUtil.copy(
|
FileUtil.copy(
|
||||||
new File(getProject().getBasePath() + "/lib/kotlin-stdlib.jar"),
|
new File(getProject().getBasePath() + "/lib/" + PathUtil.KOTLIN_JAVA_STDLIB_JAR),
|
||||||
new File(Companion.getJAVA_CONFIGURATOR().getDefaultPathToJarFile(getProject()) + "/kotlin-stdlib.jar"));
|
new File(Companion.getJAVA_CONFIGURATOR().getDefaultPathToJarFile(getProject()) + "/" + PathUtil.KOTLIN_JAVA_STDLIB_JAR));
|
||||||
|
|
||||||
Companion.assertNotConfigured(module, Companion.getJAVA_CONFIGURATOR());
|
Companion.assertNotConfigured(module, Companion.getJAVA_CONFIGURATOR());
|
||||||
Companion.getJAVA_CONFIGURATOR().configure(myProject, Collections.<Module>emptyList());
|
Companion.getJAVA_CONFIGURATOR().configure(myProject, Collections.<Module>emptyList());
|
||||||
|
|||||||
@@ -118,8 +118,8 @@ public class ConfigureKotlinTest extends AbstractConfigureKotlinTest {
|
|||||||
|
|
||||||
// Move fake runtime jar to default library path to pretend library is already configured
|
// Move fake runtime jar to default library path to pretend library is already configured
|
||||||
FileUtil.copy(
|
FileUtil.copy(
|
||||||
new File(getProject().getBasePath() + "/lib/kotlin-runtime.jar"),
|
new File(getProject().getBasePath() + "/lib/" + PathUtil.KOTLIN_JAVA_STDLIB_JAR),
|
||||||
new File(Companion.getJAVA_CONFIGURATOR().getDefaultPathToJarFile(getProject()) + "/kotlin-runtime.jar"));
|
new File(Companion.getJAVA_CONFIGURATOR().getDefaultPathToJarFile(getProject()) + "/" + PathUtil.KOTLIN_JAVA_STDLIB_JAR));
|
||||||
|
|
||||||
Companion.assertNotConfigured(module, Companion.getJAVA_CONFIGURATOR());
|
Companion.assertNotConfigured(module, Companion.getJAVA_CONFIGURATOR());
|
||||||
Companion.getJAVA_CONFIGURATOR().configure(myProject, Collections.<Module>emptyList());
|
Companion.getJAVA_CONFIGURATOR().configure(myProject, Collections.<Module>emptyList());
|
||||||
|
|||||||
Reference in New Issue
Block a user