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

Manik Surtani msurtani at jboss.com
Wed Jan 10 16:11:25 EST 2007


  User: msurtani
  Date: 07/01/10 16:11:25

  Modified:    tests/functional/org/jboss/cache/marshall  Tag:
                        Branch_JBossCache_1_4_0
                        RedeploymentEmulationTest.java
  Log:
  JDK 1.4 compat test
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.3   +4 -4      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.1.2.2
  retrieving revision 1.1.2.3
  diff -u -b -r1.1.2.2 -r1.1.2.3
  --- RedeploymentEmulationTest.java	5 Jan 2007 16:45:40 -0000	1.1.2.2
  +++ RedeploymentEmulationTest.java	10 Jan 2007 21:11:25 -0000	1.1.2.3
  @@ -11,10 +11,10 @@
   import org.jboss.cache.TreeCacheMBean;
   import org.jgroups.Global;
   
  -import java.net.URLClassLoader;
  -import java.net.URL;
  -import java.net.MalformedURLException;
   import java.io.File;
  +import java.net.MalformedURLException;
  +import java.net.URL;
  +import java.net.URLClassLoader;
   
   /**
    * Unit test demonstrating usability of marshalling for application redeployment in application server.
  @@ -64,7 +64,7 @@
         }
         catch(ClassCastException cce)
         {
  -         assertTrue(cce.getMessage().equals(INSTANCE_CLASS_NAME));
  +         if (cce.getMessage() != null) assertTrue(cce.getMessage().equals(INSTANCE_CLASS_NAME));
         }
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list