Author: snjeza
Date: 2008-10-24 14:33:31 -0400 (Fri, 24 Oct 2008)
New Revision: 11176
Modified:
branches/jbosstools-3.0.0.Beta1/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/Seam20EARNewOperationTest.java
branches/jbosstools-3.0.0.Beta1/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/Seam20WARNewOperationTest.java
Log:
Fixing errors in the org.jboss.tools.seam.ui.test tests
Modified:
branches/jbosstools-3.0.0.Beta1/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/Seam20EARNewOperationTest.java
===================================================================
---
branches/jbosstools-3.0.0.Beta1/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/Seam20EARNewOperationTest.java 2008-10-24
18:23:23 UTC (rev 11175)
+++
branches/jbosstools-3.0.0.Beta1/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/Seam20EARNewOperationTest.java 2008-10-24
18:33:31 UTC (rev 11176)
@@ -12,11 +12,13 @@
import java.io.File;
+import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
import org.eclipse.wst.common.project.facet.core.IProjectFacet;
import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
import org.jboss.tools.seam.core.project.facet.SeamRuntimeManager;
import org.jboss.tools.seam.core.project.facet.SeamVersion;
+import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataModelProperties;
public class Seam20EARNewOperationTest extends Seam12EARNewOperationTest {
@@ -65,4 +67,11 @@
return seam2FacetVersion;
}
+ @Override
+ protected IDataModel createSeamDataModel(String deployType) {
+ IDataModel model = super.createSeamDataModel(deployType);
+ model.setStringProperty(ISeamFacetDataModelProperties.SEAM_RUNTIME_NAME, SEAM_2_0_0);
+ return model;
+ }
+
}
Modified:
branches/jbosstools-3.0.0.Beta1/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/Seam20WARNewOperationTest.java
===================================================================
---
branches/jbosstools-3.0.0.Beta1/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/Seam20WARNewOperationTest.java 2008-10-24
18:23:23 UTC (rev 11175)
+++
branches/jbosstools-3.0.0.Beta1/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/Seam20WARNewOperationTest.java 2008-10-24
18:33:31 UTC (rev 11176)
@@ -15,6 +15,7 @@
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
import org.eclipse.wst.common.project.facet.core.IProjectFacet;
import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
@@ -22,6 +23,7 @@
import org.jboss.tools.seam.core.SeamProjectsSet;
import org.jboss.tools.seam.core.project.facet.SeamRuntimeManager;
import org.jboss.tools.seam.core.project.facet.SeamVersion;
+import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataModelProperties;
import org.jboss.tools.seam.ui.wizard.IParameter;
public class Seam20WARNewOperationTest extends Seam12WARNewOperationTest {
@@ -96,4 +98,11 @@
seamProjectWebContentFolder.toString() + "/" +
seamPageName + ".xhtml");
}
+
+ @Override
+ protected IDataModel createSeamDataModel(String deployType) {
+ IDataModel model = super.createSeamDataModel(deployType);
+ model.setStringProperty(ISeamFacetDataModelProperties.SEAM_RUNTIME_NAME, SEAM_2_0_0);
+ return model;
+ }
}
\ No newline at end of file
Show replies by date