Author: ozizka(a)redhat.com
Date: 2009-02-23 15:24:29 -0500 (Mon, 23 Feb 2009)
New Revision: 167
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/EmbjoprTestCase.java
Log:
Proper test name in log
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/EmbjoprTestCase.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/EmbjoprTestCase.java 2009-02-23
17:40:09 UTC (rev 166)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/EmbjoprTestCase.java 2009-02-23
20:24:29 UTC (rev 167)
@@ -84,7 +84,7 @@
// Announce this test in the JBoss log.
log.info("==================================================================");
- log.info(" Setting up test "+this.getClass().getName());
+ log.info(" Setting up test "+this.getName());
log.info("==================================================================");
@@ -119,7 +119,7 @@
@Override
protected void tearDown() throws Exception {
// Denounce this test in the JBoss log.
- log.info("------ END OF TEST "+this.getClass().getName()+"
-------");
+ log.info("------ END OF TEST "+this.getName()+" -------");
}
Show replies by date