Author: rob.stryker(a)jboss.com
Date: 2011-06-16 06:31:31 -0400 (Thu, 16 Jun 2011)
New Revision: 32135
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockJSTPublisherTestDynUtil.java
Log:
/JBIDE-9153 test patch
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockJSTPublisherTestDynUtil.java
===================================================================
---
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockJSTPublisherTestDynUtil.java 2011-06-16
10:20:44 UTC (rev 32134)
+++
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockJSTPublisherTestDynUtil.java 2011-06-16
10:31:31 UTC (rev 32135)
@@ -28,6 +28,7 @@
import org.jboss.ide.eclipse.as.test.util.wtp.ProjectCreationUtil;
public class MockJSTPublisherTestDynUtil extends MockJSTPublisherTest {
+ final String MODULE_NAME = "newModule5";
protected IProject createProject() throws Exception {
IDataModel dm = ProjectCreationUtil.getWebDataModel(MODULE_NAME, null, null,
CONTENT_DIR, null, JavaEEFacetConstants.WEB_25, false);
OperationTestCase.runAndVerify(dm);
@@ -81,26 +82,22 @@
protected void theTest(boolean isAs7) throws CoreException, IOException {
- /*
- * temporarily disabled. Test run fine in eclipse but fail in tycho.
- *
IModule mod = ServerUtil.getModule(project);
server = ServerRuntimeUtils.addModule(server, mod);
ServerRuntimeUtils.publish(server);
String[] nonAS7 = new String[]{
- "newModule.war", "newModule.war/META-INF",
"newModule.war/META-INF/MANIFEST.MF",
- "newModule.war/WEB-INF/classes", "newModule.war/WEB-INF/lib",
"newModule.war/WEB-INF/web.xml",
- "newModule.war/WEB-INF/lib/util.jar"
+ "newModule5.war", "newModule5.war/META-INF",
"newModule5.war/META-INF/MANIFEST.MF",
+ "newModule5.war/WEB-INF/classes", "newModule5.war/WEB-INF/lib",
"newModule5.war/WEB-INF/web.xml",
+ "newModule5.war/WEB-INF/lib/util.jar"
};
String[] as7 = new String[]{
- "newModule.war", "newModule.war/META-INF",
"newModule.war/META-INF/MANIFEST.MF",
- "newModule.war/WEB-INF/classes", "newModule.war/WEB-INF/lib",
"newModule.war/WEB-INF/web.xml",
- "newModule.war/WEB-INF/lib/util.jar", "newModule.war.dodeploy"
+ "newModule5.war", "newModule5.war/META-INF",
"newModule5.war/META-INF/MANIFEST.MF",
+ "newModule5.war/WEB-INF/classes", "newModule5.war/WEB-INF/lib",
"newModule5.war/WEB-INF/web.xml",
+ "newModule5.war/WEB-INF/lib/util.jar", "newModule5.war.dodeploy"
};
assertChanged( isAs7, nonAS7, as7 );
MockPublishMethod.reset();
- */
}
}
Show replies by date