Kotlin implement members initial (not much works)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package org.jetbrains.jet.plugin;
|
||||
|
||||
import com.intellij.openapi.projectRoots.Sdk;
|
||||
import com.intellij.openapi.projectRoots.impl.JavaSdkImpl;
|
||||
import org.jetbrains.jet.JetTestCaseBuilder;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
*/
|
||||
public class PluginTestCaseBase {
|
||||
private PluginTestCaseBase() {
|
||||
}
|
||||
|
||||
public static String getTestDataPathBase() {
|
||||
return JetTestCaseBuilder.getHomeDirectory() + "/idea/testData";
|
||||
}
|
||||
|
||||
public static Sdk jdkFromIdeaHome() {
|
||||
return new JavaSdkImpl().createJdk("JDK", "compiler/testData/mockJDK-1.7/jre", true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user