avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/extension/test ExtensionTestCase.java PackageRepositoryTestCase.java
Date Sat, 17 Nov 2001 05:17:45 GMT
donaldp     01/11/16 21:17:45

  Modified:    src/scratchpad/org/apache/avalon/excalibur/extension/test
                        ExtensionTestCase.java
                        PackageRepositoryTestCase.java
  Removed:     src/scratchpad/org/apache/avalon/excalibur/extension
                        ExtensionUtil.java
  Log:
  Remove ExtensionUtil as it was no longer relevent.
  
  Revision  Changes    Path
  1.4       +1 -2      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/extension/test/ExtensionTestCase.java
  
  Index: ExtensionTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/extension/test/ExtensionTestCase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ExtensionTestCase.java	2001/11/12 13:03:11	1.3
  +++ ExtensionTestCase.java	2001/11/17 05:17:45	1.4
  @@ -12,13 +12,12 @@
   import java.util.ArrayList;
   import junit.framework.TestCase;
   import org.apache.avalon.excalibur.extension.Extension;
  -import org.apache.avalon.excalibur.extension.ExtensionUtil;
   
   /**
    * TestCases for Extension. 
    *
    * @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
  - * @version $Revision: 1.3 $ $Date: 2001/11/12 13:03:11 $
  + * @version $Revision: 1.4 $ $Date: 2001/11/17 05:17:45 $
    */
   public class ExtensionTestCase 
       extends TestCase
  
  
  
  1.6       +2 -4      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/extension/test/PackageRepositoryTestCase.java
  
  Index: PackageRepositoryTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/extension/test/PackageRepositoryTestCase.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PackageRepositoryTestCase.java	2001/11/17 01:02:31	1.5
  +++ PackageRepositoryTestCase.java	2001/11/17 05:17:45	1.6
  @@ -15,7 +15,6 @@
   import junit.framework.TestCase;
   import org.apache.avalon.excalibur.extension.DefaultPackageRepository;
   import org.apache.avalon.excalibur.extension.Extension;
  -import org.apache.avalon.excalibur.extension.ExtensionUtil;
   import org.apache.avalon.excalibur.extension.OptionalPackage;
   import org.apache.avalon.excalibur.extension.PackageManager;
   import org.apache.avalon.excalibur.extension.PackageRepository;
  @@ -24,7 +23,7 @@
    * TestCases for PackageRepository.
    *
    * @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
  - * @version $Revision: 1.5 $ $Date: 2001/11/17 01:02:31 $
  + * @version $Revision: 1.6 $ $Date: 2001/11/17 05:17:45 $
    */
   public class PackageRepositoryTestCase
       extends TestCase
  @@ -88,8 +87,7 @@
       private void doRepositoryTest( final PackageRepository repository )
           throws Exception
       {
  -        final PackageRepository[] repositorys = new PackageRepository[] { repository };
  -        final PackageManager manager = new PackageManager( repositorys );
  +        final PackageManager manager = new PackageManager( repository );
   
           final Manifest manifest2 = getManifest( "manifest-2.mf" );
           final Extension extension1 = Extension.getRequiredExtensions( manifest2 )[ 0 ];
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message