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

Manik Surtani manik at jboss.org
Thu Mar 8 07:49:05 EST 2007


  User: msurtani
  Date: 07/03/08 07:49:05

  Modified:    tests/functional/org/jboss/cache/notifications   Tag:
                        Branch_JBossCache_1_4_0
                        TreeCacheListenerOptimisticTest.java
                        TreeCacheListenerTest.java
  Log:
  updated tests
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +0 -1      JBossCache/tests/functional/org/jboss/cache/notifications/Attic/TreeCacheListenerOptimisticTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TreeCacheListenerOptimisticTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/notifications/Attic/TreeCacheListenerOptimisticTest.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -b -r1.1.2.1 -r1.1.2.2
  --- TreeCacheListenerOptimisticTest.java	8 Aug 2006 12:21:23 -0000	1.1.2.1
  +++ TreeCacheListenerOptimisticTest.java	8 Mar 2007 12:49:05 -0000	1.1.2.2
  @@ -8,7 +8,6 @@
   
   public class TreeCacheListenerOptimisticTest extends TreeCacheListenerTest
   {
  -
       public TreeCacheListenerOptimisticTest(String s)
       {
           super(s);
  
  
  
  1.1.2.2   +8 -8      JBossCache/tests/functional/org/jboss/cache/notifications/Attic/TreeCacheListenerTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TreeCacheListenerTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/notifications/Attic/TreeCacheListenerTest.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -b -r1.1.2.1 -r1.1.2.2
  --- TreeCacheListenerTest.java	8 Aug 2006 12:21:23 -0000	1.1.2.1
  +++ TreeCacheListenerTest.java	8 Mar 2007 12:49:05 -0000	1.1.2.2
  @@ -25,7 +25,7 @@
   
   /**
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
  - * @version $Id: TreeCacheListenerTest.java,v 1.1.2.1 2006/08/08 12:21:23 msurtani Exp $
  + * @version $Id: TreeCacheListenerTest.java,v 1.1.2.2 2007/03/08 12:49:05 msurtani Exp $
    */
   public class TreeCacheListenerTest extends TestCase
   {
  @@ -88,9 +88,9 @@
          if (optLocking)
          {
              // all creations are fired as mods since these reflect as modified nodes in the workspace.  Opt locking only.
  -           expectedChanges.add("modify about to modify local /");
  -           expectedChanges.add("modified /");
  -           expectedChanges.add("modify Modified local /");
  +
  +           // Fqn.ROOT will be visited since children are created under it
  +           expectedChanges.add("visited /");
              expectedChanges.add("modify about to modify local /hello");
              expectedChanges.add("modified /hello");
              expectedChanges.add("modify Modified local /hello");
  @@ -167,15 +167,15 @@
         }
         public void nodeVisited(Fqn fqn)
         {
  -         throw new UnsupportedOperationException();
  +         events.add("visited " + fqn);
         }
         public void cacheStarted(TreeCache treeCache)
         {
  -         throw new UnsupportedOperationException();
  +         //throw new UnsupportedOperationException();
         }
         public void cacheStopped(TreeCache treeCache)
         {
  -         throw new UnsupportedOperationException();
  +         //throw new UnsupportedOperationException();
         }
         public void viewChange(View view)
         {
  
  
  



More information about the jboss-cvs-commits mailing list