[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo/collection ...

Ben Wang bwang at jboss.com
Wed Jan 10 01:56:51 EST 2007


  User: bwang   
  Date: 07/01/10 01:56:51

  Modified:    tests-50/functional/org/jboss/cache/pojo/collection 
                        CachedListTest.java
  Log:
  upd
  
  Revision  Changes    Path
  1.6       +13 -0     JBossCache/tests-50/functional/org/jboss/cache/pojo/collection/CachedListTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CachedListTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/collection/CachedListTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- CachedListTest.java	31 Oct 2006 11:07:16 -0000	1.5
  +++ CachedListTest.java	10 Jan 2007 06:56:51 -0000	1.6
  @@ -120,6 +120,19 @@
         assertFalse("List should not be the same ", list.equals(languages));
      }
   
  +   public void testSet() throws Throwable
  +   {
  +      stage();
  +
  +      List list = (List) cache_.find("/person/test6");
  +      assertTrue("List should be the same ", list.equals(languages));
  +      assertEquals("List size ", 3, list.size());
  +      list.set(0, "German");
  +      list.set(1, "test");
  +      list.set(2, "English");
  +      assertEquals("List size ", 3, list.size());
  +   }
  +
      public void testIterator() throws Throwable
      {
         languages = new ArrayList();
  
  
  



More information about the jboss-cvs-commits mailing list