Add JDK for debugger tests
This commit is contained in:
@@ -19,6 +19,7 @@ package org.jetbrains.jet.plugin.debugger;
|
||||
import com.intellij.debugger.DebuggerTestCase;
|
||||
import com.intellij.debugger.impl.OutputChecker;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.projectRoots.Sdk;
|
||||
import com.intellij.openapi.roots.ModifiableRootModel;
|
||||
import com.intellij.openapi.roots.ModuleRootManager;
|
||||
import com.intellij.openapi.roots.OrderRootType;
|
||||
@@ -144,4 +145,9 @@ public abstract class KotlinDebuggerTestCase extends DebuggerTestCase {
|
||||
String packageName = file.getName().replace(".kt", "");
|
||||
createLocalProcess(PackageClassUtils.getPackageClassFqName(new FqName(packageName)).asString());
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Sdk getTestProjectJdk() {
|
||||
return PluginTestCaseBase.jdkFromIdeaHome();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user