[jbosscache-commits] JBoss Cache SVN: r7706 - core/branches/flat/src/test/java/org/horizon/test.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Tue Feb 17 11:29:29 EST 2009


Author: manik.surtani at jboss.com
Date: 2009-02-17 11:29:29 -0500 (Tue, 17 Feb 2009)
New Revision: 7706

Modified:
   core/branches/flat/src/test/java/org/horizon/test/MultipleCacheManagersTest.java
Log:
Better test fwk

Modified: core/branches/flat/src/test/java/org/horizon/test/MultipleCacheManagersTest.java
===================================================================
--- core/branches/flat/src/test/java/org/horizon/test/MultipleCacheManagersTest.java	2009-02-17 16:27:53 UTC (rev 7705)
+++ core/branches/flat/src/test/java/org/horizon/test/MultipleCacheManagersTest.java	2009-02-17 16:29:29 UTC (rev 7706)
@@ -24,9 +24,18 @@
  * </pre>
  * If, however, you would like your cache managers destroyed after every <i>test method</i> instead of the </i>test
  * class</i>, you could set the <tt>cleanup</tt> field to {@link org.horizon.test.MultipleCacheManagersTest.CleanupPhase#AFTER_METHOD}
- * in your test's constructor.  E.g.: <code> public void MyTest extends MultipleCacheManagersTest { public MyTest() {
- * cleanup =  CleanupPhase.AFTER_METHOD; } } </code> Note that this will cuse {@link #createCacheManagers()}  to be
- * called befpre each method.
+ * in your test's constructor.  E.g.:
+ * <pre>
+ * <p/>
+ * public void MyTest extends MultipleCacheManagersTest {
+ *    public MyTest() {
+ *       cleanup =  CleanupPhase.AFTER_METHOD;
+ *    }
+ * }
+ * <p/>
+ * </pre>
+ * <p/>
+ * Note that this will cuse {@link #createCacheManagers()}  to be called befpre each method.
  *
  * @author Mircea.Markus at jboss.com
  */




More information about the jbosscache-commits mailing list