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

Manik Surtani manik at jboss.org
Tue Jun 26 13:35:18 EDT 2007


  User: msurtani
  Date: 07/06/26 13:35:18

  Modified:    tests/functional/org/jboss/cache/marshall 
                        RedeploymentEmulationTest.java
  Log:
  JDK6 workaround
  
  Revision  Changes    Path
  1.10      +3 -1      JBossCache/tests/functional/org/jboss/cache/marshall/RedeploymentEmulationTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RedeploymentEmulationTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/marshall/RedeploymentEmulationTest.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- RedeploymentEmulationTest.java	15 Jun 2007 13:08:22 -0000	1.9
  +++ RedeploymentEmulationTest.java	26 Jun 2007 17:35:18 -0000	1.10
  @@ -71,7 +71,9 @@
         }
         catch (ClassCastException cce)
         {
  -         assertTrue(cce.getMessage().equals(INSTANCE_CLASS_NAME));
  +         System.out.println("Expecting: " + INSTANCE_CLASS_NAME);
  +         System.out.println("Got: " + cce.getMessage());
  +         assertTrue(cce.getMessage().startsWith(INSTANCE_CLASS_NAME));
         }
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list