You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2013/11/04 20:49:10 UTC
[3/3] git commit: Add some further logging
Add some further logging
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/bec5a5c7
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/bec5a5c7
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/bec5a5c7
Branch: refs/heads/master
Commit: bec5a5c77e8d0d7a08047e954a76014edec38113
Parents: cc78fde
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Mon Nov 4 11:49:00 2013 -0800
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Mon Nov 4 11:49:00 2013 -0800
----------------------------------------------------------------------
.../main/java/org/apache/tapestry5/test/SeleniumTestCase.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/bec5a5c7/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
----------------------------------------------------------------------
diff --git a/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java b/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
index 6233879..426f02d 100644
--- a/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
+++ b/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
@@ -39,7 +39,7 @@ import java.lang.reflect.Method;
*/
public abstract class SeleniumTestCase extends Assert implements Selenium
{
- public final Logger LOGGER = LoggerFactory.getLogger(SeleniumTestCase.class);
+ public final static Logger LOGGER = LoggerFactory.getLogger(SeleniumTestCase.class);
/**
* 15 seconds
@@ -304,7 +304,7 @@ public abstract class SeleniumTestCase extends Assert implements Selenium
if (r != null)
{
- System.err.println("Shutting down integration tests ...");
+ LOGGER.info("Shutting down integration test support ...");
r.run();
}
}
@@ -398,6 +398,8 @@ public abstract class SeleniumTestCase extends Assert implements Selenium
@BeforeMethod
public void indicateTestMethodName(Method testMethod)
{
+ LOGGER.info("Executing " + testMethod);
+
testContext.setAttribute(TapestryTestConstants.CURRENT_TEST_METHOD_ATTRIBUTE, testMethod);
String className = testMethod.getDeclaringClass().getSimpleName();