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

Manik Surtani msurtani at jboss.com
Thu Oct 12 19:03:58 EDT 2006


  User: msurtani
  Date: 06/10/12 19:03:58

  Modified:    tests/functional/org/jboss/cache/interceptors 
                        EvictionInterceptorTest.java
  Log:
  a LOT of changes around Regions, in an attempt to unify eviction and marshalling regions
  
  Revision  Changes    Path
  1.12      +3 -3      JBossCache/tests/functional/org/jboss/cache/interceptors/EvictionInterceptorTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: EvictionInterceptorTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/interceptors/EvictionInterceptorTest.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- EvictionInterceptorTest.java	12 Oct 2006 03:37:49 -0000	1.11
  +++ EvictionInterceptorTest.java	12 Oct 2006 23:03:58 -0000	1.12
  @@ -181,7 +181,7 @@
      public void testVisitElement() throws Throwable
      {
         // make sure a get/visit on an empty node and empty element results in no cache events being added to event queue
  -      // aka Region.
  +      // aka MarshRegion.
         Fqn fqn = Fqn.fromString(fqn4);
         Object key = "key";
         MethodCall mc = MethodCallFactory.create(MethodDeclarations.getKeyValueMethodLocal, fqn, key, false);
  @@ -189,14 +189,14 @@
         Region region = regionManager.getRegion(fqn.toString());
         assertNull(region.takeLastEventNode());
   
  -      // add the node but try to get on a null element should result in no cache events being added to Region.
  +      // add the node but try to get on a null element should result in no cache events being added to MarshRegion.
         cache.put(fqn, "wrongkey", "");
         mc = MethodCallFactory.create(MethodDeclarations.getKeyValueMethodLocal, fqn, key, false);
         interceptor.invoke(mc);
         assertNull(region.takeLastEventNode());
   
         // now make sure if we try to get on the node/key we just created in cache, that this DOES add a EvictedEventNode to
  -      // the Region.
  +      // the MarshRegion.
         mc = MethodCallFactory.create(MethodDeclarations.getKeyValueMethodLocal, fqn, "wrongkey", false);
         interceptor.invoke(mc);
         EvictedEventNode event = region.takeLastEventNode();
  
  
  



More information about the jboss-cvs-commits mailing list