Author: akazakov
Date: 2012-05-10 15:33:14 -0400 (Thu, 10 May 2012)
New Revision: 40923
Modified:
trunk/seam/tests/org.jboss.tools.seam230.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam230FacetInstallDelegateTest.java
Log:
https://issues.jboss.org/browse/JBIDE-11490 tests for Seam 2.3
Modified:
trunk/seam/tests/org.jboss.tools.seam230.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam230FacetInstallDelegateTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam230.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam230FacetInstallDelegateTest.java 2012-05-10
19:07:14 UTC (rev 40922)
+++
trunk/seam/tests/org.jboss.tools.seam230.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam230FacetInstallDelegateTest.java 2012-05-10
19:33:14 UTC (rev 40923)
@@ -18,6 +18,7 @@
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.jst.common.project.facet.core.JavaFacet;
import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
import org.eclipse.wst.validation.ValidationFramework;
import org.eclipse.wst.validation.internal.EventManager;
@@ -52,6 +53,10 @@
seam2Facet = ProjectFacetsManager.getProjectFacet("jst.seam");
seam2FacetVersion = seam2Facet.getVersion("2.3");
+ javaVersion = JavaFacet.VERSION_1_6;
+ dynamicWebVersion =
ProjectFacetsManager.getProjectFacet("jst.web").getVersion("3.0");
+ javaFacesVersion =
ProjectFacetsManager.getProjectFacet("jst.jsf").getVersion("2.0");
+
File folder = getSeamHomeFolder();
SeamRuntimeManager.getInstance().addRuntime(SEAM_2_2_3, folder.getAbsolutePath(),
SeamVersion.SEAM_2_3, true);