avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craft...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/fortress/src/test/org/apache/excalibur/fortress/test ContainerProfile.java
Date Wed, 05 Jun 2002 16:45:54 GMT
crafterm    2002/06/05 09:45:54

  Modified:    fortress build.xml default.properties
               fortress/src/test/org/apache/excalibur/fortress/test
                        ContainerProfile.java
  Log:
  Fixed ContainerProfile test case. Required concurrent.jar in test classpath,
  and some source resolving modifications.
  
  Revision  Changes    Path
  1.21      +4 -0      jakarta-avalon-excalibur/fortress/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/build.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- build.xml	4 Jun 2002 16:55:02 -0000	1.20
  +++ build.xml	5 Jun 2002 16:45:54 -0000	1.21
  @@ -39,6 +39,7 @@
           <pathelement location="${excalibur-monitor.jar}"/>
           <pathelement location="${excalibur-xmlbundle.jar}"/>
           <pathelement location="${excalibur-scratchpad.jar}"/>
  +        <pathelement location="${excalibur-concurrent.jar}"/>
           <path refid="project.class.path"/>
       </path>
       <property name="cp" refid="test.class.path"/>
  @@ -218,6 +219,9 @@
               <batchtest todir="${build.tests}">
                   <fileset dir="${build.testclasses}">
                       <include name="**/test/*TestCase.class"/>
  +		    <!-- comment this in for the Container profiling test
  +                    <include name="**/test/ContainerProfile.class"/>
  +		    -->
                       <exclude name="**/Abstract*"/>
                   </fileset>
               </batchtest>
  
  
  
  1.15      +5 -0      jakarta-avalon-excalibur/fortress/default.properties
  
  Index: default.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/default.properties,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- default.properties	22 May 2002 15:38:06 -0000	1.14
  +++ default.properties	5 Jun 2002 16:45:54 -0000	1.15
  @@ -110,6 +110,11 @@
   excalibur-xmlbundle.lib=${excalibur-xmlbundle.home}
   excalibur-xmlbundle.jar=${excalibur-xmlbundle.lib}/excalibur-xmlbundle-1.0.jar
   
  +# ----- Excalibur Concurrent, version 1.0 or later -----
  +excalibur-concurrent.home=${basedir}/../concurrent/dist
  +excalibur-concurrent.lib=${excalibur-concurrent.home}
  +excalibur-concurrent.jar=${excalibur-concurrent.lib}/excalibur-concurrent-1.0.jar
  +
   tools.dir=${basedir}/../../jakarta-avalon/tools
   xml-apis.jar = ${tools.dir}/lib/xml-apis.jar
   
  
  
  
  1.18      +4 -4      jakarta-avalon-excalibur/fortress/src/test/org/apache/excalibur/fortress/test/ContainerProfile.java
  
  Index: ContainerProfile.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/src/test/org/apache/excalibur/fortress/test/ContainerProfile.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ContainerProfile.java	13 May 2002 12:17:39 -0000	1.17
  +++ ContainerProfile.java	5 Jun 2002 16:45:54 -0000	1.18
  @@ -33,7 +33,7 @@
    * Used as a basis for the PoolComparisonProfile Tests
    *
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version $Id: ContainerProfile.java,v 1.17 2002/05/13 12:17:39 donaldp Exp $
  + * @version $Id: ContainerProfile.java,v 1.18 2002/06/05 16:45:54 crafterm Exp $
    */
   public final class ContainerProfile
       extends TestCase
  @@ -99,9 +99,9 @@
           contextBuilder.setContainerClass( "org.apache.excalibur.fortress.test.TestContainer"
);
           contextBuilder.setContextDirectory( "./" );
           contextBuilder.setWorkDirectory( "./" );
  -        contextBuilder.setContainerConfiguration( "resource://org.apache.excalibur.fortress/test/ContainerProfile.xconf"
);
  -        contextBuilder.setLoggerManagerConfiguration( "resource://org.apache.excalibur.fortress/test/ContainerProfile.xlog"
);
  -        contextBuilder.setRoleManagerConfiguration( "resource://org.apache.excalibur.fortress/test/ContainerProfile.roles"
);
  +        contextBuilder.setContainerConfiguration( "resource://org/apache/excalibur/fortress/test/ContainerProfile.xconf"
);
  +        contextBuilder.setLoggerManagerConfiguration( "resource://org/apache/excalibur/fortress/test/ContainerProfile.xlog"
);
  +        contextBuilder.setRoleManagerConfiguration( "resource://org/apache/excalibur/fortress/test/ContainerProfile.roles"
);
   
           ContextManager contextManager = new ContextManager( contextBuilder.getContext(),
null );
           contextManager.initialize();
  
  
  

--
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