niclas      2004/02/02 20:53:03

  Modified:    
merlin/logging/logkit/test/src/test/org/apache/avalon/logging/logkit/test
                        DefaultLoggingManagerTestCase.java
  Log:
  Changing the Testcase Exception output, so one doesn't think that something went 
wrong in the Logging testcases.
  
  Revision  Changes    Path
  1.5       +5 -5      
avalon/merlin/logging/logkit/test/src/test/org/apache/avalon/logging/logkit/test/DefaultLoggingManagerTestCase.java
  
  Index: DefaultLoggingManagerTestCase.java
  ===================================================================
  RCS file: 
/home/cvs/avalon/merlin/logging/logkit/test/src/test/org/apache/avalon/logging/logkit/test/DefaultLoggingManagerTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DefaultLoggingManagerTestCase.java        27 Jan 2004 19:27:23 -0000      1.4
  +++ DefaultLoggingManagerTestCase.java        3 Feb 2004 04:53:03 -0000       1.5
  @@ -86,11 +86,11 @@
           logger.error( 
             "this is an error message from the kernel", 
             new LoggingException( 
  -            "woops", 
  +            "Intentional Exception for TestCase.", 
               new LoggingException( 
  -              "my fault", 
  -              new LoggingException( "bad attitude" ) ) ) );
  -        logger.fatalError( "this is a fatal message from the kernel" );
  +              "This is not a problem.", 
  +              new LoggingException( "It is used to test the Logging framework." ) ) 
) );
  +        logger.fatalError( "If the TestCase does not fail, everything is OK." );
       }
   
       public void testKernelTestLogging() throws Exception
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to