mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add support for javaee frameworks: tests fixed
This commit is contained in:
+5
-1
@@ -4,7 +4,7 @@ import com.intellij.facet.Facet;
|
||||
import com.intellij.facet.FacetManager;
|
||||
import com.intellij.facet.FacetTypeId;
|
||||
import com.intellij.facet.ui.FacetBasedFrameworkSupportProvider;
|
||||
import com.intellij.framework.FrameworkType;
|
||||
import com.intellij.framework.*;
|
||||
import com.intellij.framework.addSupport.FrameworkSupportInModuleConfigurable;
|
||||
import com.intellij.framework.addSupport.FrameworkSupportInModuleProvider;
|
||||
import com.intellij.ide.util.newProjectWizard.FrameworkSupportNode;
|
||||
@@ -112,6 +112,10 @@ public abstract class FrameworkSupportProviderTestCase extends IdeaTestCase {
|
||||
return configurable;
|
||||
}
|
||||
|
||||
protected void selectVersion(FrameworkType frameworkType, com.intellij.framework.FrameworkVersion version) {
|
||||
myFrameworkSupportModel.setSelectedVersion(frameworkType.getId(), version);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
protected <F extends Facet> F getFacet(FacetTypeId<F> id) {
|
||||
final F facet = FacetManager.getInstance(myModule).getFacetByType(id);
|
||||
|
||||
Reference in New Issue
Block a user