Debugger tests: workaround for idea bug in output replacement

This commit is contained in:
Natalia Ukhorskaya
2014-08-21 15:35:27 +04:00
parent 40c4022c98
commit 91f7f2479d
@@ -164,9 +164,12 @@ public abstract class KotlinDebuggerTestCase extends DescriptorTestCase {
@Override
protected String replaceAdditionalInOutput(String str) {
//noinspection ConstantConditions
String jdkPath = PluginTestCaseBase.fullJdk().getHomePath().replace('/', File.separatorChar);
return super.replaceAdditionalInOutput(
str.replace(ForTestCompileRuntime.runtimeJarForTests().getPath(), "!KOTLIN_RUNTIME!")
.replace(CUSTOM_LIBRARY_JAR.getPath(), "!CUSTOM_LIBRARY!")
.replace(jdkPath, "!JDK_HOME!")
);
}
}