Author: vpakan(a)redhat.com
Date: 2010-03-29 07:27:42 -0400 (Mon, 29 Mar 2010)
New Revision: 21107
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/AddRemoveJSFCapabilitiesTest.java
Log:
Remove project from server after test is finished
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/AddRemoveJSFCapabilitiesTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/AddRemoveJSFCapabilitiesTest.java 2010-03-29
11:26:33 UTC (rev 21106)
+++
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/AddRemoveJSFCapabilitiesTest.java 2010-03-29
11:27:42 UTC (rev 21107)
@@ -94,11 +94,11 @@
swtJbtExt.runProjectOnServer(JBT_TEST_PROJECT_NAME);
// Check Browser Content
String browserText = WidgetFinderHelper.browserInEditorText(bot, "Input User
Name Page",true);
- assertTrue("Displayed HTML page has wrong content",
- browserText.indexOf("<TITLE>Input User Name Page</TITLE>")
> - 1);
// Stop Application Server and remove Application Server from Server View
SWTJBTExt.stopApplicationServer(bot, 0);
SWTJBTExt.deleteApplicationServer(bot, 0);
+ assertTrue("Displayed HTML page has wrong content",
+ (browserText!= null) && (browserText.indexOf("<TITLE>Input
User Name Page</TITLE>") > - 1));
setException(null);
}
else{
Show replies by date