[jboss-cvs] JBossAS SVN: r60427 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/web/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Feb 8 12:45:18 EST 2007
Author: scott.stark at jboss.org
Date: 2007-02-08 12:45:18 -0500 (Thu, 08 Feb 2007)
New Revision: 60427
Modified:
branches/Branch_4_2/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java
Log:
Update the start/end test logging
Modified: branches/Branch_4_2/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java 2007-02-08 17:42:39 UTC (rev 60426)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java 2007-02-08 17:45:18 UTC (rev 60427)
@@ -352,6 +352,7 @@
*/
public void testBadWarRedeploy() throws Exception
{
+ getLog().info("+++ Begin testBadWarRedeploy");
try
{
deploy("bad-web.war");
@@ -371,10 +372,12 @@
String baseURL = "http://" + getServerHost() + ":" + Integer.getInteger("web.port", 8080) + '/';
URL url = new URL(baseURL+"redeploy/index.html");
HttpUtils.accessURL(url, REALM, HttpURLConnection.HTTP_OK);
+ getLog().debug(baseURL+"redeploy/index.html OK");
}
finally
{
undeploy("good-web.war");
+ getLog().info("+++ End testBadWarRedeploy");
} // end of try-finally
}
@@ -401,6 +404,7 @@
public void testBadEarRedeploy() throws Exception
{
+ getLog().info("+++ Begin testBadEarRedeploy");
try
{
deploy("jbosstest-bad.ear");
@@ -420,10 +424,12 @@
String baseURL = "http://" + getServerHost() + ":" + Integer.getInteger("web.port", 8080) + '/';
URL url = new URL(baseURL+"redeploy/index.html");
HttpUtils.accessURL(url, REALM, HttpURLConnection.HTTP_OK);
+ getLog().debug(baseURL+"redeploy/index.html OK");
}
finally
{
undeploy("jbosstest-good.ear");
+ getLog().info("+++ End testBadEarRedeploy");
} // end of try-finally
}
More information about the jboss-cvs-commits
mailing list