You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by le...@apache.org on 2002/04/25 15:46:00 UTC

cvs commit: jakarta-avalon-excalibur/testcase/src/java/org/apache/avalon/excalibur/testcase ExcaliburTestCase.java

leif        02/04/25 06:46:00

  Modified:    testcase/src/java/org/apache/avalon/excalibur/testcase
                        ExcaliburTestCase.java
  Log:
  Apply patch by Ryan Shaw.
  
  Revision  Changes    Path
  1.3       +13 -7     jakarta-avalon-excalibur/testcase/src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java
  
  Index: ExcaliburTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/testcase/src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ExcaliburTestCase.java	14 Apr 2002 10:19:40 -0000	1.2
  +++ ExcaliburTestCase.java	25 Apr 2002 13:46:00 -0000	1.3
  @@ -211,7 +211,7 @@
    * </dl>
    *
    * @author <a href="mailto:giacomo@apache.org">Giacomo Pati</a>
  - * @version $Id: ExcaliburTestCase.java,v 1.2 2002/04/14 10:19:40 jefft Exp $
  + * @version $Id: ExcaliburTestCase.java,v 1.3 2002/04/25 13:46:00 leif Exp $
    */
   public class ExcaliburTestCase
       extends TestCase
  @@ -294,7 +294,9 @@
               prepare( resource.openStream() );
           }
           else
  +        {
               getLogger().debug( "Resource not found " + resourceName );
  +        }
       }
   
       /**
  @@ -325,9 +327,13 @@
   
           Context context = setupContext( conf.getChild( "context" ) );
   
  -        setupManagers( conf.getChild( "components" ), conf.getChild( "roles" ),
  -                       conf.getChild( "logkit" ), context );
  +        setupManagers( conf.getChild( "components" ),
  +                       conf.getChild( "roles" ),
  +                       conf.getChild( "logkit" ),
  +                       context );
           manager = m_manager;
  +        
  +        setCurrentLogger( "prepare" );
       }
   
       /**
  @@ -392,18 +398,18 @@
                   if( this.getLogger().isDebugEnabled() )
                   {
                       this.getLogger().debug( "" );
  -                    this.getLogger().debug( "================================================================================" );
  +                    this.getLogger().debug( "========================================" );
                       this.getLogger().debug( "  begin test: " + methodName );
  -                    this.getLogger().debug( "================================================================================" );
  +                    this.getLogger().debug( "========================================" );
                   }
   
                   super.run( result );
   
                   if( this.getLogger().isDebugEnabled() )
                   {
  -                    this.getLogger().debug( "================================================================================" );
  +                    this.getLogger().debug( "========================================" );
                       this.getLogger().debug( "  end test: " + methodName );
  -                    this.getLogger().debug( "================================================================================" );
  +                    this.getLogger().debug( "========================================" );
                       this.getLogger().debug( "" );
                   }
               }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>