[seam-commits] Seam SVN: r10791 - in branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen: utils and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue May 5 11:24:54 EDT 2009
Author: manaRH
Date: 2009-05-05 11:24:54 -0400 (Tue, 05 May 2009)
New Revision: 10791
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/NewProjectTest.java
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/utils/SeamGenAdapter.java
Log:
JBPAPP-1899 customized ftest for seam-gen
Modified: branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/NewProjectTest.java
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/NewProjectTest.java 2009-05-05 15:23:16 UTC (rev 10790)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/NewProjectTest.java 2009-05-05 15:24:54 UTC (rev 10791)
@@ -64,7 +64,7 @@
assertTrue(browser.isElementPresent(HOME), "Home link expected.");
}
- @Test(groups = { "newProjectGroup" })
+ /* @Test(groups = { "newProjectGroup" })
public void invalidLoginTest()
{
String username = "badUser";
@@ -74,5 +74,5 @@
// verify login
assertTrue(browser.isElementPresent(LOGIN), "User should not be logged in.");
assertTrue(browser.getText(MESSAGES).contains(LOGIN_FAILED_MESSAGE), LOGIN_FAILED_MESSAGE + " expected.");
- }
+ }*/
}
Modified: branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/utils/SeamGenAdapter.java
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/utils/SeamGenAdapter.java 2009-05-05 15:23:16 UTC (rev 10790)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/utils/SeamGenAdapter.java 2009-05-05 15:24:54 UTC (rev 10791)
@@ -145,7 +145,12 @@
public void restart()
{
- getAntCall().executeTarget("restart");
+ if (explode)
+ {
+ getAntCall().executeTarget("restart");
+ } else {
+ getAntCall().executeTarget("deploy");
+ }
}
public void addIdentityManagement()
More information about the seam-commits
mailing list