Fixed test for java to Kotlin copy/paste - java standard classes used to not be resolved

This commit is contained in:
Valentin Kipyatkov
2014-06-16 15:59:48 +04:00
parent 84a566b034
commit be44c5b7be
@@ -17,7 +17,10 @@
package org.jetbrains.jet.plugin.conversion.copy;
import com.intellij.openapi.actionSystem.IdeActions;
import com.intellij.testFramework.LightProjectDescriptor;
import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jet.plugin.JetWithJdkAndRuntimeLightProjectDescriptor;
import org.jetbrains.jet.plugin.PluginTestCaseBase;
import org.jetbrains.jet.plugin.editor.JetEditorOptions;
@@ -26,6 +29,12 @@ public abstract class AbstractJavaToKotlinCopyPasteConversionTest extends LightC
private static final String BASE_PATH = PluginTestCaseBase.getTestDataPathBase() + "/copyPaste/conversion";
private JetEditorOptions oldState = null;
@NotNull
@Override
protected LightProjectDescriptor getProjectDescriptor() {
return JetWithJdkAndRuntimeLightProjectDescriptor.INSTANCE;
}
@Override
protected void setUp() throws Exception {
super.setUp();