You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemind.apache.org by kn...@apache.org on 2004/09/13 14:44:35 UTC

cvs commit: jakarta-hivemind/framework/src/test/hivemind/test FrameworkTestCase.java

knut        2004/09/13 05:44:35

  Modified:    framework/src/test/hivemind/test FrameworkTestCase.java
  Log:
  didn't know about the handy fabricateLocation() method!
  
  Revision  Changes    Path
  1.13      +2 -4      jakarta-hivemind/framework/src/test/hivemind/test/FrameworkTestCase.java
  
  Index: FrameworkTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/framework/src/test/hivemind/test/FrameworkTestCase.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- FrameworkTestCase.java	12 Sep 2004 19:55:11 -0000	1.12
  +++ FrameworkTestCase.java	13 Sep 2004 12:44:35 -0000	1.13
  @@ -18,13 +18,11 @@
   import org.apache.hivemind.Resource;
   import org.apache.hivemind.impl.DefaultClassResolver;
   import org.apache.hivemind.impl.DefaultErrorHandler;
  -import org.apache.hivemind.impl.LocationImpl;
   import org.apache.hivemind.impl.RegistryAssemblyImpl;
   import org.apache.hivemind.parse.DependencyDescriptor;
   import org.apache.hivemind.parse.DescriptorParser;
   import org.apache.hivemind.parse.ModuleDescriptor;
   import org.apache.hivemind.test.HiveMindTestCase;
  -import org.apache.hivemind.util.FileResource;
   
   /**
    * Base class for framework tests.
  @@ -72,7 +70,7 @@
       
           result.setModuleId(moduleId);
           result.setVersion(version);
  -        result.setLocation(new LocationImpl(new FileResource(null)));
  +        result.setLocation(fabricateLocation(0));
   
           return result;
       }
  @@ -86,7 +84,7 @@
       
           result.setModuleId(moduleId);
           result.setVersion(version);
  -        result.setLocation(new LocationImpl(new FileResource(null)));
  +        result.setLocation(fabricateLocation(0));
       
           return result;
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org