Author: adietish
Date: 2011-05-30 04:02:34 -0400 (Mon, 30 May 2011)
New Revision: 31619
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/AbstractDeploymentTest.java
Log:
[JBIDE-8920] replace ServerWorkingCopy by IServerWorkingCopy
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/AbstractDeploymentTest.java
===================================================================
---
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/AbstractDeploymentTest.java 2011-05-30
05:38:34 UTC (rev 31618)
+++
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/AbstractDeploymentTest.java 2011-05-30
08:02:34 UTC (rev 31619)
@@ -25,7 +25,6 @@
import org.eclipse.wst.server.core.IServerType;
import org.eclipse.wst.server.core.IServerWorkingCopy;
import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.server.core.internal.ServerWorkingCopy;
import org.jboss.ide.eclipse.as.core.server.internal.DeployableServer;
import org.jboss.ide.eclipse.as.core.util.FileUtil;
import org.jboss.ide.eclipse.as.test.ASTest;
@@ -163,7 +162,7 @@
IRuntimeWorkingCopy wc = rt.createRuntime("testRuntime", null);
runtime = wc.save(true, null);
IServerType st =
ServerCore.findServerType("org.jboss.ide.eclipse.as.systemCopyServer");
- ServerWorkingCopy swc = (ServerWorkingCopy) st.createServer("testServer",
null, null);
+ IServerWorkingCopy swc = st.createServer("testServer", null, null);
swc.setServerConfiguration(null);
swc.setName("testServer");
swc.setRuntime(runtime);
Show replies by date