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

Ben Wang bwang at jboss.com
Thu Nov 16 03:22:09 EST 2006


  User: bwang   
  Date: 06/11/16 03:22:09

  Modified:    tests-50/functional/org/jboss/cache/pojo  LocalTest.java
  Log:
  upd
  
  Revision  Changes    Path
  1.11      +9 -0      JBossCache/tests-50/functional/org/jboss/cache/pojo/LocalTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: LocalTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/LocalTest.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- LocalTest.java	31 Oct 2006 11:07:17 -0000	1.10
  +++ LocalTest.java	16 Nov 2006 08:22:09 -0000	1.11
  @@ -85,6 +85,15 @@
         assertEquals((Object) "Joe Black", p.getName());
      }
   
  +   public void testSimpleType() throws Exception
  +   {
  +      log.info("testSimpleType() ....");
  +      String test = "This is a test";
  +      cache_.attach("test", test);
  +
  +      assertEquals("String ", test, cache_.find("test"));
  +   }
  +
      public void testModification() throws Exception
      {
         Person joe = createPerson("/person/test2", "Joe", 32);
  
  
  



More information about the jboss-cvs-commits mailing list