[jboss-cvs] JBossCache/tests/functional/org/jboss/cache ...
Manik Surtani
manik at jboss.org
Thu Jun 28 14:15:48 EDT 2007
User: msurtani
Date: 07/06/28 14:15:48
Modified: tests/functional/org/jboss/cache CallbackTest.java
Log:
listener class needs to be public
Revision Changes Path
1.19 +3 -3 JBossCache/tests/functional/org/jboss/cache/CallbackTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CallbackTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/CallbackTest.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- CallbackTest.java 28 Jun 2007 16:53:39 -0000 1.18
+++ CallbackTest.java 28 Jun 2007 18:15:46 -0000 1.19
@@ -17,7 +17,7 @@
* Tests whether modifications within callbacks (TreeCacheListener) are handled correctly
*
* @author Bela Ban
- * @version $Id: CallbackTest.java,v 1.18 2007/06/28 16:53:39 msurtani Exp $
+ * @version $Id: CallbackTest.java,v 1.19 2007/06/28 18:15:46 msurtani Exp $
*/
public class CallbackTest extends TestCase
{
@@ -53,7 +53,7 @@
public void testLocalPutCallbackWithoutTransaction() throws Exception, NotSupportedException
{
cache = createCache(Configuration.CacheMode.LOCAL, IsolationLevel.SERIALIZABLE);
- cache.getNotifier().addCacheListener(new PutListener(cache));
+ cache.addCacheListener(new PutListener(cache));
cache.put(FQN_A, null);
assertTrue(cache.exists(FQN_A));
@@ -186,7 +186,7 @@
}
@CacheListener
- class PutListener
+ public class PutListener
{
CacheImpl c;
More information about the jboss-cvs-commits
mailing list