[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/notifications ...

Manik Surtani msurtani at jboss.com
Thu Jan 11 08:49:22 EST 2007


  User: msurtani
  Date: 07/01/11 08:49:22

  Modified:    tests/functional/org/jboss/cache/notifications  
                        CacheListenerTest.java RemoteCacheListenerTest.java
  Log:
  Changed CacheImpl ctor to be protected, and changed cache factories accordingly
  
  Revision  Changes    Path
  1.16      +2 -2      JBossCache/tests/functional/org/jboss/cache/notifications/CacheListenerTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheListenerTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/notifications/CacheListenerTest.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -b -r1.15 -r1.16
  --- CacheListenerTest.java	3 Jan 2007 17:50:30 -0000	1.15
  +++ CacheListenerTest.java	11 Jan 2007 13:49:22 -0000	1.16
  @@ -11,10 +11,10 @@
   import junit.framework.TestCase;
   import org.jboss.cache.AbstractCacheListener;
   import org.jboss.cache.Cache;
  +import org.jboss.cache.DefaultCacheFactory;
   import org.jboss.cache.Fqn;
   import org.jboss.cache.Node;
   import org.jboss.cache.config.Configuration;
  -import org.jboss.cache.factories.DefaultCacheFactory;
   import org.jboss.cache.lock.IsolationLevel;
   
   import javax.transaction.Transaction;
  @@ -203,7 +203,7 @@
         Node n1 = cache.getRoot().getChild(fqn);
         Node n2 = cache.getRoot().getChild(newParent);
   
  -      eventLog.events.clear(); // clear events
  +      eventLog.events.clear();// clear events
         assertEquals("CacheListenerEvent log should be empty", Collections.emptyList(), eventLog.events);
   
         cache.move(n1.getFqn(), n2.getFqn());
  
  
  
  1.13      +2 -2      JBossCache/tests/functional/org/jboss/cache/notifications/RemoteCacheListenerTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RemoteCacheListenerTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/notifications/RemoteCacheListenerTest.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -b -r1.12 -r1.13
  --- RemoteCacheListenerTest.java	10 Jan 2007 16:27:11 -0000	1.12
  +++ RemoteCacheListenerTest.java	11 Jan 2007 13:49:22 -0000	1.13
  @@ -25,10 +25,10 @@
   import junit.framework.TestCase;
   import org.jboss.cache.AbstractCacheListener;
   import org.jboss.cache.Cache;
  +import org.jboss.cache.DefaultCacheFactory;
   import org.jboss.cache.Fqn;
   import org.jboss.cache.Node;
   import org.jboss.cache.config.Configuration;
  -import org.jboss.cache.factories.DefaultCacheFactory;
   import org.jboss.cache.lock.IsolationLevel;
   
   import javax.transaction.TransactionManager;
  @@ -303,7 +303,7 @@
         Node n2 = cache1.getRoot().getChild(newParent);
   
         eventLog1.events.clear();
  -      eventLog2.events.clear(); // clear events
  +      eventLog2.events.clear();// clear events
         assertEquals("Event log should be empty", Collections.emptyList(), eventLog1.events);
         assertEquals("Event log should be empty", Collections.emptyList(), eventLog2.events);
   
  
  
  



More information about the jboss-cvs-commits mailing list