avalon-dev 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 PackageRepositoryTestCase.java
Date Mon, 12 Nov 2001 13:04:49 GMT
donaldp     01/11/12 05:04:49

  Modified:    src/scratchpad/org/apache/avalon/excalibur/extension/test
                        PackageRepositoryTestCase.java
  Log:
  Moved get*Extensions to Extension class out of ExtensionUtil.
  
  Revision  Changes    Path
  1.4       +4 -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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PackageRepositoryTestCase.java	2001/09/12 15:36:05	1.3
  +++ PackageRepositoryTestCase.java	2001/11/12 13:04:49	1.4
  @@ -23,7 +23,7 @@
    * TestCases for PackageRepository.
    *
    * @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
  - * @version $Revision: 1.3 $ $Date: 2001/09/12 15:36:05 $
  + * @version $Revision: 1.4 $ $Date: 2001/11/12 13:04:49 $
    */
   public class PackageRepositoryTestCase
       extends TestCase
  @@ -41,7 +41,7 @@
           final PackageManager manager = new PackageManager( repositorys );
   
           final Manifest manifest2 = getManifest( "manifest-2.mf" );
  -        final Extension extension1 = ExtensionUtil.getRequiredExtensions( manifest2 )[
0 ];
  +        final Extension extension1 = Extension.getRequiredExtensions( manifest2 )[ 0 ];
   
           final ArrayList dependencies = new ArrayList();
           final ArrayList unsatisfied = new ArrayList();
  @@ -107,8 +107,8 @@
           final InputStream inputStream = getClass().getResourceAsStream( manifestLocation
);
           final Manifest manifest = new Manifest( inputStream );
           final File file = new File( manifestLocation );
  -        final Extension[] available = ExtensionUtil.getAvailableExtensions( manifest );
  -        final Extension[] required = ExtensionUtil.getRequiredExtensions( manifest );
  +        final Extension[] available = Extension.getAvailableExtensions( manifest );
  +        final Extension[] required = Extension.getRequiredExtensions( manifest );
   
           cacheOptionalPackage( new OptionalPackage( file, available, required ) );
       }
  
  
  

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


Mime
View raw message