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

Manik Surtani msurtani at jboss.com
Thu Jan 25 09:47:44 EST 2007


  User: msurtani
  Date: 07/01/25 09:47:44

  Modified:    tests/functional/org/jboss/cache/api  CacheAPITest.java
  Log:
  fixed ut
  
  Revision  Changes    Path
  1.12      +3 -2      JBossCache/tests/functional/org/jboss/cache/api/CacheAPITest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheAPITest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/api/CacheAPITest.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- CacheAPITest.java	25 Jan 2007 14:12:07 -0000	1.11
  +++ CacheAPITest.java	25 Jan 2007 14:47:44 -0000	1.12
  @@ -328,8 +328,9 @@
         assertSame(myRegion, cache.getRegion(Fqn.fromString("/myregion"), false));
   
         Region otherRegion = cache.getRegion(Fqn.fromString("/other/region"), false);
  -      // should return null since createIfAbsent is null and none of the parents have defined regions
  -      assertNull(otherRegion);
  +      // should return the default region
  +      assertNotNull(otherRegion);
  +      assertEquals(Fqn.ROOT, otherRegion.getFqn());
      }
   
   }
  
  
  



More information about the jboss-cvs-commits mailing list