[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/marshall ...
Manik Surtani
manik at jboss.org
Fri Jun 15 09:08:22 EDT 2007
User: msurtani
Date: 07/06/15 09:08:22
Modified: tests/functional/org/jboss/cache/marshall
RedeploymentEmulationTest.java
Log:
Patched generic and vararg related issue with Fqn construction
Revision Changes Path
1.9 +5 -0 JBossCache/tests/functional/org/jboss/cache/marshall/RedeploymentEmulationTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: RedeploymentEmulationTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/marshall/RedeploymentEmulationTest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- RedeploymentEmulationTest.java 11 Jun 2007 13:10:15 -0000 1.8
+++ RedeploymentEmulationTest.java 15 Jun 2007 13:08:22 -0000 1.9
@@ -7,6 +7,8 @@
package org.jboss.cache.marshall;
import junit.framework.TestCase;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.jboss.cache.Cache;
import org.jboss.cache.DefaultCacheFactory;
import org.jboss.cache.Fqn;
@@ -35,6 +37,7 @@
private static final String LIB_DIR_NAME = "lib";
private static final String LIB_DIR = USER_DIR + FILE_SEPARATOR + LIB_DIR_NAME + FILE_SEPARATOR;
private static final String LIB_DIR_SP = System.getProperty("lib.dir");//"lib";
+ private static final Log log = LogFactory.getLog(RedeploymentEmulationTest.class);
protected void setUp() throws Exception
{
@@ -46,6 +49,7 @@
protected void tearDown()
{
+ log.info("**** IN TEAR DOWN ***");
cache.stop();
}
@@ -99,6 +103,7 @@
}
catch (ClassCastException cce)
{
+// cce.printStackTrace();
fail("Should not have produced a ClassCastException");
}
More information about the jboss-cvs-commits
mailing list