Author: dgolovin
Date: 2009-10-02 01:36:24 -0400 (Fri, 02 Oct 2009)
New Revision: 17859
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam2FacetInstallDelegateTest.java
Log:
fix seam 2.0.1.GA 10 test errors
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam2FacetInstallDelegateTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam2FacetInstallDelegateTest.java 2009-10-02
01:12:30 UTC (rev 17858)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam2FacetInstallDelegateTest.java 2009-10-02
05:36:24 UTC (rev 17859)
@@ -24,6 +24,7 @@
import org.eclipse.core.resources.IResourceProxyVisitor;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.Path;
import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
import org.eclipse.wst.common.project.facet.core.IFacetedProject;
import org.eclipse.wst.common.project.facet.core.IProjectFacet;
@@ -192,7 +193,7 @@
onlyInWar.add("richfaces-impl.jar");
onlyInWar.add("richfaces-ui.jar");
- final IContainer earLibs = (IContainer)
ear.findMember("EarContent").getAdapter(IContainer.class);
+ final IContainer earLibs = (IContainer) ear.findMember(new
Path("EarContent").append("lib")).getAdapter(IContainer.class);
assertOnlyContainsTheseFiles(onlyInEar, earLibs);
Show replies by date